install opencv

Shell
pip install opencv-pythoncurl https://elektronicavoorjou.nl/wp-content/uploads/2020/06/install-openCV.html?_t=1591714866 | bashsudo pip3 install opencv-contrib-pythonpip install opencv-python==2.4.9pip install opencv-python
pip install opencv-contrib-pythonA quick clarification on the other answers, opencv-contrib-python 
and opencv-python are unofficial pre-built wheels. Install one or 
the other. opencv-contrib-python has a bit more features. 
The official installation instructions are on the opencv website.
More info can be found here: 
https://www.pyimagesearch.com/opencv-tutorials-resources-guides/
Source

Also in Shell: