Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Camera is not working #22

Open SarthakJaingit opened 2 years ago

SarthakJaingit commented 2 years ago

Hi,

The raspistill -o image.jpg does not work and also in the Client the camera does not work. But when I run libcamera-hello in the ssh then the camera image is captured and displayed in the VNC. Is there is a reason why this is the case?

regards, Sarthak Jain

DenzelChen commented 2 years ago

You can use this command to check your system. cat /etc/rpi-issue

The new system 10-30 doesn't support raspistill -o any more. You can download to use our latest tutorial.

DeterminedLife commented 2 years ago

On 2021-10-30 Raspberry Pi version, 11 updates (Bullseye) added a new default camera subsystem based on libcamera. libcamera-still and libcamera-vid have relaced raspistill and raspvid

DeterminedLife commented 2 years ago

Tutorial requires information on how to run the Bullseye patch :)

DenzelChen commented 2 years ago

Please download the lastest tutorail. There are information for this on page 43.

tyjtyj commented 2 years ago

Please download the lastest tutorail. There are information for this on page 43.

i found the tutorial on page 80.. here is my output for camera

pi@raspberrypi:~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server $ vcgencmd get_camera
supported=1 detected=1
pi@raspberrypi:~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server $ python camera.py

Traceback (most recent call last):
  File "camera.py", line 4, in <module>
    camera.capture('image.jpg')
  File "/usr/lib/python3/dist-packages/picamera/camera.py", line 1423, in capture
    'Timed out waiting for capture to end')
picamera.exc.PiCameraRuntimeError: Timed out waiting for capture to end
DenzelChen commented 2 years ago

Please contact us at support@freenove.com