Jetson-Nano-image
Jetson-Nano-image copied to clipboard
IMX477 Camera not able to open - python3 while works fine with python
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.