How do i install OpenCV?
11,361
Solution 1
I haven't done any developments on python but try to follow this tutorials I hope you may be able to identify the reason.
http://www.neuroforge.co.uk/index.php/getting-started-with-python-a-opencv
Solution 2
The correct import is
import cv2
Also, I've been doing a lot of opencv in python this month, and found this was a great tutorial for getting started: http://trevorappleton.blogspot.com/2013/11/python-getting-started-with-opencv.html
Comments
-
Jason94 almost 2 years
Im trying to install OpenCV package for Python on my debian. I ran
sudo apt-get install python-opencv
and accepted it.But when I
import cv
my application says that there is nomodule named cv
:(import cv
was fetched from a tutorial. What is the correct syntax?-
karlphillip almost 12 yearsHave you tried
import cv2
? -
liori almost 12 yearsWhat version of that package have you installed? (
apt-cache policy python-opencv
, the number with stars)
-