1. Home
  2. Docs
  3. Jetson Cameras
  4. Native Jetson Cameras – IMX219/IMX477
  5. IMX219 – 8MP Camera

IMX219 – 8MP Camera


IMX219 is a 1/4″ 8MP MIPI CSI-2 image sensor, it was adopted by the Raspberry pi V2 camera module back in 2016. Now the IMX219 camera is natively supported by the Jetson Nano and Xavier NX out of the box. Arducam made a lot of variation of this camera to address different use-cases for Jetson fans.​

Models in this  Series

The main differences between these products are field of view and IR sensitivity. They are the same in terms of software operation.



ModelIR SensitivityField of View
B0286IMX219 drop in replacementVisible Light220°H
B0287IMX219 camera moduleVisible Light220°H
B0193IMX219 camera moduleNOIR175°D x 145°H x 77°V
B0179IMX219 camera moduleVisible Light175°D x 145°H x 77°V
B0194IMX219 drop in replacementNoIR175°D x 145°H x 77°V
B0188IMX219 drop in replacementNoIR75°H
B0184IMX219 drop in replacementVisible Light75°H
B0183IMX219 camera moduleVisible Light75°H
B0180IMX219 drop in replacementVisible Light75°H
B0191IMX219 camera moduleVisible Light62.2°D
Too short camera cable?

You may need Arducam 30cm Sensor Extension Cable which extends the small camera module with a much longer distance and fit into the space-constrained environment.

Common Specs

General Specifications

Sensor ModelIMX219
Shutter TypeRolling Shutter
Active Pixels3280 (H) × 2464 (V)
Image Sensor FormatType 1/4″
Pixel Size1.12μm×1.12μm
CSI-2 Data Output2-lane mode
Data FormatRaw Bayer 10bit
IMX219 block diagram
IMX219 Block Diagram

IMX219 Full Datasheet

Refer here:


Quick Start Guide

Hardware Setup

  1. Locate the camera connector (CSI). It’s on the side of the carrier board, opposite to the GPIO pins.
  1. Pull up on the plastic edges of the camera port. Do it gently to avoid pulling it off.
plastic edges pulled up jetson nano camera connector csi
  1. Push in the camera ribbon. Make sure the contacts are facing the heatsinks. Do not bend the flex cable, and make sure it’s firmly inserted into the bottom of the connector.
white camera ribbon cable contacts
Ribbon Cable Contacts – 15pin-15pin
white cable silver contacts facing heatsinks
Silver Contacts facing inside to the heatsinks
white cable silver ribbon cable inserted into the bottom of the connector
Ribbon cable fully inserted to the bottom of the CSI connector
  1. Push the plastic connector down. Do it while holding the flex cable until the connector is back in place.

Software Setup

Please refer to this page:


Supported Resolution and Frame Rate

Using v4l2-ctl --list-formats-ext command to list the supported resolution and frame rate combination on Jetson.

$ v4l2-ctl --list-formats-ext
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'RG10'
	Name        : 10-bit Bayer RGRG/GBGB
		Size: Discrete 3280x2464
			Interval: Discrete 0.048s (21.000 fps)
		Size: Discrete 3280x1848
			Interval: Discrete 0.036s (28.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)

Examples of command line Gstreamer script

The following GStreamer examples help you to do a quite test on IMX219 for verification purposes. The sensor_id parameter selects the camera: 0 or 1 on Jetson Nano B01/Xavier NX.

$ gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! nvoverlaysink

More specific – width, height and framerate are from supported video modes. Example also shows sensor_mode parameter to nvarguscamerasrc. See below for example video modes of example sensor.

$ DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! \
   'video/x-raw(memory:NVMM),width=3280, height=2464, framerate=21/1, format=NV12' ! \
   nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=720' ! \
   nvvidconv ! nvegltransform ! nveglglessink -e

For some reason, the required resolution doesn’t match with driver settings, you should adjust accordingly. As an example, for 3264×2464 @ 21 fps on sensor_id 1 of a Jetson Nano B01 or Xavier NX:

$ DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor_id=1 ! \
   'video/x-raw(memory:NVMM),width=3264, height=2464, framerate=21/1, format=NV12' ! \
   nvvidconv flip-method=0 ! 'video/x-raw, width=816, height=616' ! \
   nvvidconv ! nvegltransform ! nveglglessink -e

Using the nvvidconv flip-method parameter, it can rotate/flip the image, that is useful when the mounting of the camera with different orientation.

flip-method         : video flip methods
                        flags: readable, writable, controllable
                        Enum "GstNvVideoFlipMethod" Default: 0, "none"
                           (0): none             - Identity (no rotation)
                           (1): counterclockwise - Rotate counter-clockwise 90 degrees
                           (2): rotate-180       - Rotate 180 degrees
                           (3): clockwise        - Rotate clockwise 90 degrees
                           (4): horizontal-flip  - Flip horizontally
                           (5): upper-right-diagonal - Flip across upper right/lower left diagonal
                           (6): vertical-flip    - Flip vertically
                           (7): upper-left-diagonal - Flip across upper left/low

Python Example

The following is the python example grabbed from JetsonHacks.

# MIT License
# Copyright (c) 2019 JetsonHacks
# See license
# Using a CSI camera (such as the Raspberry Pi Version 2) connected to a
# NVIDIA Jetson Nano Developer Kit using OpenCV
# Drivers for the camera and OpenCV are included in the base image

import cv2

# gstreamer_pipeline returns a GStreamer pipeline for capturing from the CSI camera
# Defaults to 1280x720 @ 60fps
# Flip the image by setting the flip_method (most common values: 0 and 2)
# display_width and display_height determine the size of the window on the screen

def gstreamer_pipeline(
    return (
        "nvarguscamerasrc ! "
        "video/x-raw(memory:NVMM), "
        "width=(int)%d, height=(int)%d, "
        "format=(string)NV12, framerate=(fraction)%d/1 ! "
        "nvvidconv flip-method=%d ! "
        "video/x-raw, width=(int)%d, height=(int)%d, format=(string)BGRx ! "
        "videoconvert ! "
        "video/x-raw, format=(string)BGR ! appsink"
        % (

def show_camera():
    # To flip the image, modify the flip_method parameter (0 and 2 are the most common)
    cap = cv2.VideoCapture(gstreamer_pipeline(flip_method=0), cv2.CAP_GSTREAMER)
    if cap.isOpened():
        window_handle = cv2.namedWindow("CSI Camera", cv2.WINDOW_AUTOSIZE)
        # Window
        while cv2.getWindowProperty("CSI Camera", 0) >= 0:
            ret_val, img = cap.read()
            cv2.imshow("CSI Camera", img)
            # This also acts as
            keyCode = cv2.waitKey(30) & 0xFF
            # Stop the program on the ESC key
            if keyCode == 27:
        print("Unable to open camera")

if __name__ == "__main__":

Was this article helpful to you? Yes No 1