Unable to open Arducam IMX477 camera on Jetson Nano using Python3, OpenCV and Gstreamer pipeline


I am trying to process the video from 2 IMX477 cameras on Jetson Nano using python and OpenCV, and eventually send it to ROS2.

Cameras used: 2x https://www.arducam.com/product/arducam-high-quality-camera-for-jetson-nano-and-xavier-nx-12mp-m12-mount/

Jetson Nano version: reComputer J1020- Edge AI Device with Jetson Nano module, Aluminium case, pre-installed JetPack System https://www.seeedstudio.com/Jetson-10-1-H0-p-5335.html (2x MIPI-SCI2 ports)

Linux4Tegra version: R32.7.2

Arducam camera driver installed with:

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

I am able to build most of the gstreamer-1.0 pipelines described here: https://www.arducam.com/docs/camera-for-jetson-nano/native-jetson-cameras-imx219-imx477/imx477 and I am able to display live video, take snapshots, and record mp4.

But when trying demo code file in: CSI-Camera/simple_camera.py at master · JetsonHacksNano/CSI-Camera · GitHub (repository used at arducam website Python Example - Arducam as a sample code) I only get “Error: Unable to open camera”, because the assertion if video_capture.isOpened(): (object cv2.VideoCapture.isOpened() returns zero)

Should I reflash the Jetson with R32.6.1, and installed OpenCV 4.1.1 and Python3, since this is what GitHub - JetsonHacksNano/CSI-Camera: Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Developer Kit was tested with? What other options do I have?

hello damian.leporis,

according to that release note, please test with L4T 32.6.1 (JetPack 4.5) for confirmation.


I actually managed to get it working by downgrading to L4T 32.6.1 (JetPack 4.5), and by installing OpenCV 3.3.1: install OpenCV 3.3 in ubuntu 18.04 · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.