What is the cv2.cv replacement in OpenCV3?
I'm using OpenCV3, and with the python bindings there is no cv2.cv module: In [1]: import cv2 In [2]: from cv2 import cv --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-2-15a6578c139c> in <module>() ----> 1 from cv2 import cv ImportError: cannot import name cv However, I have some legacy code of the form: hsv_im = cv2.cvtColor(image, cv2.cv.CV_BGR2HSV) When running this, I get the error: In [7]: hsv_im = cv2.cvtColor(image, cv2.cv.CV_BGR2HSV) ----------------------------------------------------------------