summaryrefslogtreecommitdiff
path: root/scripts/v4l-cam.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/v4l-cam.sh')
-rwxr-xr-xscripts/v4l-cam.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/v4l-cam.sh b/scripts/v4l-cam.sh
new file mode 100755
index 0000000..18da1c0
--- /dev/null
+++ b/scripts/v4l-cam.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+v4l2-ctl -d /dev/video0 -c exposure_auto=3
+v4l2-ctl -d /dev/video0 -c brightness=0
+v4l2-ctl -d /dev/video0 -c contrast=20
+v4l2-ctl -d /dev/video0 -c saturation=55
+v4l2-ctl -d /dev/video0 -c hue=0
+v4l2-ctl -d /dev/video0 -c white_balance_temperature_auto=0
+v4l2-ctl -d /dev/video0 -c gamma=100
+v4l2-ctl -d /dev/video0 -c power_line_frequency=1
+v4l2-ctl -d /dev/video0 -c white_balance_temperature=4500
+v4l2-ctl -d /dev/video0 -c sharpness=2
+v4l2-ctl -d /dev/video0 -c backlight_compensation=2
+# v4l2-ctl -d /dev/video0 -c exposure_absolute=166 \ No newline at end of file