Difference between revisions of "Template:IMX219-Jetson-Camera-User-Guides"
From Waveshare Wiki
Line 5: | Line 5: | ||
===Software setting=== | ===Software setting=== | ||
*Power on Jetson Nano and open the Terminal (Ctrl+ALT+T) | *Power on Jetson Nano and open the Terminal (Ctrl+ALT+T) | ||
+ | *Test the video0 | ||
+ | <pre> | ||
+ | nvgstcapture-1.0 --sensor-id=0 | ||
+ | #nvgstcapture-1.0 | ||
+ | </pre> | ||
+ | *Test the video1 | ||
+ | <pre> | ||
+ | nvgstcapture-1.0 --sensor-id=1 | ||
+ | </pre> | ||
+ | <!-- | ||
*Test camera with command: | *Test camera with 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 | 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 | ||
Line 15: | Line 25: | ||
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e | DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e | ||
</pre> | </pre> | ||
+ | --> | ||
+ | *For more information about the Multimedial API of the Jetson, please refer to the document of NVIDIA | ||
+ | **[https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Faccelerated_gstreamer.html%23wwpID0E0UC0HA MultiMedial Document] | ||
*If you find that the image captured is reddish. You can try to download .isp file and installed: | *If you find that the image captured is reddish. You can try to download .isp file and installed: | ||
wget https://www.waveshare.com/w/upload/e/eb/Camera_overrides.tar.gz | wget https://www.waveshare.com/w/upload/e/eb/Camera_overrides.tar.gz | ||
Line 21: | Line 34: | ||
sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp | sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp | ||
sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp | sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 09:50, 23 March 2022
Test with Jetson Nano
Hardware connection
- Connect the camera to CSI interface of Jetson Nano.Set the metal side of FFC into Heat-sink
- Connect an HDMI LCD to Jetson Nano
Software setting
- Power on Jetson Nano and open the Terminal (Ctrl+ALT+T)
- Test the video0
nvgstcapture-1.0 --sensor-id=0 #nvgstcapture-1.0
- Test the video1
nvgstcapture-1.0 --sensor-id=1
- For more information about the Multimedial API of the Jetson, please refer to the document of NVIDIA
- If you find that the image captured is reddish. You can try to download .isp file and installed:
wget https://www.waveshare.com/w/upload/e/eb/Camera_overrides.tar.gz tar zxvf Camera_overrides.tar.gz sudo cp camera_overrides.isp /var/nvidia/nvcam/settings/ sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp