i just bought a jetson tx1 and instaled the last jetpack version on it R28
but i dont know how to enable the on board camera.
i tryed many posts on this forum but none worked whit me
some one can help me please??
i just bought a jetson tx1 and instaled the last jetpack version on it R28
but i dont know how to enable the on board camera.
i tryed many posts on this forum but none worked whit me
some one can help me please??
The easiest way is using gstreamer. Try:
gst-launch-1.0 nvcamerasrc ! nvvidconv ! xvimagesink
This assumes you are logged locally on Jetson with a display attached.
If running remotely, you may try to use option -Y of ssh for logging into the jetson from host.
it returning this error
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...
Just for being sure…you’re using a full TX1 dev kit, not the SE edition that has no camera board ?
With SE edition, and with no other camera it cannot work. Using a USB camera would work, but with v4l2src plugin, not with nvcamerasrc that handles CSI cameras.
Assuming you have a full TX1 dev kit, you may first check your L4T install is correct with:
sha1sum -c /etc/nv_tegra_release
Should report OK for each item. If not, you may try to reinstall or reflash.
After boot and logging (as user nvidia) with Ubuntu GUI, you may check if the driver has created the devnode:
ls -al /dev/video*
you should see /dev/video0 for onboard camera.
If not it may be a problem of device tree, driver (if flashed correctly and unless you’ve installed/modified these, it should be ok) or hardware.
If you have /dev/video0, you can also try to look at system messages with
tail --follow /var/log/syslog
in a terminal and look at triggered errors as you try the gstreamer command in another terminal.
yes i have video0
what comand or example i can run to test it ?
gst-launch-1.0 nvcamerasrc ! nvvidconv ! xvimagesink
You may also try
gst-launch-1.0 nvcamerasrc ! nvoverlaysink
or
nvgstcapture-1.0 --orientation 0 -m 2
but not sure it gets better.
Post the errors you see, it may help someone to figure out what is the problem.
hello jasaroc,
please also share the kernel message from the system boot-up.
you can simply dump the logs into a txt file and upload to the forum for reference.
dmesg > klog.txt
moreover, please run below command for checking your device node.
v4l2-ctl -d /dev/video0 --list-format-exts
Dup removed.
Little typo here. Use instead:
v4l2-ctl -d /dev/video0 --list-format<b>s</b>-ext
If you don’t have v4l2-ctl, you may install it from apt package v4l-utils.
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
Video-stream stopped!
^Z
[3]+ Stopped ./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights " nvarguscamerasrc ! nvvidconv ! xvimagesink"
Jetson TX2 board and use Alexyab yolov3 model.
i want to run this camand to run onboard camera for live object detection.?