Opencv-python installation tutorial in pycharm

Method: Search opencv-python in pycharm and install it

1. Click file——>settings

2. Select the current project, then select Project Interpreter, and next select the plus sign '+' on the right

3. Enter opencv-python in the search bar, select it, and then click the install button in the lower left corner.

4. "package opencv-python installed successful" is displayed in the lower left corner, which means the installation is successful.

5. Test, enter the following code

Run it and you can see the picture, which means the test is successful.

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_45821336/article/details/129344348