test using pyrhon in opencv