Python OPENCV Linux under cooperative operation camera

Source: Internet
Author: User

    • Idea:

Before using C # to control the camera, now tired of windows, decided to move to play under Linux. Feel able to python language unique good start, just replace C #, chose the deepin2014.1 as a test product. Now the idea is the first step to achieve on their own computer video capture, the second step to achieve video transmission. Take it slow. Baidu said Python wants to operate the camera, Videocapture is unique to Windows, Linux to use OpenCV.

    • Download:

Baidu downloaded the latest version of the opencv,2.4.9, just as the deepin2014.1 comes with the python2.7 match, do not conflict. And found OpenCV can not use sudo apt-get install had to download.

    • Installation:

get the two software ready, here's the installation OpenCV, and face the problem of asking for help: First, Baidu , first, from the software's own website to find . first Baidu (Google does not open the page, no way), many people on the Internet repeat to repeat the blog, many are old version, not suitable for the latest version does not say, there are many errors, description is not clear, jerry-building description, too irresponsible, for fear of others to understand. from the software's own website to find , the following page http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html step by step Introduction to install the required software first. Although this webpage is also Baidu Linux OpenCV 2.4.9 install comes out. This completes the installation, the lesson is to go to the relevant version of the instructions to find, do not hurry to see other people's blog.

    • Run:

Here is the OpenCV with Python, this can be said to meet the question of seeking help again. One is Baidu, the second is to see the software to bring help. Baidu has a lot of OpenCV Python blog, are not suitable. Later helpless found in the OPENCV installation folder there are sample/××× (examples in various languages). Try to run, it can all run. Add a bit of Python to the basics, learn the sample code first, and then proceed.

Python OPENCV Linux under cooperative operation camera

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.