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
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 ...
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 ...
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 ...
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 ...
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.
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?
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 ...
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 ...
15
votes
3answers
28k views

Enabling high resolution capture from web camera

I'm experimenting with using the Pi for web cam streaming and motion detection, with the motion app. Trying a few different web cameras and combinations with other hardware, I've found one combination ...
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/...
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 ...
13
votes
1answer
4k views

Can the video acceleration on the Raspberry Pi be used for video compression for surveillance and recording?

I was wondering about installing the Raspberry Pi as a video recording device and connecting a USB camera to it. Of course, I'd rather compress it using something like MPEG. Does the hardware support ...
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 ...
12
votes
2answers
39k views

How to start Motion in daemon mode on RPi running Raspbian Jessie

I have recently get to set up motion with my RPi but I have a problem which is simple one one hand, but, on the other, can’t find any step-by-step instructions to remedy it. Although I have ...
12
votes
4answers
5k views

How do I detect the type of camera installed?

I need to know how to remotely detect whether an 8mp or a 5mp camera module is connected to the rpi for implementation in an embedded project. Any help?
11
votes
2answers
10k views

No option to enable a camera in “sudo raspi-config” [duplicate]

I would like to enable my camera in my Raspberry. But when I go to sudo raspi-config, I don't have an option to enable/disable my camera. I've already tried to upgrade and reboot my Pi, but it doesn'...
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-...
10
votes
3answers
9k views

Pi Camera - how to create a flash?

I have a need to take photos with the Pi camera, but to illuminate the subject. The subject will be 1m or so away, but will be in total darkness most of the time. Therefore, I need a flash of some ...
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, ...
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 ...
9
votes
2answers
7k views

How to change focus on Raspberry Pi camera?

I'm having trouble getting the camera to loosen. I need to change the focus so I can attach an external wide angle lens to remove the blurriness. However, no amount of prodding seems to work. Has ...
8
votes
2answers
5k views

Are there any alternatives to the Pi Camera?

What sort of support is there out in the wild for non-official cameras which are supported by or compatible with the Raspberry Pi, with or without use of the special interfaces?
8
votes
2answers
12k views

Is there a way to Stop/Pause an actively recording/on raspi camera?

Starting the Raspi Camera is rather trivial: raspivid -t 10000 -o test.h264 Problem: There is no way to stop this. This seems really stupid to me as, to the best of my knowledge, there is no camera ...
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 ...
8
votes
3answers
6k views

Enable camera without Raspi-config

I would like to enable the raspberry pi camera without using raspi-config, as I need to do this in an automated bash script. Anyone know how? ended up pulling this out of raspi-config #!/bin/bash ...
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 ...
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 ...
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 ...
7
votes
2answers
16k views

Reading barcode with Raspberry Camera and zbar

I'm Trying to decode barcodes using Raspberry Camera-board and zbar tools. So far it has not worked since the image captured by the Camera is fuzzy: the barcode is either too close or too far to get ...
7
votes
5answers
22k views

Webcam disconnects after a few hours of running motion

I've been working on getting a Raspberry Pi webcam set up, thanks to a how-to post on PingBin. However, I cannot get past a problem where the camera becomes lost after a few hours of taking snapshots. ...
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 ...
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 ...
7
votes
2answers
14k views

CCTV housing that fits the Raspberry PI [closed]

I'm looking for a CCTV housing that fits the Raspberry PI and the camera board in for under £10 (or very near to £10). It needs to be: waterproof / made waterproof with silicon sealant at least ...
7
votes
1answer
3k views

Advantages of Raspberry Pi 15-pin MIPI camera interface (CSI) connector cameras above USB webcams?

What are advantages of cameras dedicated for Raspberry Pi (I mean those connected via dedicated camera connector and tape) above those usb webcams ? Is it just economy advantage (better value for ...
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
1answer
779 views

Looking for a starter kit for my 10 year old

My daughter would like to get involved with computers. I have heard that a Raspberry Pi is a good place to start. Her mother and I think that she would like to create a motion sensor camera so she ...
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 ...
6
votes
5answers
4k views

Raspberry Pi as surveillance cam?

I want to use the Raspberry Pi and the camera board as surveillance camera: As soon as a movement is detected, an event shall be raised, e.g. a mail sent. What I am wondering about: Do the typicall ...
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 ...
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
16k views

Configuring uv4L for webRTC using USB camera on RPI2 raspbian

To make a UV4L WebRTC client for KMS, i am trying to run a USB camera on RPI2 with the UV4L driver, I Tried with the Microsoft lifeCam, which is UVC compliant. Tutorials only show this working with ...
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 ...
6
votes
3answers
512 views

Homebrew Security Camera Network

I've been experimenting with my pi and the camera module designed for it. So far with a single camera things have been great. I started with my own code in python using the 'picamera' interface. Over ...
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
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)...
6
votes
1answer
10k views

How can I send a constant stream of the camera module to the screen?

Right now if I type: raspistill -t 60000 I can see the image on screen for 60 seconds, but I just want to show what the camera sees at all times. I am connected via HDMI.
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 ...
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 ...
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
1answer
1k views

2 usb webcam on raspberry pi with OpenCV

I would like to connect 2 usb webcams to a RaspberryPI and be able to get at least 1920 x 1080 frames at 10 fps simultanously. This will be done using OpenCV. Has anyone done this and knows if this ...