Skip to content
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

Camera is not working #22

Open
SarthakJaingit opened this issue Nov 30, 2021 · 6 comments
Open

Camera is not working #22

SarthakJaingit opened this issue Nov 30, 2021 · 6 comments

Comments

@SarthakJaingit
Copy link

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
Copy link
Contributor

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
Copy link

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

@DeterminedLife
Copy link

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

@DenzelChen
Copy link
Contributor

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

@tyjtyj
Copy link

tyjtyj commented Jan 6, 2022

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
Copy link
Contributor

Please contact us at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants