Opencv 2 codes