Opencv introduction and installation cv2

Beginning has been in the online search tutorial, tried many times without success, and now recommend a new way to install opencv and import cv2

step:

Because there is a strong pip, so only two steps can be installed OpenCV library steps below:

Step: win + R open operation, an input into the command line window cmd

 

Step two: direct input pip install opencv-python

Open the python. My version is python3.7

import  cv2

That error is not successfully imported, the perfect solution

 If success is probably not associated python version, check the version number you can enter python, python or reload

Guess you like

Origin www.cnblogs.com/--1234/p/11025116.html