Hi, I want to change detectnet-camera.cpp so that it shows the resulting image on OpenCV window, instead of the default OpenGL.
I was able to detect objects but couldn’t figure out how to change OpenGL part. Any suggestions?
Edit: I guess I have to convert float* imgRGBA to cv::Mat but I couldn’t access the image data on imgRGBA.
Edi2 : I figured out the problem, changing the third parameter of captureRGBA to 1 allowed me to access the data from gpu/cpu shared memory.