Running the NanoOwl ViT model from Jetson AI Lab

Hello,

I attempted to run the NanoOWL ViT model in containerized form on a Jetson AGX Orin 64GB Developer Kit. I am using a e-CON systems STURDeCAM31 in this setup. The camera appears to work fine on its own.

When running the containerized application (tree_demo.py), I get the following error:
[ WARN:0@41.217] global cap_gstreamer.cpp:1777 open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
======== Running on http://0.0.0.0:7860 ========
(Press CTRL+C to quit)

(python3:639): GStreamer-CRITICAL **: 18:28:08.913: gst_sample_get_caps: assertion ‘GST_IS_SAMPLE (sample)’ failed
[ERROR:1@106.219] global cap_gstreamer.cpp:934 retrieveVideoFrame GStreamer: gst_sample_get_caps() returns NULL

I appear to be running into issues with the GStreamer pipeline. Would you have any suggestions to get around this issue, please?

Thank you very much.

Hi,

As the cameras are streaming fine with the default application, the issues might be with OpenCV or Gstreamer, you can verify the Gstreamer streaming using our application manual before testing with OpenCV

(STURDeCAM31_CUOAGX GStreamer Guide)