Questions tagged [raspicam]

The CSI interface camera from the Raspberry Pi Foundation available in a natural colour and a NoIR version without infrared filter, latter is suited for night vision and other special applications.

Filter by
Sorted by
Tagged with
47 votes
12 answers
134k views

What causes ENOSPC error when using the Raspberry Pi camera module?

I have been getting the error message below when attempting to use the Raspberry Pi camera # raspistill -o /tmp/gate_now.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: ...
TomG's user avatar
  • 1,151
23 votes
4 answers
75k views

Modern way to stream H.264 from the Raspberry Cam

I got the Pi B+ and the Pi camera and am now trying to find the most efficient (low CPU) and lowest-latency configuration to stream H.264 encoded video from the camera to my home server. I've read ...
nh2's user avatar
  • 411
13 votes
2 answers
25k views

Using OpenCV with RasPiCam and python

Has any one been able to get OpenCV to directly play video from the RasPiCam board using python? I've seen some projects involving workarounds, but what I'm interested in is being able to use the ...
Ryan's user avatar
  • 233
8 votes
3 answers
21k views

How to use raspistill on Ubuntu

I have Ubuntu 14 installed on my Raspberry Pi 2, and I'm trying to access the camera, but all the instructions assume raspistill is available, but that only seems to be compiled for Raspbian. How do ...
Cerin's user avatar
  • 2,261
6 votes
1 answer
17k views

How to configure UV4L?

I have been trying to edit the .conf file for raspicam to change the default resolution; however, I can seem to figure out the right command for enabling configuration permissions. When I access the ....
Jammel Benjamin's user avatar
3 votes
1 answer
3k views

Why does PiCamera take so long to capture?

I'd like to capture an image at a specified shutter speed and ISO, and write it to disk. I thought that'd be pretty straightforward but... apparently not? In searching, I found people complaining ...
MattieShoes's user avatar
13 votes
2 answers
74k views

How long does the RPi last on a battery? [duplicate]

For how long can the Raspberry Pi run when powered from a battery of a given capacity? Of course this will strongly depend on how it is used and what devices are connected, but I am trying to get a ...
Szabolcs's user avatar
  • 652
10 votes
2 answers
43k views

Sending Raspberry Pi Camera preview to a laptop running VNC Viewer

I currently have a raspberry pi model B with a raspberry pi camera connected to it. The raspberry pi is connected to my router via an Ethernet cable, I control the raspberry pi through VNC viewer on ...
Darth Vader's user avatar
  • 4,176
8 votes
1 answer
2k views

Raspberry Pi Camera - When is it ready for next frame

When using apis like the C++ or raspicam api, you poll the camera with a grab(), or similar, method. When a frame is ready, the method returns. Is there a way of checking if the camera is ready ...
user2290362's user avatar
4 votes
5 answers
7k views

Raspberry Pi camera randomly freezes / crashes SoC

I use my Raspbery PI model B for capturing images for a timelapse. I capture an image every 30 seconds (roughly) using the build in raspistill command within a simple bash script seen below: #!/bin/...
Flatron's user avatar
  • 141
4 votes
1 answer
28k views

Getting image data from raspberry pi camera module in OpenCV with Python

I am working on a project where I need to use opencv to get image data in python from the pi camera module. I have seen the tutorials on how to do this with C++ but not too much in python. I did find ...
TooMuchDog's user avatar
1 vote
1 answer
1k views

What is the skipping frame pattern and how to name the images captured with a sequence of numbers using Raspistill command in Raspberrypi?

I would like to know, how to name the captured images with a sequence of numbers instead of its frame numbers by using Raspistill command and also could anyone suggest me the typical skipping frame ...
Lohith Kumar's user avatar
38 votes
8 answers
96k views

RasPi Camera Board and Motion

I just got my Camera Board and a Model A Raspberry Pi to use as a security camera for my house. I had been using Motion with a Logitech C170 USB camera on my Model B board and it worked great except ...
11chubby11's user avatar
  • 4,764
25 votes
5 answers
53k views

How can I enable the camera without using raspi-config?

I am trying to use the raspi camera on a minimalized version of wheezy. The command raspi-config is not available. I have been able to do everything without it so far by editting /boot/config.txt or ...
Octopus's user avatar
  • 777
20 votes
4 answers
17k views

Raspistill slow to trigger?

I'm trying to trigger "many" raspberries together, while using raspistill is only for testing, i'm wondering why taking a picture is so slow, i made a test and, at the same time as i hit enter on this ...
Ronan Thibaudau's user avatar
15 votes
2 answers
27k views

Can I record a 24 hour video on the Raspberry Pi with camera module?

Given that I have an SD card with sufficient capacity, is it theoretically possible to record a 24 hour video with a camera module or is the recording duration limited? Has anyone tried this? Do you ...
Joel's user avatar
  • 527
10 votes
7 answers
15k views

