Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes
Accepted

picamera and Ubuntu 20.04 arm64?

The longer answer is that rpi does not support it in their packages. The camera is functional under aarch64. Don't install the rpi packages picamera on Ubuntu 20.04 64 bit, instead use opencv, for ...
Aduen's user avatar
  • 166
4 votes

Shutter speed and exposure time of picamera

Yes you can control shutter speed and many other things. For example raspistill -ISO 800 -ss 6000000 -o out.jpeg Will set the ISO 800 and the shutter speed to the maximum 6,000,000 microseconds, or ...
T. M.'s user avatar
  • 871
4 votes

Getting errors in pip install picamera

[Errno 2] No such file or directory: '/proc/cpuinfo' That directory is missing. I don't think that you can install PiCamera on Windows.
Alessandro Rodriguez's user avatar
4 votes

Non Native Raspberry Pi Camera

According to the documentation you linked to, this camera doesn't come with an application to capture images. They offer a demo application, written in C, but other than that you have to write your ...
Jacobm001's user avatar
  • 11.9k
4 votes

How to tell if the Pi Camera is connected?

Most likely at this point in time you will need to run libcamera-hello to see if the camera is working. Docs: https://www.raspberrypi.com/documentation/accessories/camera.html Most examples are going ...
nstanard's user avatar
  • 151
3 votes

Powering Raspberry Pi 3 with 5v/3A Buck converter

I am using a similar setup with a 12V power rail (from mains with a 12V power supply - not a battery) with a 5V/3A buck converter to power a Pi 1B for more than 3 years now without any issue. Also ...
kwasmich's user avatar
  • 2,702
3 votes
Accepted

Powering Raspberry Pi 3 with 5v/3A Buck converter

Yes, it is perfectly safe. You lose two protections so take care. The microUSB socket is keyed so you can't mix up +ve and -ve. Take care when connecting. The microUSB socket feeds into a polyfuse ...
joan's user avatar
  • 71.1k
3 votes

Help need with python script for PiCamera

If I've understood correctly, you want to capture 5 images, each with a different shutter speed, wait five minutes, and then repeat. In that case, capture_sequence isn't applicable as it would capture ...
Fred's user avatar
  • 4,552
3 votes

How do I stream video from raspberry pi cam to my android phone app in order to access it from anywhere?

We have developed something that you want. You need to install the motion package on your raspberry pi. It will transmit streams over HTTP/HTTPS protocol with authentication. You should install motion ...
M. Rostami's user avatar
  • 4,333
3 votes

How to tell if the Pi Camera is connected?

From command line, you could use vcgencmd utility as shown below: $ vcgencmd get_camera supported=1 detected=1, libcamera interfaces=0 When no camera detected the output would be: $ vcgencmd ...
quantotto's user avatar
3 votes
Accepted

Raspberry pi camera module 3 works only on libcamera

The old camera stack with Picamera will not be updated for the new v3 camera. You will have to swap to the Picamera2 modules.
Dirk's user avatar
  • 3,541
2 votes
Accepted

How to light up picamera LED without taking photo

You can turn on the camera led through the pi’s GPIO using the python code below: #!/usr/bin/env python import time import RPi.GPIO as GPIO # Use GPIO numbering GPIO.setmode(GPIO.BCM)   # ...
Mohammad Ali's user avatar
  • 2,383
2 votes
Accepted

Picamera: set shutter_speed with RAW acquisition

From the docs: "the shutter_speed attribute is constrained by the camera’s framerate so the first thing we need to do is set a very slow framerate" Try this when you instantiate your PiCamera: ...
waterproof's user avatar
2 votes
Accepted

Camera used to work, now waiting forever to take a picture

I reconnected all cables, removed screws and it didn't work at the end. I switched to another camera and it works fine. FYI: If you came here searching this, probably your camera is dead.
Talha Talip Açıkgöz's user avatar
2 votes
Accepted

Wide angle lens for Raspberry Pi v2 camera

