Difference between revisions of "IMX219-160 Camera"

From ingcool
Jump to: navigation, search
(Related link)
m (Text replacement - "47.107.148.244" to "{{SERVERNAME}}")
Line 29: Line 29:
 
*If you find that the image captured is red. You can try to download .isp file and installed:
 
*If you find that the image captured is red. You can try to download .isp file and installed:
 
<pre>
 
<pre>
wget http://47.107.148.244/w/images/e/eb/Camera_overrides.tar.gz
+
wget http://{{SERVERNAME}}/w/images/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/

Revision as of 11:02, 11 July 2020

Introduction

IMX219 Camera, 800 megapixels and 160 FOV. Compatible with Jetson nano. You can also use it with CM3/CM3+ expansion boards like Raspberry Pi Compute Module IO board, Compute Module IO Board Plus, Compute Module POE Board board.

Specifications

  • Sensor: Sony IMX219
    • Resolution: 3280x2464
    • 8 Megapixels
  • Lens specifications:
    • CMOS size: 1/4inch
    • Aperture (F): 2.35
    • Focal Length: 3.15mm
    • Angle of View (diagonal): 160 degree
    • Distortion: <14.3%
  • 4 screw holes
    • Used for attachment
    • Provides 3.3V power output

User Guide

Hardware connection

  • Connect the camera to CSI interface of Jetson Nano.Set the metal side of FFC into Heat-sink
    If you have B01 version Jetson Nano Developer Kit, connect one of the CSI interfaces.
  • Power on Jetson Nano
    Note that jetson Nano cannot support hot-plug, you need to restart it after connecting camera.

Test

  • Open a terminal and run the following command for testing
    Note: you need to connect a HDMI display to Jetson Nano Developer Kit, otherwise the image of camera cannot be previewed.
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 http://{{SERVERNAME}}/w/images/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

【Note】The 12 in NV12 is number but not string.

Drive two cameras

If you want to use two camera at the same time(for B01), you can add parameter sensor-id=x to change the camera

  • Test video0
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e
  • Test video1
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

Related link