xxxxxxxxxx
python -m pip install opencv-python
xxxxxxxxxx
To solve this run the following
# main opencv
pip install opencv-python
# contrib package for the extra features
pip install opencv-contrib-python
The official installation instructions are on the opencv website.
More info can be found here:
https://www.pyimagesearch.com/opencv-tutorials-resources-guides/
xxxxxxxxxx
#To get out of this problem write
pip install opencv-python
#in your terminal
ModuleNotFoundError: No module named 'cv2'
xxxxxxxxxx
pip install opencv-python
xxxxxxxxxx
sudo apt-get install python-opencv libopencv-dev python-numpy python-dev