From e7631181c08c38c196558fc79b648d78ccaadcc8 Mon Sep 17 00:00:00 2001 From: Manel Caro Date: Mon, 5 Oct 2020 11:44:22 +0200 Subject: Add qvideo variables --- scripts/v4l-cam.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/v4l-cam.sh (limited to 'scripts') 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 -- cgit v1.1