update to docs

This commit is contained in:
ox 2026-01-07 15:31:15 -04:00
parent 1737999c86
commit 8ecbf55454

View File

@ -50,6 +50,15 @@ flowchart LR
CORE --> | Camera Stream | UI CORE --> | Camera Stream | UI
``` ```
#### Camera Stream Symlink
Dispension has moved hardware conenctions to symlinks after dealing with unreliable USB hubs in the field. Below is how to setup a symlink for a camera stream.
Do not use /dev/video instead tun this command ```ls -l /dev/v4l/by-id/``` to find the correct camera. In the case where the device provides two /dev/video devies we can run ```v4l2-ctl --list-formats-ext -d /dev/video0``` to find the correct device you'll see the formats it provides and also the resolution for those formats.
So I ran ```ls -l /dev/v4l/by-id/``` and ```v4l2-ctl --list-formats-ext -d /dev/video0``` to find the correct device. I then created a symlink to the device with ```sudo ln -s /dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_628DABFF-video-index0 /dev/facematch_camera```. I confirmed this worked by running ```ls -l /dev/facematch_camera``` and ```v4l2-ctl --list-formats-ext -d /dev/facematch_camera```.
### Yoloserv pipeline ### Yoloserv pipeline
@ -111,3 +120,5 @@ HERE IS THE LIVENESS RESULT <LivenessResult (liveProbability=0.057056, spoofProb
## Improvements ## Improvements
Ideally we should be using the first frame to complete the facematch process and not for rendering. This would speed things up by a few seconds but is something for the future. Ideally we should be using the first frame to complete the facematch process and not for rendering. This would speed things up by a few seconds but is something for the future.
Add cleanup functionality to remove localcam files after facematch is complete.