Skip to content

Erro ao executar a camera  #27

@ar-acvf

Description

@ar-acvf

~/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/Code/Server $ python camera.py

[0:00:54.741977633] [1947] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+65-6ddd79b5
Traceback (most recent call last):
File "/home/arlindo/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/Code/Server/camera.py", line 2, in
picam2 = Picamera2()
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 246, in init
camera_num = self.global_camera_info()[camera_num]['Num']
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions