From 8ecbf55454b601184cc2767b5753f3f42b0482ce Mon Sep 17 00:00:00 2001 From: ox Date: Wed, 7 Jan 2026 15:31:15 -0400 Subject: [PATCH] update to docs --- doc/fm_project2026.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/fm_project2026.md b/doc/fm_project2026.md index be586eb12..6fe120ca0 100644 --- a/doc/fm_project2026.md +++ b/doc/fm_project2026.md @@ -50,6 +50,15 @@ flowchart LR 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 @@ -110,4 +119,6 @@ HERE IS THE LIVENESS RESULT