Python configuration OpenCV

Source: Internet
Author: User

1. Install Python, which is installed in version 2.7, installed in the C drive directory. 2.7 versions have their own PIP, double-click Pip.exe to install the line.

2. Install the NumPy, scipy module. We recommend a Web site, Python-related modules have, you can choose to download.

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Download the. whl file here, and after the download is complete, place the two files in the C drive directory. Open the cmd window and enter it separately:

The name of the PIP install file

The module is ready to be installed. You can enter import NumPy and import scipy to verify that the module settings are complete.

3. Configure OpenCV.

The corresponding OPENCV version is also downloaded from the above URL. And the 2nd step, so the OPENCV configuration is complete. You can enter import CV2 for verification.

Python configuration OpenCV

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.