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