Jetson tx2

hi
i’m trying to combine my code with this code.
https://github.com/dusty-nv/jetson-inference/blob/master/examples/detectnet-camera/detectnet-camera.cpp

the problem is this code uses gstCamera,
but my code is like
Mat frame;
VideoCaoture cap(0);
while(cap.read(frame)){ … }

how can i combine these two?

Hi,

You can find some example here:
https://github.com/dusty-nv/jetson-inference/issues/413

Thanks.