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
3
votes
2answers
2k 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
0answers
919 views

How to properly trigger multiple Raspberry Pi camera modules via GPIO?

I am working with three Raspberry Pi 3 B boards, which in turns have RPi camera modules V2 connected to each. I followed this very detailed post about triggering another Pi using GPIO pins and it ...
3
votes
0answers
987 views

CM Stream Dual Cameras simultaneously

I'm a beginner user. My goal is to stream low-latency dual cameras to pc, and then record&save the videos. Using the Compute Module & IO Board, I have done this: https://www.raspberrypi.org/...
3
votes
2answers
2k views

Can I set the camera's shutter speed for video?

I need to have a low shutter speed to be able to capture a light that is only on for a few milliseconds each frame (light synced with camera fps, but only want it to capture when the light is on). How ...
3
votes
0answers
2k views

Pi 2 Windows IoT support for onboard CSI camera port

I am working on IoT technology, in one of my project I want to connect to on-board camera with Raspberry Pi 2 having Windows 10 IoT core. Two months back I found Windows IoT on the Raspberry Pi 2 ...
3
votes
1answer
294 views

Picam noir issue

when I try to take a picture using my Pi Camera this error message is returned: raspistill -o image.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component ...
3
votes
1answer
776 views

navigator.mozGetUserMedia() returns “Starting video failed”

I am trying to use my Raspberry Pi 2 and Raspberry Pi Camera to join a WebRTC session in the browser. I was able to set up a WebRTC server on my Pi through this tutorial and I am able to start/join a ...
3
votes
0answers
842 views

Raspicam has low fps for OpenCV

So far, I've tried these tutorials: 1 & 2. I have also attempted to use this code to test it out, and the fps rate is quite low. It's just 2 -3 fps, which is not as high as when I stream via vlc ...
3
votes
3answers
1k views

PiCam Not Working (At All)

As I recently bought the Picam, I tried capturing an image with : raspistill -v -o file.jpg But I got this error : "No data received from sensor. Check all connections, including the Sunny one on ...
2
votes
1answer
7k views

RPi camera v2.1 not working

New camera module showed up in the post this morning and I'm trying to run some tests. Unfortunately I've got software problems straight off the bat. I'm attempting the tests on a Pi A+. I've run ...
2
votes
1answer
2k views

Where does raspistill save the thumbnails?

I am trying to create a timelapse with raspistill. What I would need is to have a thumbnail image as well. Reading the documentation I've found that you can use the --thumb flag to specify thumbnail ...
2
votes
2answers
724 views

How to synchronize images from two raspberry pis

I have 2 Pi Zero Ws (wifi), each with a Pi camera connected to them. Both Pis/cams are running on battery power and deployed in the desert. There is no network or internet connection. The cams are ...
2
votes
2answers
2k views

PiCamera v2.1 exposure can't be locked, Python Picamera 1.13

I have posed this question on the Picamera Github issues forum but it has not been answered in nearly a month. Hoping for better luck here. I am running a Pi Camera v2.1 in an industrial measurement ...
2
votes
1answer
5k views

PiCamera updating hflip and vflip more than once

I'm using python 3.4 with a raspberry pi camera connected through csi port on a Pi3. I'm trying to write a program which should control the PiCamera settings through a webpage with Flask. I'm trying ...
2
votes
1answer
2k views

Turning on Camera with code

I found the following code (on http://blog.oscarliang.net/raspberry-pi-face-recognition-opencv/) import cv cv.NamedWindow("w1", cv.CV_WINDOW_AUTOSIZE) camera_index = 0 capture = cv.CaptureFromCAM(...
2
votes
1answer
3k views

Fast image array processing with Pi NoIR camera in Python using picamera module

I'm working on a project with a RasPi in which I have to find a bright spot in an image (the bright spot is fire). I've written a function (code below) which captures images to RGB arrays using the ...
2
votes
2answers
1k views

How the data transmission of the non-ir-filter-cam works

How does the transmission of the raspi non-ir-filter-cam work? Can I get a forth value "ir" in a pixel (r,g,b,ir)? Or is an ir pixel just white? In the end I want to have a python script that has a ...
2
votes
1answer
292 views

Raspberry Pi Camera, what's the big deal?

I remember when the Raspberry Pi camera was announced everyone was very excited about this. I don't understand the hype. Are you not able to hook up regular cameras to the Pi? Or maybe use a cell ...
2
votes
1answer
201 views

How to get 10-bit depth black and white image from raspicam v2.1?

I am a little bit confused about image capturing by Raspberry pi camera V2.1 [1]. I work on the Raspberry pi 4 and I know how to get 8-bit depth black and white (BW) image from it on the C++ level ...
2
votes
1answer
71 views

Non Native Raspberry Pi Camera

I am trying to set up this camera to my raspberry pi 4. The fact about this camera is that, according to the seller it's different than the normal v2 cameras that we typically install on raspberry pi ...
2
votes
1answer
80 views

What is the name of the lens standard that is used stock raspi v2 cam?

I am looking at getting a wider field of view with my raspi cam. I found a solution using M12 lens mounts and M12 lenses. In the process of fitting the M12 lenses, I am asked to remove the stock lens ...
2
votes
2answers
104 views

First frames of video from Rasp Pi camera have a high exposure

When I record video using the v1 of the Rasp Pi Noir camera the first few frames/second have a very high exposure (very bright) and then it settles down to a reasonable exposure setting. Because the ...
2
votes
1answer
2k 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
2k views

Converting Pygame.Camera or PiCamera image to something zbar can read

I'm trying to simply get an image from either PiCamera or Pygame.Camera, convert it and parse it with Zbar to get any QRCode data in it. I can fetch the images just fine, but it's interpreting them ...
2
votes
1answer
2k views

Pi 2 + camera module = 90 fps - more?

The pi one could do 90 frames/second for high speed photography using the raspberry pi camera module. Can the pi2 get a higher rate with its 3 extra cores + memory ?
2
votes
1answer
19k views

OpenCV cv2.VideoCapture(0) doesn't work

The question is a bit similar to this question. The main difference is that I'm using a different camera (the Raspberry Pi camera board). I've spend a few days exploring Python and OpenCV. I'm ...
2
votes
2answers
848 views

How to get Motion working “On the fly”

I'm wanting to use my Pi as a dashcam and I'll have it set ffmpeg to make mpeg4 recordings. On the Motion website here they describe you being able to generate mpeg films "On the fly." I have done ...
2
votes
1answer
23 views

Raspberry Pi Pi cam module

I am new to raspberry pi and I am planning to buy a Pi cam with night vision. My question is does the slot in raspi board for the pi cam is all the same for all the version of raspberry pi?
2
votes
1answer
8k views

Is there a python picam gui out there?

Before starting to code a new GUI in tkinter (or something similar) for picam, I was wondering if there is something already available. What I am looking for is a simple GUI to set the picam ...
2
votes
1answer
6k 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'...
2
votes
1answer
4k views

Extremely low frame rate when using Opencv for face detection

I have just installed opencv and am following this tutorial to detect faces while displaying a stream. The frame rate is horrible - around 1.5 fps. Why? Code: from time import sleep from picamera ...
2
votes
1answer
985 views

What languages support the Pi camera?

I have been looking around for languages that support the Pi Camera. So far i have seen that the Linux shell supports it (although not strictly a programing language), Python and C/C++. Are there ...
2
votes
1answer
5k 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 ...
2
votes
1answer
3k views

What is the spec on the MIPI interface on PI Zero?

Noticed the latest Pi Zero has a MIPI connector now. Wondering if it supports 2-lane CSI or 4-lane CSI? It's not specified anywhere I can find, only found a part reference to the connector being the ...
2
votes
1answer
292 views

Will the Raspberry Pi Camera Board output to the Raspberry Pi 7" DSI Screen when using the picamera library?

I am working on a project that makes use of the Raspberry Pi 2, a Raspery Pi camera board, and I want to output to the official Raspberry Pi 7" DSI Touch Screen. If I use the picamera library, am i ...
2
votes
2answers
697 views

URL to grab stillshot from camera? [closed]

Using the raspberry pi camera is there a url that can be used to grab a still shot? Similar to https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspistill.md but it would need to be ...
2
votes
2answers
4k views

Recording video in Python and storing it in any format until I press 'q' or 'Esc'

i have installed python3-picamera on raspberry pi and i want to record a video and store it in .avi format untill i press "Esc" or 'q'. I found below program but i don't want to use camera....
2
votes
1answer
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 ...
2
votes
1answer
90 views

Is a digital lens possible?

I have my raspberry pi cam recording pictures with a resolution of 1280 x 720, but most of the picture area, is un-important for the intended use. Is there a way of enhancing the resolution, in a ...
2
votes
1answer
142 views

Show usb webcam on top of raspberry webcam

I have a raspberry pi with a raspberrypi cam and a usb webcam. With raspivid I can display the raspberrypi cam video on screen and with vlc I can didplay the usb webcam. I need to display the usb ...
2
votes
1answer
352 views

RPi video streaming through a VPS

I have a VPS and I want to use it as an intermediate server so that users can have access to the video stream of RPi Camera remotely. I searched many posts and most of them are about setting up a ...
2
votes
1answer
1k views

PiCamera long exposures

Revisiting this issue Raspistill in manual exposure I found that the shutter time of the photo I got from this command raspistill -ss 6000000 -t 30000 -o long_exposure.jpg is 6 seconds as ...
2
votes
2answers
1k views

How can I enable both the cameras on the Compute Module 3?

I am new to using Raspberry Pi devices. I have a problem with enabling the cameras on the Compute Module 3. When I run 'vcgencmd get_camera' I get the output 'supported=1, detected=1'. The ...
2
votes
2answers
4k views

Can't get the camera to work

When I run raspistill -o cam.jpg I get mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't be enabled mmal: main: Failed to create camera component mmal:...
2
votes
1answer
3k views

How do you extract the raw image from a JPEG taken by the v2 camera?

I'm very new to working with the Raspberry Pi. For a project, I must have the raw images taken by the camera instead of the processed JPEGs. If I take a raw image using: raspistill -r -o test.jpg ...
2
votes
1answer
248 views

zbar with picamera only works once after boot

I'm using zbar with python on a raspberry pi to scan barcodes, using the raspicam. (Well I'm attempting to!) The first time I run my python program, it works fine, however, after that, any subsequent ...
2
votes
1answer
3k views

Camera zooms in on preview and zooms out when taking a picture

VIDEO This is the script I run #!/usr/bin/env python from datetime import datetime from picamera import PiCamera from time import sleep camera = PiCamera() camera.rotation = 180 #camera....
2
votes
1answer
997 views

How to cross-compile raspicam code?

How do you cross compile C code for controlling the Raspberry Pi camera on an x86 platform? I'm trying to create a unittest for compiling and testing the code on a generic x86 continuous integration ...
2
votes
1answer
598 views

Problem with raspi camera recording

I have this piece of code: #!/usr/bin/env python #coding: utf8 import RPi.GPIO as GPIO from picamera import PiCamera from time import sleep camera = PiCamera() # pin-count GPIO.setmode(GPIO.BOARD) #...
2
votes
1answer
2k views

Streaming video on a browser from camera pi

Which technology could be the best to stream video on a web browser with the lowest latency in the best quality. Our project is to include a camera pi on a R/C car, so we can drive it in distance. I ...

1 2
3
4 5
10