mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-29 14:34:33 +00:00
8 lines
257 B
Bash
8 lines
257 B
Bash
|
#!/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
|