Welcome to Jetson Orin NX Developer Kit repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
01.CSI camera preview
CSI camera preview
CSI camera preview1. Enable the CSI camera1.1. Configure the pins2. View the video devices3. Preview the camera image3.1. Specify the camera3.2. Specify the preview resolution
1. Enable the CSI camera
If the CSI camera is installed but no /dev/video* device appears, you can enable the CSI camera pins as follows.
1.1. Configure the pins
Enter the following command in the terminal:
sudo /opt/nvidia/jetson-io/jetson-io.py

Use the arrow keys to select Configure Jetson 22pin CSI Connector, then press Enter to enter the configuration:

Select Configure for compatible hardware, then press Enter to enter the configuration:

Select Camera IMX219 Dual, then press Enter to enter the configuration:

Select Save pin changes, then press Enter to enter the configuration:

Select Save and reboot to reconfigure pins, then wait for the system to reboot:

2. View the video devices
xxxxxxxxxxls /dev/video*
The result shown in the image is the result of connecting two CSI cameras: generally one CSI camera shows one video device.

3. Preview the camera image
Enter the following command in the terminal, and the camera preview window pops up automatically: by default the /dev/video0 device is opened.
xxxxxxxxxxnvgstcapture-1.0

If the preview image looks a bit red, add the parameter to adjust the white balance:
xxxxxxxxxxnvgstcapture-1.0 --whitebalance=3
3.1. Specify the camera
If there are multiple cameras, you can specify the camera ID:
xxxxxxxxxxnvgstcapture-1.0 --sensor-id=1

3.2. Specify the preview resolution
If there is only one CSI camera, change --sensor-id=1 to --sensor-id=0:
xxxxxxxxxxnvgstcapture-1.0 --sensor-id=1 --cus-prev-res=1280x720
