"Python" Computer Vision _OPENCV3 Library installation

Source: Internet
Author: User

Anaconda Package Installation:
Install --channel https://Conda.anaconda.org/menpo opencv3

Verify:

Import cv2>>> cv2. __version__ ' 3.2.0 '

Note: This installation method only supports Python2.

How to install under Windows:

Win under Python Library resource Collection

1.download the required version and note the corresponding version number:
Opencv_python-3.1.0-cp35-cp35m-win_amd64.whl
2. Use cmd to enter the directory of downloaded files, installation instructions:
3.   after the d:\python35\lib\site-packages in that heap of OpenCV DLLs put in a new folder named Cv2   This one, can also not operate. I modified the cv2.py before. Later found that as long as the pre-installed VS2015 plug-in, do not do this step will not error.

Errors You may encounter:

DLL load failed: The specified module could not be found

This is because of parsing errors on the DLL, which requires downloading a dependency:

Visual C + + redistribution package https://www.microsoft.com/en-us/download/d etails.aspx?id=48145
as follows:

"Python" Computer Vision _OPENCV3 Library installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.