cv2 interface working