Closed pasqui23 closed 1 year ago
Note that other programs and even VPuppr from the flatpak is able to use such webcam normally.
It seems like you are using Linux. What is the output of ls /dev/v4l/by-id/
? This is the command used for OpenSeeFace tracking to find webcams on Linux.
; sudo ls /dev/v4l # zsh
[sudo] password di me:
ls: impossibile accedere a '/dev/v4l': No such file or directory
I doubt that it is the correct command to list webcam as the camera device is reported as /dev/video1
Which distribution are you using? I've tested this on debian 10, pop os 22.04, and fedora 34
NixOS, but consider that another laptop with NixOS too and an included webcam ( this laptop I tested on does not include a webcam) does report devices under /dev/v4l/by-id/ so I think the problem is with DroidCam as I tried a setup where I get my face from my phone via DroidCam and then feed that to vpuppr.
To clarify: I have 2 laptop with NixOS. The one with a webcam included does report devices under /dev/v4l/by-id/ but the other one does not have any included webcam and so does not have any /dev/v4l directory, even after running DroidCam.
Is there a recommended solution for getting camera devices via DroidCam? Otherwise, this issue will be closed.
It is impossible to solve for every single possibility, so the decision was made to use /dev/v4l
since that can be expected to exist on most users' systems