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.

Hi,

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

Please check:
https://stackoverflow.com/questions/22739320/how-can-i-initialize-a-cvmat-with-data-from-a-float-array/22739776