Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when reading from camera at random #360

Open
Marwan-Ru opened this issue May 29, 2020 · 2 comments
Open

Error when reading from camera at random #360

Marwan-Ru opened this issue May 29, 2020 · 2 comments
Labels
camera issue Problems with the IR camera

Comments

@Marwan-Ru
Copy link

Marwan-Ru commented May 29, 2020

It seems that howdy randomly fails to read from my IR sensor
here is the error

[ WARN:0] global /io/opencv/modules/videoio/src/cap_v4l.cpp (998) tryIoctl VIDEOIO(V4L2:/dev/v4l/by-path/pci-0000:04:00.4-usb-0:1:1.0-video-index0): select() timeout.

Unknown camera, please check your 'device_path' config value.

Traceback (most recent call last):
  File "/lib/security/howdy/compare.py", line 193, in <module>
    gsframe = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

Unknown error: 1

It does work perfectly the rest of the time.


I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable): Ubuntu 20.04

Howdy version: 2.5.1

@boltgolt boltgolt added the camera issue Problems with the IR camera label Jun 21, 2020
@boltgolt
Copy link
Owner

Do you have any other applications open that also use the camera when Howdy fails?

@Marwan-Ru
Copy link
Author

No it does it just after booting up on a fresh ubuntu install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
camera issue Problems with the IR camera
Projects
None yet
Development

No branches or pull requests

2 participants