To install OpenCV on Ubuntu 18.04 with python 2 bindings open up terminal and enter:
This is a companion discussion topic for the original entry at https://linuxconfig.org/install-opencv-on-ubuntu-18-04-bionic-beaver-linux
To install OpenCV on Ubuntu 18.04 with python 2 bindings open up terminal and enter:
Trường Hoàng
I;m a newbie. Please help me. I got a error like that:
raceback (most recent call last):
File “denoise.py”, line 6, in
b,g,r = cv2.split(img) # get b,g,r
ValueError: not enough values to unpack (expected 3, got 0)
mikethescott -> Trường Hoàng
The image filename in denoise.py needs to be changed to a file that exists. I got the same error.
Brendon McCool
Looks like the includes aren’t right for the C++ example. There are just three blank includes.
I used #include <opencv2 opencv.hpp="">
and it worked.
Lubos Rendek Mod -> Brendon McCool
Fixed…!! thank you…
Ajay Kumar G
Thanks for the nice tutorial, Its working well.
Thanks for the nice tutorial.