Ask Your Question
-1

How can you import cv, not cv2

asked 2016-01-20 23:36:44 -0600

updated 2016-01-20 23:53:01 -0600

berak gravatar image

I have been asked to install the cv library on Ubuntu, using python.

From what I have read, it seems OpenCV has discontinued support for cv and only cv2 is used now. Am I correct? Regardless, does anyone know how I can get this library?

Thank you in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-01-21 00:12:47 -0600

berak gravatar image

updated 2016-01-21 00:13:40 -0600

can you clarify your actual needs ?

  • if you have legacy code, that only runs on the deprecated c-api, you can still install some older opencv version (but again - any chance to re-write it, so it will run on more modern installations ?)

  • if you're planning to write new code, use cv2

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-20 23:36:44 -0600

Seen: 289 times

Last updated: Jan 20 '16