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
57
votes
8answers
218k 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 ...
112
votes
15answers
518k 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 ...
22
votes
4answers
68k 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
3answers
18k 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 ...
6
votes
4answers
11k 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 ...
3
votes
1answer
2k 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
1k views

Video Streaming from raspberry zero to an external server

I'm aware of streaming live video using on the RaspberryPi itself as a server. But is there a way to send the video from the raspicam to an external web-streamer so that if I have multiple people ...
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
4k 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 ...
7
votes
1answer
5k 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
5answers
6k 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
27k 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 ...
2
votes
1answer
857 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 ...
23
votes
2answers
64k 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?
38
votes
8answers
94k 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 ...
14
votes
2answers
24k 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
24k 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 ...
20
votes
4answers
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 ...
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.
8
votes
5answers
10k 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 ...
7
votes
1answer
4k 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 ...
5
votes
2answers
8k views

Raspberry Pi4 Error while using 2 USB cameras, VIDIOC_QBUF: Invalid argument

I'm using Python OpenCV to read from 2 USB webcams on a Raspberry Pi4. If I'm using either of the camera individually they work fine. As soon as I initialize both cameras in the script as following: ...
5
votes
1answer
8k 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 =...
8
votes
4answers
7k 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
8k 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
3k 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" ...
8
votes
7answers
14k 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 ...
1
vote
1answer
545 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
3k 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 ...
3
votes
1answer
2k views

Can I use the 2 lane MIPI DSI display port to connect a camera?

I have a camera working fine when connected to the 2 lane MIPI DSI camera port. But I need to connect it to the 2 lane MIPI DSI display port. However when I connect it and check for detected cameras ...
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 ...
1
vote
1answer
148 views

Direct Ethernet IPCam and Wifi for browsing - Networking setup

I would like to connect 2 ipcams via a switch to the RPI 3B+, and use the WiFi to connect to a router (to use the webbrowser etc), and also use the router for VNC The ethernet is used to send ...
1
vote
1answer
4k 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. ...
16
votes
2answers
37k 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/...
11
votes
2answers
15k 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 ...
9
votes
4answers
36k 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 ...
9
votes
3answers
18k 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
3answers
24k 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 ...
3
votes
2answers
26k 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 ...
13
votes
6answers
36k 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 ...
5
votes
3answers
19k 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 ...
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 ...
34
votes
4answers
41k 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 ...
11
votes
3answers
25k 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
47k 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
1answer
6k views

Can the Exposure or Brightness of a Pi-cam be adjusted without interrupting a running process

If I have a running process using the camera (recording, streaming, motion detection or whatever), is it possible to adjust the brightens from a 2nd SSH session or from a different deamon process ...
5
votes
4answers
34k 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 ...
1
vote
2answers
1k views

trying to run 6 USB cameras simultaneously on a single Raspberry Pi 3B+ with add-on 4 port USB hub with external power

We are trying to simultaneously run 6 cameras on a Raspberry Pi 3B+ with an add-on 4 port USB hub that has an external power supply. The cameras are set at 15 FPS with a colour image size of 640 X 480....
15
votes
6answers
36k 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-...