Difference between revisions of "101-40-251"

From SainSmart Wiki
Jump to: navigation, search
Line 6: Line 6:
 
*Test camera with command:
 
*Test camera with command:
  
<pre> 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
+
<pre>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</pre>
</pre>
+
*If you find that the image captured is red. You can try to download .isp file and installed:
 +
<pre>wget [https://www.waveshare.com/w/upload/e/eb/Camera_overrides.tar.gz 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</pre>

Revision as of 11:31, 23 April 2020

  1. Hardware connection
  • Connect the camera to CSI interface of Jetson Nano.Set the metal side of FFC into Heat-sink
  • Connect a HDMI LCD to Jetson Nano
  1. Software setting
  • Power on Jetson Nano and open the Terminal (Ctrl+ALT+T)
  • 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
  • If you find that the image captured is red. You can try to download .isp file and installed:
wget [https://www.waveshare.com/w/upload/e/eb/Camera_overrides.tar.gz 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