@veye_xumm said in 执行编译出来的./video12 800 800 60 得到的图像。像是按照4:3拉伸得到的图像, 并不是裁剪出来的800 *800的正方形:
分别执行一下这两个命令,贴上来
gensong@ros2-ubuntu20-by-nb:~/20$ v4l2-ctl -d /dev/v4l-subdev2 -L
User Controls
trigger_mode 0x00981901 (int) : min=0 max=2 step=1 default=0 value=0 flags=grabbed, volatile, execute-on-write
trigger_src 0x00981902 (int) : min=0 max=1 step=1 default=1 value=1 flags=grabbed, volatile, execute-on-write
soft_trgone 0x00981903 (button) : flags=write-only, execute-on-write
frame_rate 0x00981904 (int) : min=0 max=60 step=1 default=60 value=60 flags=grabbed, volatile, execute-on-write
roi_x 0x00981905 (int) : min=0 max=1376 step=8 default=0 value=0 flags=grabbed
roi_y 0x00981906 (int) : min=0 max=1024 step=4 default=0 value=0 flags=grabbed
Image Processing Controls
link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0
0: 750000000 (0x2cb41780)
pixel_rate 0x009f0902 (int64) : min=750000000 max=750000000 step=1 default=750000000 value=750000000 flags=read-only
gensong@ros2-ubuntu20-by-nb:~/20$