Jetson-Nano-image icon indicating copy to clipboard operation
Jetson-Nano-image copied to clipboard

IMX477 Camera not able to open - python3 while works fine with python

Open AINacster opened this issue 3 years ago • 1 comments

I have copied the ubuntu 20.04 image with JP 4.6 from QEngineering. Its of great help. But I am stuck with capturing video and images. I have tried CSI-Camera/Simple_camera.py It works great with python whilst python3 throws errors it says cannot open camera. Can you pls help me. Iam using YOLOV8 inference/detection with custom model.

AINacster avatar Mar 31 '23 14:03 AINacster

The issue has nothing to do with the Ubuntu version. You get the same behavior when you run python3 ./simple_camera.py on a Ubuntu 18.04 OS. (Just tried it) It even doesn't matter if you use the IMX477 or the older IMX219. Both give the same error. I think it has to do with the simple_camera.py code itself.

Qengineering avatar Mar 31 '23 16:03 Qengineering