-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erro ao executar a camera #27
Comments
Olá bom dia ao excutar o comando python camera.py
Está dando o seguinte erro ao executar o comando.
[image: image.png]
Em seg., 5 de ago. de 2024 às 02:49, Shaynee ***@***.***>
escreveu:
… The error is because the camera cannot be detected.
Please do as follows:
1.
Check the wiring. You can send us pictures of the wiring and we will
check for you,
image.png (view on web)
<https://github.com/user-attachments/assets/cd2fff02-e6a0-44ff-bb97-743213aab682>
2.
Follow the tutorial to make configuration.
image.png (view on web)
<https://github.com/user-attachments/assets/2131ef3e-42f9-4909-8892-91767689d18d>
3.
Reboot your raspberry pi. Run ls /dev/video* to see if the camera can
be detected.
If you have any concerns, please feel free to contact us.
Best regards,
Shaynee
Freenove Support Team
www.freenove.com
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKKBUEZU77GOGF4JGJUQ2Q3ZP4G6NAVCNFSM6AAAAABL7A3QCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGIZDGMZVGQ>
.
You are receiving this because you authored the thread.Message ID:
<Freenove/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/issues/27/2268223354@
github.com>
|
Sorry but we cannot see the image. Would you mind sending it again? Many thanks for your help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~/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
The text was updated successfully, but these errors were encountered: