mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 20:27:18 +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
|