Questions tagged [camera]

Use the Camera tag for any questions related to how to use a camera or webcam with the Raspberry Pi.

Filter by
Sorted by
Tagged with
50
votes
8answers
192k views

How can I stream H.264 video from the Raspberry Pi camera module via a web server?

So I got the Raspberry Camera today and got stills working fine. Capture an image in JPEG format: raspistill -o image.jpg Capture a 5-second video in H.264 format: raspivid -o video.h264 I do not ...
93
votes
14answers
438k views

How to stream video from Raspberry Pi camera and watch it live

I am new to the Raspberry Pi and even new to the Raspberry Pi camera. I have seen a lot of tutorials online for the Raspberry Pi camera but have yet to find on that lets me stream straight from the ...
5
votes
4answers
9k views

How to control multiple raspberry pi's at once over ethernet?

My mac is connected to four raspberry pi's using a desktop switch. My mac has ip 192.168.1.90 and my RPi's 192.168.1.11, 192.168.1.12, 192.168.1.13, 192.168.1.14. I can control them via ssh using the ...
16
votes
3answers
49k 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 ...
8
votes
1answer
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 ...
4
votes
4answers
3k views

Is it possible to trigger 10 (or 100) Raspberries to take photos at the same time using WiFi?

Can a system consisting of 10x Raspberry Pi's, 10x RPi Camera Modules + WiFi dongles be reliably & consistently synchronized over WiFi to take photos at the same time? Or are radio triggers a ...
6
votes
1answer
3k views

Take picam image while motion is running

I am running motion on my raspberry pi using the V4L2 driver. While motion is running, I can't take a snapshot using raspistill. Is is possible to take a snapshot of the virtual V4L2 device using ...
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 ...
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/...
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 ...
2
votes
1answer
555 views

Capture image when camera is not covered

