Jetson tx2

hi
i’m trying to combine my code with this code.

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:

Thanks.