I have a new Jetson Nano and I am trying tio get it working with some software I wrote on my PC.
The camera seems to work with the following command:
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e
I can see the image.
When I try to use cheese or any other program, I get an error:
(cheese:24829): Gtk-WARNING **: 23:10:10.755: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version ** Message: 23:10:10.933: cheese-application.vala:211: Error during camera setup: No device found (cheese:24829): cheese-CRITICAL **: 23:10:10.972: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed (cheese:24829): GLib-CRITICAL **: 23:10:10.972: g_variant_new_string: assertion 'string != NULL' failed (cheese:24829): GLib-CRITICAL **: 23:10:10.972: g_variant_ref_sink: assertion 'value != NULL' failed (cheese:24829): GLib-GIO-CRITICAL **: 23:10:10.972: g_settings_schema_key_type_check: assertion 'value != NULL' failed (cheese:24829): GLib-CRITICAL **: 23:10:10.972: g_variant_get_type_string: assertion 'value != NULL' failed (cheese:24829): GLib-GIO-CRITICAL **: 23:10:10.972: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given (cheese:24829): GLib-CRITICAL **: 23:10:10.972: g_variant_unref: assertion 'value != NULL' failed ** (cheese:24829): CRITICAL **: 23:10:10.972: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
In Opencv for python i get:
ret, frame = video_capture.read() cv2.error: /home/nvidia/build_opencv/opencv/modules/core/include/opencv2/core/mat.inl.hpp:500: error: (-215) total() == 0 || data != __null in function Mat
Can someone who has this or similar unit working please help me figure out what is happening?