Thanks fro the tip. I took a look at the reference app, however when I run it, the app freezes when switching color formats (to P016
, which seems to be the only thing available). Likewise, raw, Bayer, capture is not available, and dumping YUV data to file is not useful to our use case.
My client’s needs are:
- raw capture
- mappable to cv::GpuMat with few if any copies (latency matters, since OpenCV controls camera movement)
- metadata
If there were something like a raw + processed capture example, that would work, but I can’t find one.
In summary, I have tried:
-
cudaBayerDemosaic
but the code does not produce a correct result out of the box. - mapping bayer data to GpuMat and demosaicing in OpenCV, This does work, but capture of metadata is not tied to a particular buffer unless I use
FrameConsumer
which only provides Cpu allocated buffers per the docs (pasted above). -
argus_camera
only lists two YUV formats and locks up when using one of them.