Qengineering / Jetson-Nano-image

Jetson Nano image with deep learning frameworks

Home Page:https://qengineering.eu/install-tensorflow-2.4.0-on-jetson-nano.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

AINacster opened this issue · 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.

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.