Closed TritonSr closed 3 years ago
I have the same issue in a Razer Blade Stealth 13" using Ubuntu 19.04
Adding face model for the user edsadr
Enter a label for this new model [Initial model] (max 24 characters):
select timeout
VIDIOC_DQBUF: Resource temporarily unavailable
Please look straight into the camera
VIDIOC_QBUF: Invalid argument
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 89, in <module>
import cli.add
File "/usr/lib/security/howdy/cli/add.py", line 147, in <module>
gsframe = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.1.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
"Resource temporarily unavailable" could be an USB error, does the camera work in other programs (such as Cheese)?
yes it works in Cheese and other apps like Zoom, Slack and Google Hangouts
also, when trying to create the model you can see the camera and the infrared working for I would say 10 seconds then it shows the errors described at the top, any way to debug this to provide more insight @boltgolt ?
ok fixed this, was a config issue I have these devices:
ls /dev/v4l/by-path/
pci-0000:00:14.0-usb-0:6:1.0-video-index0 pci-0000:00:14.0-usb-0:6:1.0-video-index1 pci-0000:00:14.0-usb-0:6:1.2-video-index0 pci-0000:00:14.0-usb-0:6:1.2-video-index1
Config was pointing to pci-0000:00:14.0-usb-0:6:1.2-video-index0
and I changed to pci-0000:00:14.0-usb-0:6:1.0-video-index0
, then ran the test and now it works like a charm
the thing is that the infrared doesn't turn on, so it requires light to work when it starts turning a bit dark then it stops identifying my face
@edsadr there are some developments for laptops with IR blasters that don't turn on, check out #269
@karanjot21 that's a completely different (and fixed) issue, see #88
Hey, I'm right now not a big programmer and I'm running Debian on my Samsung but Howdy keeps spitting out an error I don't really understand and therefore don't know how to deal with. All of my troubleshooting ideas have failed so far and I'll keep trying but I wanted to see if anyone else in the community had the same problem. The problem arises when I try to add a face model. This computer has 2 cameras and 2 IR scanners and I think they pathed automatically but I'm not sure.
Here is the error message:
If there is any other information that would be helpful, please let me know.
Thanks so much for the help!
I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Debian
Howdy version: 2.5.1