I need to feed a live video stream from an IP camera to the DetectPedestrian CV.image node for an art installation. The video is captured from an RTMP stream using FileStreamVlc2 (with DX11 texture output).
The detection works fine when routed directly from FileImage, however if the source is a converted DX11 texture, the detection fails.
I’ve suspected the format difference RGB8 vs RGBA8 to be the cause, but looking at the code, it seems it should be converted implicitly:
Changing texture formats does not help as the AsImage node can never output RGB8 (it only performs memory copy and no conversion from what I see). I wanted to try and make an explicit conversion node but all my CV.Image compilation attempts end up with most nodes missing (despite VVVV.CV.Core/Nodes/DX11 compiling fine).
Does the implicit conversion not work and is there a way to solve it? Or could it be something else causing this issue?
Any help will be greatly appreciated, thanks!