first pass opencv explanation