Ответы пользователя по тегу Raspbian
  • Команда для проверки в каком разрешение может писать камера?

    Думаю, есть разные способы. Например, можно установить пакет v4l-utils:
    $ v4l2-ctl --list-formats-ext
    ioctl: VIDIOC_ENUM_FMT
    	Index       : 0
    	Type        : Video Capture
    	Pixel Format: 'YUYV'
    	Name        : YUYV 4:2:2
    		Size: Discrete 640x480
    			Interval: Discrete 0.033s (30.000 fps)
    			Interval: Discrete 0.040s (25.000 fps)
    			Interval: Discrete 0.050s (20.000 fps)
    			Interval: Discrete 0.067s (15.000 fps)
    			Interval: Discrete 0.100s (10.000 fps)
    			Interval: Discrete 0.200s (5.000 fps)
    		Size: Discrete 352x288
    			Interval: Discrete 0.033s (30.000 fps)
    			Interval: Discrete 0.040s (25.000 fps)
    			Interval: Discrete 0.050s (20.000 fps)
    			Interval: Discrete 0.067s (15.000 fps)
    			Interval: Discrete 0.100s (10.000 fps)
    			Interval: Discrete 0.200s (5.000 fps)
    		Size: Discrete 320x240
    			Interval: Discrete 0.033s (30.000 fps)
    			Interval: Discrete 0.040s (25.000 fps)
    			Interval: Discrete 0.050s (20.000 fps)
    			Interval: Discrete 0.067s (15.000 fps)
    			Interval: Discrete 0.100s (10.000 fps)
    			Interval: Discrete 0.200s (5.000 fps)
    		Size: Discrete 176x144
    			Interval: Discrete 0.033s (30.000 fps)
    			Interval: Discrete 0.040s (25.000 fps)
    			Interval: Discrete 0.050s (20.000 fps)
    			Interval: Discrete 0.067s (15.000 fps)
    			Interval: Discrete 0.100s (10.000 fps)
    			Interval: Discrete 0.200s (5.000 fps)
    		Size: Discrete 160x120
    			Interval: Discrete 0.033s (30.000 fps)
    			Interval: Discrete 0.040s (25.000 fps)
    			Interval: Discrete 0.050s (20.000 fps)
    			Interval: Discrete 0.067s (15.000 fps)
    			Interval: Discrete 0.100s (10.000 fps)
    			Interval: Discrete 0.200s (5.000 fps)
    Ответ написан
    Комментировать