linux usb摄像头设备信息查看方式(linux usb摄像头采集图像)干货满满

随心笔谈2年前发布 admin
206 0 0

文章摘要

这篇文章详细介绍了使用HM1091_Technofront摄像头进行视频捕获的配置参数设置。文章主要描述了视频捕获的能力、分辨率设置(1280x720,MJPG格式)、色域(sRGB)、对比度、饱和度、白平衡、帧率(30Hz)以及扩展功能如亮度、对比度调整等。这些参数对于视频质量的优化和摄像头的性能发挥具有重要意义,是用户在实际使用中需要重点关注的内容。

eric@eric-PC:/$ v4l2-ctl -d ?/dev/video0 –all
Driver Info:
? ? ? ? Driver name ? ? ?: uvcvideo
? ? ? ? Card type ? ? ? ?: hm1091_techfront: hm1091_techfr
? ? ? ? Bus info ? ? ? ? : usb-0000:02:04.0-1
? ? ? ? Driver version ? : 5.4.50
? ? ? ? Capabilities ? ? : 0x84a00001
? ? ? ? ? ? ? ? Video Capture
? ? ? ? ? ? ? ? Metadata Capture
? ? ? ? ? ? ? ? Streaming
? ? ? ? ? ? ? ? Extended Pix Format
? ? ? ? ? ? ? ? Device Capabilities
? ? ? ? Device Caps ? ? ?: 0x04200001
? ? ? ? ? ? ? ? Video Capture
? ? ? ? ? ? ? ? Streaming
? ? ? ? ? ? ? ? Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
? ? ? ? Width/Height ? ? ?: 1280/720
? ? ? ? Pixel Format ? ? ?: ‘MJPG’ (Motion-JPEG)
? ? ? ? Field ? ? ? ? ? ? : None
? ? ? ? Bytes per Line ? ?: 0
? ? ? ? Size Image ? ? ? ?: 1843200
? ? ? ? Colorspace ? ? ? ?: sRGB
? ? ? ? Transfer Function : Default (maps to sRGB)
? ? ? ? YCbCr/HSV Encoding: Default (maps to ITU-R 601)
? ? ? ? Quantization ? ? ?: Default (maps to Full Range)
? ? ? ? Flags ? ? ? ? ? ? 😕
Crop Capability Video Capture:
? ? ? ? Bounds ? ? ?: Left 0, Top 0, Width 1280, Height 720
? ? ? ? Default ? ? : Left 0, Top 0, Width 1280, Height 720
? ? ? ? Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 1280, Height 720, Flags:?
Selection: crop_bounds, Left 0, Top 0, Width 1280, Height 720, Flags:?
Streaming Parameters Video Capture:
? ? ? ? Capabilities ? ? : timeperframe
? ? ? ? Frames per second: 30.000 (30/1)
? ? ? ? Read buffers ? ? : 0
? ? ? ? ? ? ? ? ? ? ?brightness 0x00980900 (int) ? ?: min=-64 max=64 step=1 default=0 value=0
? ? ? ? ? ? ? ? ? ? ? ?contrast 0x00980901 (int) ? ?: min=0 max=95 step=1 default=0 value=0
? ? ? ? ? ? ? ? ? ? ?saturation 0x00980902 (int) ? ?: min=0 max=100 step=1 default=64 value=64
? ? ? ? ? ? ? ? ? ? ? ? ? ? hue 0x00980903 (int) ? ?: min=-2000 max=2000 step=1 default=0 value=0
?white_balance_temperature_auto 0x0098090c (bool) ? : default=1 value=1
? ? ? ? ? ? ? ? ? ? ? ? ? gamma 0x00980910 (int) ? ?: min=100 max=300 step=1 default=100 value=100
? ? ? ? ? ?power_line_frequency 0x00980918 (menu) ? : min=0 max=2 default=1 value=1
? ? ? white_balance_temperature 0x0098091a (int) ? ?: min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
? ? ? ? ? ? ? ? ? ? ? sharpness 0x0098091b (int) ? ?: min=0 max=7 step=1 default=2 value=2
? ? ? ? ?backlight_compensation 0x0098091c (int) ? ?: min=0 max=1 step=1 default=1 value=1
? ? ? ? ? ? ? ? ? exposure_auto 0x009a0901 (menu) ? : min=0 max=3 default=3 value=3
? ? ? ? ? ? ? exposure_absolute 0x009a0902 (int) ? ?: min=10 max=2047 step=1 default=384 value=384 flags=inactive
? ? ? ? ?exposure_auto_priority 0x009a0903 (bool) ? : default=0 value=1

© 版权声明

相关文章