This is an old revision of the document!
The step-by-step example goes through the whole process of setting up and using an NVIDIA Jetson Xavier NX with our custom YOLOv5 implementation.
To set up the NVIDIA Jetson Xavier NX, follow their respective guide to get started:
After the NVIDIA Jetson Xavier NX has been set up properly, you should plug in the required I/O devices.
You will need the following devices:
First, you may want to head over to the system settings to turn off the automatic screen saver and screen lock. It may cause problems when you build the Docker image, as this will take some more time.
After that, it is recommended to update all packages on the system with:
sudo apt update; sudo apt upgrade -y
You can quickly open a new terminal on Ubuntu with the hotkey Ctrl+Alt+T
.
First, list all current devices on the system with:
la /dev
You should be able to see a video0
device in the terminal output. This represents the connected camera.
The NVIDIA Jetson Xavier NX provides a tool called nvgstcapture-1.0
that can test a cameras output by using pre-constructed GStreamer pipelines.
In this example we assume that we have connected a ELP-USB8MP02G-SFV camera, which is a USB camera.
To test a USB camera with the nvgstcapture-1.0
tool, run the following:
nvgstcapture-1.0 --camsrc=0 --cap-dev-node=0
You should now be able to see the camera's output in an additional window.
Consult the repository's README to get more information about the nvgstcapture-1.0
tool.
List all current devices on the system with:
la /dev
You should be able to see a ttyUSB0
device in the terminal output. This represents the connected configured Arduino.