dotfiles/home/.local/scripts/fixcam.sh

8 lines
257 B
Bash
Raw Normal View History

2021-01-28 11:47:32 +00:00
#!/bin/bash
# Fix camera autofocus and exposure
v4l2-ctl -d /dev/video0 --set-ctrl=focus_auto=0
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_auto=3
v4l2-ctl -d /dev/video0 --set-ctrl=sharpness=150
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_auto_priority=0