Difference between revisions of "Template:IMX219-Jetson-Camera-User-Guides"
From Waveshare Wiki
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/") |
|||
Line 17: | Line 17: | ||
1. Download the camera-override.isp file and extract it to a specific folder:<br/> | 1. Download the camera-override.isp file and extract it to a specific folder:<br/> | ||
<pre> | <pre> | ||
− | wget https:// | + | wget https://files.waveshare.com/upload/e/eb/Camera_overrides.tar.gz |
tar zxvf Camera_overrides.tar.gz | tar zxvf Camera_overrides.tar.gz | ||
sudo cp camera_overrides.isp /var/nvidia/nvcam/settings/ | sudo cp camera_overrides.isp /var/nvidia/nvcam/settings/ |
Latest revision as of 06:39, 2 September 2023
Test with Jetson Nano
Hardware connection
- Insert the camera cable with the metal side facing the heatsink into the camera port on the Jetson Nano development kit.
- Start the Jetson Nano.
- Test camera.
- Open the terminal (press Ctrl+ALT+T shortcut on the keyboard to open the terminal), and enter the following command to test the camera.
DISPLAY=:0.0 nvgstcapture-1.0
- Test the dual camera.
- If you need to test dual cameras, you can add sensor-id=x to select the camera. x can be 0 or 1.
#test video0 DISPLAY=:0.0 nvgstcapture-1.0 --sensor-id=0 #test video1 DISPLAY=:0.0 nvgstcapture-1.0 --sensor-id=1
- If the camera shooting effect is reddish, you can follow the steps below:
1. Download the camera-override.isp file and extract it to a specific folder:
wget https://files.waveshare.com/upload/e/eb/Camera_overrides.tar.gz tar zxvf Camera_overrides.tar.gz sudo cp camera_overrides.isp /var/nvidia/nvcam/settings/
2. Install files:
sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp
【Notice】
- 12 of NV12 is a number, not a letter.
- The test screen is output to HDMI or DP screen, so when testing, first connect the screen to Jetson Nano.
- Opencv calls the camera
If you want to use the opencv library to call the camera, you can refer to the official jetcam program