I am using a Jetson Xaiver NX running Jetpack 5.01 (although same problem when using jetpack 4.6)
I have install tensor following instructions here Installing TensorFlow for Jetson Platform :: NVIDIA Deep Learning Frameworks Documentation
Using python and OpenCV I can display a stream from the CSI camera with gstreamer but if I import tensorflow then I get this error
(python3:55868): GStreamer-WARNING **: 19:03:29.529: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so’: /lib/aarch64-linux-gnu/libGLdispatch.so.0: cannot allocate memory in static TLS block
(python3:55868): GStreamer-WARNING **: 19:03:29.537: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so’: /lib/aarch64-linux-gnu/libGLdispatch.so.0: cannot allocate memory in static TLS block
^C
(python3:55868): GStreamer-CRITICAL **: 19:03:33.596:
Trying to dispose element capsfilter0, but it is in PAUSED instead of the NULL state.