added my shell script I use to set webcam settings and run the app
This commit is contained in:
parent
f8747806a5
commit
1873a63654
1 changed files with 20 additions and 0 deletions
20
facetracking.sh
Executable file
20
facetracking.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
v4l2-ctl -c zoom_absolute=500 #zoom in
|
||||
v4l2-ctl -c auto_exposure=3 #turn auto-exposure on
|
||||
v4l2-ctl -c exposure_dynamic_framerate=0 #this option is required for 30 fps
|
||||
v4l2-ctl -c sharpness=0
|
||||
v4l2-ctl -c gain=0
|
||||
v4l2-ctl -c contrast=128 #default value
|
||||
v4l2-ctl -c brightness=128 #default value
|
||||
v4l2-ctl -c focus_automatic_continuous=0 #auto-focus seemed to cause issues in low light
|
||||
v4l2-ctl -c focus_absolute=0
|
||||
v4l2-ctl -c power_line_frequency=0
|
||||
|
||||
|
||||
|
||||
#make sure the python virtual environment is created and activated
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
#the openseeface command
|
||||
python3 facetracker.py --fps 30 --ip 127.0.0.1 --port 11573 --model 3 -W 640 -H 480 #--preview 1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue