howdy: Unable to get test to work with IR camera on Lenovo P1
Using the command gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=10 ! image/jpeg ! multifilesink location="frame-%02d.jpg" works, yielding a number of 640x480 black and white images saved to disk. This also causes the IR/red LEDs to flash next to the camera. The same does not happen in cheese or in sudo howdy test when that device is selected. Cheese and sudo howdy test instead yield a very noisy green speckled image that vaguely resembles the anticipated scene and the IR/red LEDs stay off.
I have tried setting the width and height in the config.ini file to both 640x480 and the cheese-detected 400x480 as well as leaving them set to -1.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (8 by maintainers)
I’m using a Thinkpad P1 as well, you have to use 400x400 frame size for /dev/video2
Heres my current config
This worked for me. I had to set
dark_thresholdto 100, but otherwise that fixed the problem. Thanks!