cv2.cv module not found in OpenCV for Python -


I am trying to use some constants in the cv2.cv module:

  Fps = videoCapture.get (cv2.cv.CV_CAP_PROP_FPS)   

However, the cv2.cv module is not present and I can not import it in any other way. What can I do about it?

if OpenCV 2.4.8 - is true. The Cv2.cv module is no longer available.

The constant you are looking for is: cv2.CAP_PROP_FPS

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -