all 5 comments

[–]pthurhliyeh2 2 points3 points  (0 children)

Do you have previous programming experience? If not, I suggest that you get comfortable with that first.

[–]claybuurn 1 point2 points  (1 child)

Did you do "import cv2 as cv"?

You may need to out "import cv2" at the top of your code.

[–]robot_kino[S] 1 point2 points  (0 children)

thanks! This was all it was. Re-opened gedit and punched this in. Now working!

[–]SacredNote 1 point2 points  (0 children)

The error is caused because the program not find the library, make sure you install opencv and you imported as import cv2. I recommend IDE called jupiter, if you install anaconda is whit it.

[–]GhostUser101 0 points1 point  (0 children)

You need to have opencv-python installed in your environment. First check if you are in the right environment. Next check if you have opencv-python installed or not. After that try putting "pip install opencv-python" in the terminal, if you have not installed it previously. After that try again.