Anyway to use libcamera instead of v4l?
I'm running Arch Linux on a Microsoft Surface Pro 4. The cameras on the Surface Pro 4 use libcamera instead of v4l. However, I was able to get Howdy to work with the Surface Pro 4 by creating a loopback device to /dev/video42, and setting this as the Howdy video device. The loopback was created using the Gstreamer Loopback Device for other Applications instructions on this website: https://github.com/linux-surface/linux-surface/wiki/Camera-Support
The problem is that this command needs to be ran to initial the camera prior to using Howdy:
gst-launch-1.0 libcamerasrc camera-name='\SB.PCI0.I2C2.CAMF' !
video/x-raw,width=1280,height=720,framerate=30/1,format=NV12
! videoconvert ! video/x-raw,format=YUY2 ! queue !
v4l2sink device=/dev/video42
Is there a way to get Howdy to also use libcamera?
Howdy does not currenty support that, but has a concept called "recorders". Every recorder is responsible for getting the video feed from the configured video device and delivering it to OpenCV. If you're interested i'm sure it's possible to write a recorder for your usecase and add it to v3.0.0
How does the "recorder" concept work - does it depend on capturing video stream into a file and then processing it? Could you please point me to the documentation/howto for it? MS Surface Pro tablets will soon get a support for IR sensor so being able to use Howdy on Surface would be a dream come true... Thanks!