Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3923

Camera board • Re: Camera is not able to click the images

$
0
0
Using Bullseye 32-bit on a Pi with a V2.1 camera module attached, I changed that python code to use a filename without slashes in it, then it worked OK.

Code:

fileName = "img_" + datetime.now().strftime("%d-%m-%Y-%H:%M:%S")
I have NOT enabled legacy camera in raspi-config. It is auto-detected.
My /boot/config.txt has

Code:

camera_auto_detect=1
The captured files were in /home/pi/Pictures/

Code:

img_03-03-2024-16:42:22.jpg
etc.

Statistics: Posted by neilgl — Sun Mar 03, 2024 4:43 pm



Viewing all articles
Browse latest Browse all 3923

Trending Articles