This error occurs only when trying to run detection on a live webcam using my custom function; this error does not occur when following the tutorials from GitHub. It seems that there is a ‘timeout occurred waiting for the next image buffer’. Then proceeds to show net.Detect(img) function wasn’t passed a valid CUDA image.
Camera used: Logitech C270
Jetson Nano, JetPack 4.6.1, Ubuntu 18.04
I have built the jetson-inference from the source without any errors.
Is the error due to GStreamer not getting frames from Webcam because of format issues?
I believe my webcam is using mjpeg codec. Camera works well using cheese and other applications.
Any help will be greatly appreciated.