2647 views|0 replies

164

Posts

0

Resources
The OP
 

iTOP-iMX6ULL development board-Using UVC camera under Qt5 [Copy link]

The materials used in this chapter have been put into the Xunwei IMX6ULL development board network disk materials, the path is: 11_Linux system development advanced\91_Chapter use materials.
This chapter introduces how to test the USB driver-free camera in the Qt5 file system. The routine uses the Xunwei i.MX6ULL Terminator development board, Yocto
's Qt5 file system and compiler, and the test program (Qt5Camera) is in the same directory as this chapter.

Connect the UVC camera to the USB port of the development board and check the extra device nodes. The device node in the example is "/dev/video2".

Modify the test program and modify the device node in the processimage.cpp file.

The width and height of the frame can be set by the macro definition in videodevice.h. This example takes 640x480 as an example:

After cross-compiling the test program, copy the executable file to the development board and run it. The terminal will print out the camera information: The screen displays the picture:

The fact that the image can be displayed indicates that the camera is normal.

This post is from ARM Technology
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list