According to the comments section of the lensholder at Thingiverse one has to remove the PiCamera's lens. Note that removing the lens makes the camera susceptible to dust and damage. Be extra careful ...
Ghanima's user avatar
  • 15.9k
2 votes

Fast pictures with PiCam and Java

I'd take a look at the picam library. It provides direct access to the camera, as the native MMAL library is used without any external dependencies or processes or wrappers. It's still based loosely ...
JMY1000's user avatar
  • 121
2 votes

Camera access in docker container is generating errors / locking

Looking at the error message, you probably don't have the correct permissions. Try adding privileged: true to your docker-compose.yml file (or something like --privileged=true if you are using docker ...
Mark Grimes's user avatar
2 votes

Shutter speed and exposure time of picamera

You can control the shutter speed in python with the package picamera. Installation for python 3: sudo apt-get install python3-picamera Documentation for the shutter speed method: https://picamera....
calocedrus's user avatar
2 votes
Accepted

Wrong timing in picamera video capture?

If you do not specify the default framerate in python then it will be set to 30fps. The players you are using expect a frame rate of 25fps. So your 30 second video should last 30seconds x 30fps/25fps =...
user84383's user avatar
2 votes

USB Camera vs Pi Camera

I'll turn my comment into an answer: Yes, it certainly is possible. I've read through a couple guides and my personal choice would be this Github. The readme provides a pretty good tutorial on how to ...
Patrick Cook's user avatar
  • 6,365
2 votes
Accepted

How to run piCamera script in rc local?

Try including the full path to the python executable in rc.local, for example /usr/bin/python /home/me/Desktop/python/cameratest.py &
yesno's user avatar
  • 211
2 votes

picamera.exe.PiCameraIOError: Failed to write 291840 bytes from buffer to output <picamera.stream.BufferIO object at 0x62f70c60>

You have to ensure that the horizontal resolution is rounded up to the nearest multiple of 32 while the vertical resolution has to be a multiple of 16. This works for the Raspberry Pi HQ camera: ...
Tim's user avatar
  • 51
2 votes

Help with Port Forwarding for College Project

Assuming you are running everything local on the Raspberry Pi, you can connect the RaspberryPi which is connected to your college WiFi to your home computer, without hacking or opening your college ...
Mark's user avatar
  • 145
2 votes

Pi Camera (F) disable Night Vision on Day and use as normal camera

You can adjust how the brightness of the IR LEDs responds to the light sensors using these tiny adjustment screws. You're still going to have some IR artifacts in the images since the camera still ...
Vishal Patel's user avatar
2 votes

Why can't I access camera through my remote desktop?

The camera preview most likely writes directly to the frame buffer. This is not captured by the VNC server application. you can solve this issue using fbcp in order to capture the HDMI output; ...
Jake's user avatar
  • 89
2 votes
Accepted

Is there a jpg viewer for a pi zero w running buster lite

You can either install the GUI desktop stack and use whatever you like there, or else you need something that runs on the kernel's software framebuffer. I'm not sure if this is what the camera preview ...
goldilocks's user avatar
  • 59.1k
2 votes
Accepted

Speckle noise from Raspberry Pi NoIR camera V2

A 2-meter ribbon cable can totally be a problem. It's easy to test: if you plug the default cable which came with the camera instead, and the noise goes away, then it's the cable. The camera was only ...
Dmitry Grigoryev's user avatar
2 votes

How can I specify the format of a picture as a MIME-type?

Picamera does not seem to support TIFF. Here's a list of supported formats from the documentation: 'jpeg' - Write a JPEG file 'png' - Write a PNG file 'gif' - Write a GIF file 'bmp' - Write a Windows ...
Dmitry Grigoryev's user avatar
2 votes

Display monitor closes while running a python code on Rpi zero

Updates: I have figured out the cause of this issue, it seems like when the annotator is called several times in the loop it allocates several resources and doesn't release them between loops. The ...
Nadeen Tarek's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible