I connected 1 IMX219 v2 to Pi5. bathroom
The python modules were imported into the virtual environment, but the
accessing and using picamera2 fails. Please help me because I have been struggling for a long time.
What am I doing wrong, how can I fix it?
--IndexError: list index out of range
The python modules were imported into the virtual environment, but the
accessing and using picamera2 fails. Please help me because I have been struggling for a long time.
What am I doing wrong, how can I fix it?
--
Code:
[5:35:40.769555566] [13015] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13dTraceback (most recent call last): File "/home/wt/repos/pytest/picam2/gemini_camera.py", line 10, in <module> picam2 = Picamera2() ^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 245, in __init__ camera_num = self.global_camera_info()[camera_num]['Num'] ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
Statistics: Posted by wapplertibor — Tue Apr 23, 2024 12:25 pm