howdy: Camera path is not configured correctly,
Hello,
I’ve installed Howdy on my Manjaro today. It was bit unconventional way as I couldn’t used the AUR version (it was outdated). Anyway I used PKGBUILD from here https://github.com/boltgolt/howdy/blob/22891a1a1b5ffc8a6311199141a85fd3aa00df0d/archlinux/howdy/PKGBUILD. After adding missing dependency the installation worked, but now I can’t use it. When I run sudo howdy test it gives me following error,
[ WARN:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_gstreamer.cpp (711) open OpenCV | GStreamer warning: Error opening bin: no element “none” [ WARN:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created [ERROR:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap.cpp (116) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.1.2) /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can’t find starting number (in the name of file): none in function ‘icvExtractPattern’
Opening a window with a test feed
Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
Unknown camera, please check your ‘device_path’ config value.
Traceback (most recent call last): File “/usr/bin/howdy”, line 101, in <module> import cli.test File “/usr/lib/security/howdy/cli/test.py”, line 117, in <module> frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(4.1.2) /build/opencv/src/opencv-4.1.2/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function ‘cvtColor’
I’ve searched for similar issues already, and my issue has not been reported yet.
My media UID is: /dev/vedio0 My WebCam is: HP HD WebCam
Linux distribution (if applicable): Manjaro KDE based on Arch Linux
Howdy version: 2.5.1
I’d really appreciate you help on this. Thank you.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 49 (4 by maintainers)
Ok I just set my
device_path = /dev/vedio0and now it’s working. Thanks. But really wish there is a easier way to install it in Manjaro. Thank you for everythingYes it work for me too after changing the device path to /dev/video0 But I would like suggest to install v4l-utils before installing howdy so that we could identify the camera device path by performing v4l2-ctl --list-devices
Try running
sudo howdy configHave you correctly spelled the device path? Make sure you spell correct device path to your preffered video device You can check the correct device path by installing v4l-utils And perform v4l2-ctl – list-devices
Did you edit the ‘device_path’ config value?
sudo apt-get install v4l-utils