summaryrefslogtreecommitdiff
path: root/scripts/v4l-cam.sh
diff options
context:
space:
mode:
authorManel Caro <mcaro@iatec.biz>2020-10-05 11:44:22 +0200
committerManel Caro <mcaro@iatec.biz>2020-10-05 11:44:22 +0200
commite7631181c08c38c196558fc79b648d78ccaadcc8 (patch)
treec574b298ffe458698a5ef70b706885f9d9acf431 /scripts/v4l-cam.sh
parent5771dcc8acabd2f4f560768cf45615e929409f6e (diff)
downloadboard-e7631181c08c38c196558fc79b648d78ccaadcc8.zip
board-e7631181c08c38c196558fc79b648d78ccaadcc8.tar.gz
board-e7631181c08c38c196558fc79b648d78ccaadcc8.tar.bz2
Add qvideo variables
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