sending cv2 if it is provided