Nvidia Jetson Cameras

  1. Home
  2. Docs
  3. Nvidia Jetson Cameras
  4. IMX519 16MP Autofocus Camera on Jetson Nano and Xavier NX

IMX519 16MP Autofocus Camera on Jetson Nano and Xavier NX

Driver Installation

Note

Please make sure the L4T is 32.6.1 or later versions.

wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh
chmod +x install_full.sh
./install_full.sh -m imx519

Operating The Camera

SENSOR_ID=0 # 0 for CAM0 and 1 for CAM1 ports
FRAMERATE=60 # Framerate can go from 2 to 60 for 1920x1080 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

Manually Controlling the Focus

git clone https://github.com/ArduCAM/Jetson_IMX519_Focus_Example.git
 cd Jetson_IMX519_Focus_Example
 python3 FocuserExample.py -i 7

When you see the following screen, Press the Up/Down Arrow for focus adjustment, press ‘q’ to exit.

nvidia jetson nano camera autofocus adjustments

Using Autofocus

 cd Jetson_IMX519_Focus_Example
python3 AutofocusTest.py -i 7

If you want the camera to refocus, navigate to the terminal where the above command’s entered, simply press “f” on your keyboard and then hit Enter.

Was this article helpful to you? Yes No 8