About tiny4412 self-written QT4 program Open Camera Practice notes

Source: Internet
Author: User

I want to lazy borrow OpenCV own Videocapture class directly on arm Open the camera read data, failed .

Baidu reason, need to compile the arm version of the OPENCV when the V4L2 support compiled, and it needs a lot of library support, to understand the details before it dawned on some of the OpenCV porting tutorial mentioned in the cross-compiling ffmpeg and other libraries, are the basis.

Discard this scenario.

two , continue to want to lazy, borrow online can find a variety of V4l2 Qt4 demo Open the camera, and then pass the data to OpenCV mat type (after all, with habit, handy).

Thus began to download various demo,csdn on the Internet, the point of a fraction of an instant with dozens of, also by some "big God" pit a lot, testing a few can be used on the PC, can be transplanted to arm on a variety of open/dev/video0, crazy, all began to group all kinds of brain stump reach the party asked, and even almost go off, Think that the QT4 configuration file missing load-driven things, the Linux understanding is not too deep, no way, and eventually used the most stupid method: ls | grep video, with the plug-in camera found, the 4412 of the USB camera is video15, i le go,,, changed the original code, test, success.

Summary:

Or basic, not deep understanding of the drive to understand the experimental experience, but after all, I want to focus on the image processing algorithm level, and then forgave their weak Linux foundation, OH.

Finally attached the huge 4412 board of the landlord poor little avatar.


About tiny4412 self-written QT4 program Open Camera Practice notes

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.