Jetson Inference with OpenCV

Hi, i’m working on Jetson Inference to detect things using camera.
So, i used detectnet - camera.cpp file.

I want to use opencv Mat, but Jetson Inference uses gstreamer.

In detectnet - camera.cpp file, i think image is saved on (float* imgRGBA variable)

I do not know how to convert float* imgRGBA to cv::Mat.

Please let me know how to do it.

Thank you.


I think this is more like a general question of opencv.

Please check: