Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

12
votes
2answers
24k 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 ...
29
votes
13answers
64k 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: ...
3
votes
1answer
11k 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 ....
16
votes
3answers
46k 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 ...
9
votes
2answers
50k 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 ...
8
votes
1answer
1k 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 ...
6
votes
2answers
24k 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 ...
4
votes
2answers
3k 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/...
4
votes
1answer
24k 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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
601 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 ...
36
votes
8answers
88k 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 ...
12
votes
2answers
19k 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 ...
17
votes
4answers
13k 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 ...
8
votes
5answers
7k 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 ...
5
votes
3answers
9k 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 ...
7
votes
4answers
4k 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
4k 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 ...
-1
votes
1answer
394 views

raspicam c++ library

can you give me a tutorial like video or anything about how to use raspicam library...? i follow this url https://www.uco.es/investiga/grupos/ava/node/40 but still don't get it
13
votes
2answers
29k 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/...
8
votes
3answers
15k 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 ...
3
votes
2answers
19k 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 ...
18
votes
3answers
29k 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 ...
6
votes
2answers
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 ...
7
votes
3answers
11k 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 ...
7
votes
1answer
2k 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.
6
votes
6answers
4k 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 ...
3
votes
1answer
2k 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 ...
3
votes
2answers
5k 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 ...
2
votes
1answer
1k 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 &&...
2
votes
1answer
1k 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 ...
6
votes
1answer
2k 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?
6
votes
1answer
6k 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 ...
4
votes
2answers
2k 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? ...
4
votes
1answer
6k 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': ...
4
votes
1answer
2k 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.
4
votes
1answer
4k 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: ...
3
votes
2answers
1k 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 = ...
3
votes
1answer
2k 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 ...
2
votes
1answer
4k 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'...
1
vote
2answers
8k views

recording a video with picamera

I have this code which record a video when there is a motion, and the name of the video is the date that is the code: import RPi.GPIO as GPIO import time import picamera import datetime # new def ...
1
vote
1answer
5k 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 ...
0
votes
2answers
528 views

Picamera Python Library Alternatives

I'm looking for something like picamera python library, for USB webcams. Is there a python library that allows for image capture, and streaming for USB web-cameras?
0
votes
1answer
119 views

raspistill timelapse stops producing output

So I'm trying to run a timelapse for 24-36 (or until storage space is full) but raspistill seems to stop producing output after anywhere from 50-300 stills. raspistill -t 129600000 -tl 5000 -o tlapse%...
0
votes
1answer
937 views

Why raspberry pi camera won't appear on rasp-config?

I am attempting to use OpenCV on my Raspberry Pi 3 running Raspbian Jessie. After installing OpenCV I connected my Raspberry Pi camera 1.3 to the CSI port but the camera's red LED did not light up. ...
0
votes
1answer
218 views

Problems getting NOIR camera board working with OpenCV2

I'm trying to get opencv2 working on a Raspberry PI with a NOIR camera module. As I understand it Opencv doesn't work natively with the camera module; so I'm following this link to try and get it ...
0
votes
0answers
852 views

Raspistill in manual exposure

I found that using raspistill or Camera py module I cannot set lower speeds than 1/30" (converted to nano secs). I want manual camera settings ISO = value and ss = value All is fine in daylights but ...
0
votes
1answer
410 views

Raspberry Pi Camera Module distorted colours

I've been using the same camera module for a long time without realizing some colours seem to be very off. For instance black seems to turn purple or red (see picture below). Is there any settings I ...