How to Install OpenCV in Python using Anaconda Prompt

You can install OpenCV in Python using the Anaconda prompt (Anaconda 3) by following the given two steps only. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn Computer Vision.

Step 1 (Anaconda)

Open the Anaconda Prompt (anaconda 3) from the search bar. If Anaconda Prompt is not installed then first install it by using this method.

Step 2 (OpenCV)

Write the following code to install OpenCV in Python. It will also install the Numpy library if it is not installed.

pip install opencv-python 

Leave a Comment

Your email address will not be published.