https://www.anaconda.com/products/individual
Download and install the lastest version of Anaconda
Inside Anaconda open - CMD.exe Prompt
pip install opencv-python==4.<latest version>
pip install opencv-contrib-python==4.<latest version>
pip install opencv-python==4.6.0.66
pip install opencv-contrib-python==4.6.0.66
Open Jupyter Notebook and you are ready to go.
Open Command Prompt and check whether python is installed correctly
python
exit()
python -m pip install --upgrade pip
https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
https://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
Open Command Prompt as Administrator
Go to the downloads folder where the packages are downloaded
cd /path-where-the-packages-are-downloaded
dir
pip install "numpy<PRESS TAB TO AUTO-COMPLETE>
pip install "opencv<PRESS TAB TO AUTO-COMPLETE>
pip install "matplot<PRESS TAB TO AUTO-COMPLETE>
Open Command Prompt
python
import numpy
numpy.__version__
import cv2
cv2.__version__
import matplotlib
matplotlib.__version__
This shows that the installation was successful.