I am very new to R Pi, but I know my Python. I am working on a project where I have an always running camera, that is kept in dark. What I need to do is to capture an image when there is light. (lets ...
21
votes
2answers
56k views

How to stream raspivid to Linux and OSX using GStreamer, VLC or Netcat?

How can I stream video stream to Linux or OS X using raspivid and either VLC, GStreamer or Netcat?
37
votes
8answers
90k 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 ...
13
votes
2answers
30k 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/...
12
votes
2answers
20k 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 ...
7
votes
2answers
20k views

How do I make my Raspberry Pi act as a wireless USB controller?

I am trying to control my Canon 550D with the EOS Utility (on my Mac). In theory, this is what I am looking for: The RPi plugs into the 550D and is connected to a LAN. My Mac is on the same LAN, and ...
18
votes
4answers
14k 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 ...
28
votes
2answers
4k views

Can I use a USB webcam?

Is it possible to use a standard USB webcam with the RPi, or is there a specific peripheral that should be used? I would like to use RPi's to stream images from webcams to the net.
5
votes
3answers
11k 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 ...
8
votes
5answers
8k 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 ...
6
votes
1answer
3k views

Uncompressed Video recording

Picamera records by default at 1920*1080 resolution (Full HD) and it is very clear. But all the videos are compressed using h264 (MPEG-4) codec. Can I get the uncompressed video recording since the ...
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 ...
6
votes
1answer
6k views

Camera modules v2.1 - what's new?

There are new versions (v2.1) of both the standard and NoIR camera modules on sale as of this morning (see http://raspi.tv/2016/new-8-megapixel-raspberry-pi-camera-2-1-launches for some brief coverage)...
3
votes
1answer
2k views

Split screen cloned display

Is it possible to split a Raspberry Pi display so that it shows up twice on one screen? I'm building a costume that covers my face. To be able to see, I've got a Raspberry Pi with Pi Camera and a 7" ...
3
votes
1answer
6k views

Capturing Video in Low light?

I want to capture in low-light and have NoIR picamera. I change the exposure_mode to off and set shutter_speed and iso. import picamera with picamera.PiCamera() as camera: camera.resolution =...
2
votes
1answer
167 views

Take 5 images a second, triggered by motion sensor, switching between 2 cameras depending on time

I'm working on a project similar to a security camera with a Raspberry Pi NoIR Camera Module v2 and a FLIR Lepton 3.5 on a purethermal 2. I am somewhat new to this and am not sure how to proceed. ...
1
vote
1answer
165 views

How can I diagnose a headless Raspberry Pi Zero W that hangs?

I'm trying to run my Pi Zero W as a motion detecting camera using RPI cam web interface but it keeps hanging after a few hours at most. Before it hangs, it can record motion detect videos and upload ...
3
votes
3answers
2k views

Pi camera synchronization

Is it possible to synchronize multiple Pi cameras by synchronizing all their main Pi clocks to a single NTP server, and then commanding them to start taking frames at the same time? (using some ...
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
vote
1answer
3k views

Convert the frame data from recording into a numpy array

I'm trying to take a recording with picamera and have all the resultant frames in an rgb numpy array. To this end I've found the piRGBAnalysis class, but I'm a bit confused about how to use it. ...
0
votes
0answers
120 views

issue with RTSP

I'm trying to make motion works. I've been able on my windows computer to read the rtsp stream of my sricam SP017 with VLC with URL rtsp://192.168.0.13:554/onvif1. However, on my pi (raspi 3+, ...
9
votes
3answers
16k 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 ...
6
votes
4answers
30k views

RPi OCR or how to read a number from the camera

Tried googling first but could not find any interesting hits relevant to what i am looking for. The wild idea is to put a camera in front of an energy meter or watt meter display and read the ...
6
votes
3answers
22k views

Picamera taking pictures fast and processing them

I'm working on a school project where I have to make a robot move parallel to a wall and stop when it sees a big red square. For this I have the picamera module and the openCV library. I have working ...
7
votes
2answers
11k views

Pi camera v2 - fast, full sensor capture mode with downsampling

I've a Pi camera v2 which I'm planning to use with an RPi3 for a computer vision project. I need to capture full sensor images from the camera - no cropping. The resolution actually used by the ...
13
votes
6answers
32k views

Streaming H264 with Logitech C920

I have a logitech C920 webcam. It has the ability to directly encode the video in H264. I want to reproduce what was done with a Beaglebone, but using a Raspberry Pi: send a H264 stream to the ...
3
votes
2answers
21k 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 ...
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 ...
4
votes
3answers
17k views

Best way to stream video over internet with RPi?

I'm wondering what is the best way that I can stream video from the camera module over the internet. By "best" I mean lowest latency (can't suffer a second delay for example, this is a real-time ...
32
votes
4answers
38k views

What cameras can I connect to the CSI connector?

The model B comes with a MIPI Camera Serial Interface connector, but it's hard to find a store that'll sell you a chip or camera to interface with it. The only thing I've found so far is the the ...
10
votes
3answers
16k views

How to increase the camera exposure time?

I am taking pictures in very dark environment, and I would like to obtain a brighter image. How do I increase the exposure time? I've tried the following: different exposure mode, like night, ...
7
votes
1answer
28k views

“Failed to open video device /dev/video0 no such file or directory” with normal working usb camera in motion

I have a normal usb 2.0 cam. Connecting it to my pc, it works perfectly. It is not working with my raspberry pi (2). I had installed motion and it had worked good before 2/3 weeks when I tried it but ...
5
votes
4answers
27k views

Streaming live from the picam

I have tried to install Motion to stream from the cam. So I went to: RASPBERRYPI-IP:8080/8081 but it didn't show me my stream. I have no idea how Motion works and I am curious if this is the best and ...
1
vote
1answer
2k views

PiCamera circular buffer piped to gstreamer

I have a circular buffer that is monitored for motion and saves clips to disk. Following the everything is a file philosophy, I should be able to write to a Unix pipe like I write to a file and make ...
11
votes
5answers
24k views

Raspberry Pi Camera Rev 1.3 is not detected

I'm using an RPi 2 Model B and I have connected a Raspberry Pi Camera Rev 1.3 to it. I have checked to make sure that the connection is correct (the power LED on the camera is on). I've run: rpi-...
6
votes
1answer
6k views

Autostart videostream without logging in

I am trying to auto-start a script, that starts a video stream via vlc on a raspberry pi with raspi camera. This is the code that starts the stream: raspivid -o - -t 0 -hf -w 640 -h 360 -fps 25 | ...
6
votes
6answers
5k 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 ...
6
votes
2answers
14k views

Can I use the composite video connecor to send video INTO the Raspberry PI?

I am looking to convert video from an analogue surveillance camera (w. BNC connector) into a digital format using a Raspberry PI. I was wondering first if the composite video connector would allow me ...
6
votes
2answers
5k views

Camera Module Turn LED Off

I've made the disable_camera_led=1 change to the sudo nano /boot/config.txt and rebooted my Pi. The issue is the LED has stayed on? How do I turn it off?
5
votes
2answers
420 views

Triggering two USB cameras connected with single Pi at the same time

Is it possible to trigger two Cameras connected by USB to a single RPi at the same time with 1 ms latency?