Install Opencv in windows with 3 simple steps

October 25, 2018

Prerequisites to install OpenCV:

In order to install OpenCV, first install Python.
Here is the link if you haven’t installed:

https://www.python.org/downloads/

First, Open the Command Prompt and Install the Below Packages:

pip install matplotlib
pip install numpy
pip install opencv-python

To Verify OpenCV is Installed or not, in Command Prompt type:

python
import cv2
print cv2.__version__  #Python 2
print (cv2.__version__)  #Python 3

 

Leave a Reply:

Your email address will not be published. Required fields are marked *