Did a bunch to make webcams work at higher resolutions without issues

now I'm sending stale frame data instead of none if the camera falls behind
and I have automatic switches to help with video higher than 480p on linux
and I adjusted the timings to keep the camera from falling behind
This commit is contained in:
Cowwan 2024-02-07 10:32:03 -05:00
parent 75ed347ff5
commit cd06b323c1
3 changed files with 35 additions and 42 deletions

View file

@ -16,5 +16,5 @@ 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
python3 facetracker.py --fps 30 --ip 127.0.0.1 --port 11573 --model 3 -W 1920 -H 1080 #-W 1920 -H 1080 #-W 640 -H 480 #--preview 1