How do you configure the Pi Zero to act as a USB webcam using the plug in camera?

There are lots of guides which tell you how to configure the raspberry Pi Zero as a mass_storage device or Ethernet device, most of these mention the ability to make the Pi act as a webcam but none ...
user3797758's user avatar
8 votes
4 answers
8k views

How to turn off the CSI, and turn it back on again

I am using the Waveshare RPi Camera (F), which comes with two IR LED boards to enable nightvision (they look like two big eyes on either side of the camera 'nose' - at least that's what it looks like ...
Deleuze's user avatar
  • 236
8 votes
5 answers
11k views

Camera problems: green tint and long delays after snapshot

Having a few problems with the standard camera board. Images are heavily green-tinted: sample Anytime I try to use the raspistill -fp option, it takes about 20 seconds after the snapshot is taken for ...
naasking's user avatar
  • 191
4 votes
1 answer
2k views

raspistill speed

I was wondering if there was a way to increase the speed at which images are written to memory using raspistill? This is for an opencv project where i would like to test various filters against ...
Zypps987's user avatar
  • 141
2 votes
1 answer
6k views

Has anyone successfully ran the raspberry pi camera v2 on Android on the rpi3?

I have made an app that uses facial recognition, and I would like to run it on an RPi3. I have exhausted my google-fu in trying to find an Android build that works well on the RPi3 (it's the only Pi ...
A_toaster's user avatar
  • 207
18 votes
2 answers
40k views

Take images in a short time using the Raspberry Pi camera module

I'm working on a project in which I need to take about 30 images per second (no movie) using the Raspberry Pi camera module. I'm using the Picamera library (http://picamera.readthedocs.org/en/latest/...
Timo Denk's user avatar
  • 285
11 votes
3 answers
16k views

Do I Need To Replace My Raspberry Pi Camera?

I know that there are several threads here that discuss this issue, however none of the solutions have made any difference. Anyway, when I plug in my RPi Camera into my B board, I get this error: ...
M2com's user avatar
  • 311
9 votes
2 answers
31k views

Using the UV4L driver to stream video from the raspberry pi camera to android phone

Hello raspberry people! I'm posting a new question because I don't have enough rep on raspberrypi.stackexchange to post a comment on this post: https://raspberrypi.stackexchange.com/questions/15000/...
seed_87's user avatar
  • 131
9 votes
3 answers
19k views

What streaming solution for the Picam has the smallest lag?

This post shows how to stream using VLC. It works nice and is simple, but it gives me about a second lag. This post uses GStreamer, and it has 0.3 second lag; I would like less. Is it possible to use ...
Antonvh's user avatar
  • 231
7 votes
1 answer
3k views

Is someone working on a video4linux driver for the camera module?

There are a ton of Linux applications that will interface with a camera with V4L. It would be totally awesome if there was a V4L driver for the Raspberry Pi Camera module.
STEJ's user avatar
  • 321
7 votes
3 answers
19k views

Why Raspberry Pi camera "no device found" in Cheese or IceWeasel?

I am testing the new Raspberry Pi 2 with its camera board. I have setup my Pi2 with Raspbian. I have connected the camera on the CSI port, enabled the camera module from raspi-config sudo apt-get ...
zabumba's user avatar
  • 257
7 votes
3 answers
25k views

Official Raspberry Pi 7 inch display power consumption

I bought the display along with the camera board v2 a couple of months ago to work on some projects with my Raspberry Pi 2 but only recently found the time to actively experiment. Now unlike the ...
rbaleksandar's user avatar
6 votes
1 answer
10k views

How to quickly capture images with raspistill

How do you quickly capture a series of stills programmatically? I'm testing an image processing task where I need to perform an action between image captures. Essentially, I want to: Capture a ...
Cerin's user avatar
  • 2,261
6 votes
2 answers
2k views

What's the RPi camera board called (internally)?

I connected a Rpi-camera board to the camera socket on my RPi (not a usb webcam). I have been searching the internet on how to call the camera in Python. The camera works (raspistill and raspivid both ...
gieldops's user avatar
  • 183
6 votes
1 answer
14k views

How can I install raspistill/raspicam on a distro that doesn't include them?

I'm using a pi distro that includes the proper kernel and everything, but not raspistill or raspicam. How can I install these?
goldilocks's user avatar
  • 58.5k
5 votes
1 answer
9k views

Camera, Ubuntu, modprobe bcm2835-v4l2 ERROR: could not insert 'bcm2835_v4l2': Operation not permitted

I have added a camera to the raspberry but I get the following when trying to load the driver: root@deadlock-desktop:~# modprobe bcm2835-v4l2 modprobe: ERROR: could not insert 'bcm2835_v4l2': ...
www.jensolsson.se's user avatar
4 votes
2 answers
4k views

How to access raw Pi Camera data?

I am trying to use a Pi Camera to take various pictures, but only if the overall picture is not pitch black or really dark (as I will mount it in my office and do not want it going while I'm away). I'...
red_kb's user avatar
  • 93
4 votes
3 answers
7k views

Relative benefits of standard vs NoIR module cameras for Raspberry Pi

I'm looking at the module cameras available in Amazon, and it seems a clear choice between the standard module camera and the NoIR version (which is the same as standard but with infrared filter ...
geotheory's user avatar
  • 575
4 votes
1 answer
3k views

Raspberry Pi Camera Not Showing Preview Onto Touch Screen

I have a 2.8 inch touch screen that plugs into the GPIO pins on my Raspberry Pi 3. https://www.adafruit.com/product/1601. I have a raspberry pi camera that I attached to the pi. I am using the ...
Geeoon Chung's user avatar
4 votes
1 answer
5k views

What is the speed of the Camera Serial Interface (CSI) and its cable?

What is the speed of the CSI interface and cable? I'm looking for an answer that is in either x kb/sec or x secs/picture.
Human's user avatar
  • 1,188
4 votes
2 answers
3k views

raspistill annotation timestamp not updating

When doing a timelapse, the annotation only shows the initial timestamp, not the current timestamp of each frame - which makes imho no sense? Am I doing something wrong? Is there any quick workaround? ...
Daniel's user avatar
  • 141
4 votes
1 answer
10k views

How do I downgrade Raspbian?

I have Raspbian Jessie and recently I did sudo apt-get dist-upgrade and after that update, my Raspberry Pi camera stopped functioning. How do I downgrade Raspbian in order to get my camera working ...
Human's user avatar
  • 1,188
4 votes
1 answer
5k views

Installation of Zbar failed

I'm trying to install Zbar but I am having an issue with ./configure: checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no configure: ...
Tagadac's user avatar
  • 193
4 votes
2 answers
14k views

PIL.Image from picamera.capture()

I want to get an image from the pi camera module and use the pillow imaging library to modify the image. The way I have been doing it up to now is to take a picture with the camera and then open that ...
Jonathan's user avatar
3 votes
1 answer
3k views

UV4L crashes after failed WebRTC connection

I have a resin.io project and I'm trying to get WebRTC streaming to work. I used instructions from here to modify my Dockerfile. What I'm doing: Install UV4L software: RUN apt-get update &&...
Leonti's user avatar
  • 131
3 votes
2 answers
3k views

Unable to capture image using the Raspberry Pi Camera Python

The raspistill -o image.jpg command successfully captures images. But when I try capturing from a really simple Python script, I get an error. The script is from picamera import PiCamera cam = ...
MAAI's user avatar
  • 63
3 votes
1 answer
2k views

KeyboardInterrupt Handling with picamera

So I have a python program in which I'm using the picamera library to shoot pictures and record video. I'm using my program for scientific purposes and my goal is keep each picture as close to the ...
C. Zach Martin's user avatar
3 votes
2 answers
28k views

Using other camera modules to build custom webcams

I have three old iPhones (iPhone 3GS, iPhone 3G and an iPhone 4) that I recovered from family members that were going to throw away. I had the 3GS so out of curiosity I disassembled it and recovered a ...
Arthur Collé's user avatar
2 votes
1 answer
1k views

Motion terminating immediately

I have set up my Raspberry Pi 3 model B v2 and the Raspberry Pi camera module 2.1. The camera works, I can take pictures with raspistill and access them via SSH. Querying the camera properties with ...
Thomas Weller's user avatar
2 votes
0 answers
1k views

Motion exiting without any error (USB web camera)

I am trying to use Raspberry pi as a web camera streaming server. I am following this tutorial which uses Motion tool. When I start the motion service, it exists without giving me an error and when I ...
Prakash P's user avatar
  • 123
2 votes
3 answers
10k views

Execute raspistill from Python

I was trying to capture images using the Python picamera module and was always getting Timed out waiting for capture to end error (See this question). Since the shell command raspistill works fine, I'...
MAAI's user avatar
  • 63
1 vote
0 answers
77 views

How to reduce capturing time in raspberry pi camera? [duplicate]

I am working on a program on raspberry pi b+ model, my program needs to capture images from a raspberry pi camera attached i used this code to capture images: cmd='raspistill -o '+filename+' -t 10 -...
Prince's user avatar
  • 11
1 vote
1 answer
6k views

Access numpy array in openCV

Using the documentation here here, the code import time import picamera import picamera.array import cv2 with picamera.PiCamera() as camera: camera.start_preview() time.sleep(2) with ...
Kingdavidek's user avatar
1 vote
3 answers
1k views

can i power 2 raspberry pi 3 B+ using a USB hub?

i like to power 2 Rsp3b+ via a Power USB hub, i have a usb power hub that is 12v @ 2A and im worrying it will blow or burn the ic's of the pi's due to over voltage, would this be true? I like to add ...
Arlet Paz's user avatar