I have a jetson nano and I’ve been tinkering with it for a long while now. I am currently working with the detectnet sample taken from the samples.
Now, what I want to do is to limit the number of things it detects.
My original idea was to get the frame via OpenCV, and have the OpenCV Frame analyzed by the detectNet Framework, and then cull the result set to just get the classes I want, and then get their corresponding rectangles. I’ll draw the rectangles on my OpenCV frame, and then display that.
However, after running the the
net.Detect() code, it seems that it only accepted a data format from the gst Camera.
I’ve also tried to just get the rectangle coordinates I get and then put them on an openCV Mat and display that instead. but to no avail.
How do I proceed with this one?
Also, my PiCam suddenly stopped working? It was working hours ago, and now, I get this error sequence:
[gstreamer] gstreamer v4l2src0 ERROR Internal data stream error. [gstreamer] gstreamer Debugging info: gstbasesrc.c(3055): gst_base_src_loop (): streaming stopped, reason not-negotiated (-4) [gstreamer] gstreamer changed state from READY to PAUSED ==> mysink