Questions tagged [camera]

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

316 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
558 views

Custom camera driver

Is it possible to write a driver, say for a OV camera, based on the existing drivers at the RPI git repo? As is I understand, with a datasheet for a sensor it should be possible to write a similar ...
4
votes
0answers
2k views

Can the Compute Module 3 support 240fps from the Pi Camera v2?

The Compute Module 3 supports CAM1 with 4x Lane CSI MIPI as does the official doc for the Sony IMX219 camera module. It has been explained in many places that the reason the standard Raspberry Pi ...
3
votes
0answers
864 views

uv4l usb camera stream not working

I am using a raspberry pi 3b+, trying to make the usb camera work with uv4l streaming. These are the packages I've installed: uv4l uv4l-raspicam uv4l-raspicam-extras uv4l-server uv4l-uvc uv4l-...
3
votes
0answers
562 views

How to connect CMOS image Sensor to Raspberry Pi

I'm wondering if it would be possible to take an image sensor out of an old camera and plug it in to a raspberry pi via the csi connector. For Example would it be possible to take one like this from ...
3
votes
0answers
189 views

Are the camera and display connectors of my 3B+ soldered the wrong way around?

I recently purchased a new 3B+ board and although the board board itself is working fine, I can't get the PiNoir camera to work. The camera works fine on an another 3B board. I tried several tricks on ...
3
votes
0answers
1k 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
0answers
1k views

Is there a unique device ID for pi cameras?

I have multiple pi3s and multiple v2.1cameras. I'm taking pictures with a python script using picamera, I use the pis mac address as an identifier for the pi but I was hoping to be able to get a ...
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
0answers
661 views

Running two cameras at the same time (Pi Camera & USB camera)

I would like for my project to have one camera (PiCamera) Streaming video. And another USB Camera (PS3 Camera) taking pictures when I execute this function: def grabPicture(self): grab_cam = ...
3
votes
0answers
367 views

Show *modified* video from camera on screen

There are many tutorials how to show video from camera on screen (like this one). I need to modify video stream with simple but custom filter. Stream may be low-res, so CPU should have enough juice. ...
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 ...
3
votes
2answers
1k views

Raspberry Pi Zero and USB camera Issue

I have a video streaming application which works well on the Raspberry Pi 2. I am trying to switch out the Pi 2 and move everything to a Pi Zero. When I connect the USB camera to the Pi Zero ...
2
votes
0answers
317 views

MJPEG over HTTP camera streaming for libcamera?

I have (had) a little python based web server that I used with a Pi4 with a NOIR camera to periodically watch my workbench when I wasn't there. It is (was) using picamera, which it seems isn't going ...
2
votes
0answers
31 views

HQ Camera: Save as BMP file not working consistently

I've been working on a project using the HQ camera where I want to take a small bitmap image (100x100), do some analysis on the bmp file, and using that information determine whether that exposure ...
2
votes
0answers
27 views

Multiple camera modules for analyzing objects up close

I want to build a system where there are 3 cameras connected to the Pi (v3), for up close image processing, the quality isn't necessary, as long it can detect small objects (~0.5cm wide to ~8cm long) ...
2
votes
1answer
662 views

Raspbery camera, video stream at 3280x2464

According to this page Raspberry camera v2 can produce video stream with resolution of 3280x2464. However, all my tries with raspivid and gstreamer/v4l2 fails. Knows someone how to reach this video ...
2
votes
0answers
430 views

How can I use the 200 seconds exposure time in Raspberry Pi HQ camera?

I would like to use the Raspberry pi HQ camera for astrophotography. I have read in this answer and comments on this question that I should be able to use a maximum exposure time of 200 seconds. This ...
2
votes
0answers
136 views

Using Motion to Post Photos Captured to API

I am attempting to build a program that will automatically post the photos taken by motion from my usb webcam to a rest API, and have ran into some problems. My livestream works correctly, and it ...
2
votes
0answers
680 views

picamera: capture a frame while continuous capture in background

I'm capturing a timelapse with the picamera module for python: def capture_thread_task(self): filename = os.path.join(self.SAVEPATH, self.safe_camname + '_{timestamp:%Y%m%d-%H%M%S}-{counter:03d}'...
2
votes
0answers
544 views

How to activate infrared mode on camera

I have an IR-CUT camera module. I have an external IR LED source on. How do I explicitly activate similar "night mode" for my camera module? If I have all of the lights off, I can take a picture in ...
2
votes
0answers
153 views

Issue with Raspberry Pi 4 OpenCV

I have been using OpenVINO + NCS2 on a raspberry Pi 3b+ with no issues for an IP camera security application (object detection). I then upgraded to Pi 4 looking for better performances. The object ...
2
votes
0answers
50 views

Dual Camera Issue

I recently set up my raspberry pi to run as a home security camera. I am using a pi NoIR camera module and the raspi cam web interface software. It works perfectly, however I am simultaneously ...
2
votes
0answers
809 views

Pi Camera choppy video/skipped frames

I'm using the Pi camera to record 30 seconds of footage, triggered by an IR break beam sensor. This is running on a Pi 3 B+. I've soldered in all the wiring using an Adafruit Perma-Proto Pi Hat. My ...
2
votes
1answer
4k views

Calculating focal length of Raspberry Pi Camera

This article claims you can calculate the focal length of the Pi camera with the equation: F = (P x D) / W where: W is width of known object D is the object's distance from the camera P the ...
2
votes
0answers
58 views

RPI - Nikon 1J5 - Wifi Trigger (help)

I've setup a timelapse stepper motor slider with the RPI. Upon boot it starts the slider with a specific step & delay. Goes back and forth until the RPI is powered off. I have a Nikon 1J5, for ...
2
votes
0answers
2k views

RPi camera stream to OpenCV in Python

I have been searching everywhere and tested what seems to be everything in order to get OpenCV in python to accept a video stream through gst-launch-1.0 from a RPi camera connected to a RPi. So far, I ...
2
votes
0answers
292 views

UV4L wont allow multiple users on .mjpeg stream

I'm trying to make a survaillance system with UV4L i already succeed to play i live streaming and record the live stream from UV4L the problem is that when UV4L detects more than 3 users it blocks the ...
2
votes
0answers
988 views

How to capture non-fish-eye video with wide angle lens?

We're using this fisheye lens: https://www.amazon.com/SainSmart-Fish-Eye-Camera-Raspberry-Arduino/dp/B00N1YJKFS/ref=sr_1_1?ie=UTF8&qid=1511631477&sr=8-1&keywords=raspberry+pi+wide When we ...
2
votes
0answers
1k views

High speed photography using RPi Camera module

I'm trying to capture high speed water flow movement in a small dark chamber with a cool white 5 W high power LED as a flasher. My target is to achieve quick exposure using 0.8 millisecond light pulse....
2
votes
0answers
275 views

How to Stream MJPEG from Pi camera?

I want to make something like Surveillance system from pi camera. How can I do that with Opencv and pi camera ? Can anyone please help me to understand How can I do like this example. I am not a pi ...
2
votes
0answers
287 views

How to take stereoscopic images of moving target?

I am trying to build a raspberry pi device that will take a stereoscopic picture of a moving conveyor belt by simultaneously taking a photo from two separate cameras. Since the image is constantly ...
2
votes
0answers
372 views

Latency on a Raspberry Pi camera

I'm making a flight controller and want to stabilize the x-y plane using optical flow, which requires almost instantaneous processing thus requires almost no latency. How much latency does the Pi ...
2
votes
0answers
197 views

Streaming video to a <video> tag

I have the Raspberry camera module, and I try to get the following setup to stream live video to a website: Html code: <video width="640" height="480" controls autoplay> <source src="...
2
votes
0answers
1k views

Live stream to Youtube - sound sync

I have Raspberry pi 3 model b. I stream video and sound (from dedicated camera + usb sound card) to Youtube by command: raspivid -o - -t 0 -vf -hf -fps 30 -b 600000 | ffmpeg -i pipe: -f alsa -ac 1 -i ...
2
votes
0answers
2k views

Live Camera App with Qt

I am trying to write an application using Qt that displays live video from the Pi camera. The Qt example projects "camera" (using QWidgets) and "declarative-camera" (using QML) both run without ...
2
votes
2answers
3k 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 ...
2
votes
0answers
469 views

Camera OV5647 + 3.5 LCD as a real time view

I have a OV5647 camera and 3.5 GPIO LCD. I would like to connect both of them to have a real time view in my Raspberry Pi 3. I would like to also set by programming to turn on the camera after some ...
2
votes
1answer
7k views

Red LED on the Camera is not turning off?

The red LED on my Pi Camera is not turning off. Does this mean the camera is still on even after the camera.stop_preview() command is executed? def setup_camera(): camera = picamera.PiCamera() ...
2
votes
0answers
3k views

Simplest way to grab camera images from Java

I want to write a software that runs on the JVM (in Scala but you can think Java). I am looking for the simplest way to capture images from the standard camera module (v2). I find the raspstill quite ...
2
votes
0answers
132 views

USB/Ethernet Stops Working While Trying to Preview Video

The setup: Raspberry Pi 3, running Windows 10 IoT Core Preview {10.0.14342.1000} Camera: A link to the camera from who I got it from I recently got a USB Camera working for taking pictures, however ...
2
votes
0answers
995 views

Green Tint Raspberry Pi Camera Outside

I am getting a green tint or full green saturation on pictures that I have taken with the Raspberry pi camera module while outside on sunny days. I am powering the raspberry pi from a battery while ...
2
votes
0answers
486 views

Jessie: v4l2 streaming works with RPi 1B+, but not with 2B or 3B

I just recently upgraded my series of Pi's (1B+, 2B, 3B) to Raspbian Jessie Lite. Now, when I try to setup a stream with my Pi NoIR Camera as I did in Wheezy, sudo modprobe bcm2835-v4l2 cvlc v4l2:///...
2
votes
0answers
4k views

Embedding live video stream to a html5 webpage; both camera server and webserver hosted on pi

I have a USB camera connected to my pi. I'm also hosting my personal website on it. How do I create a separate page on my website with authentication and display the live feed from my port 8081 on it?
2
votes
0answers
81 views

Boot error when attempting to install Kinect driver

I am trying to install the kernel driver to use the xbox kinect with my Rpi model B. I have followed the commands found here https://github.com/xxorde/librekinect under example for Rpi with the ...
2
votes
0answers
2k views

How can i connect Note 4 camera module (16M OIS) to Raspberry Pi?

RPi camera directly connects to the camera port, and easy to get it running. However, the Samsung Galaxy Note 4 camera module has a very small port (which is probably slim-stack), and i am also not ...
2
votes
0answers
358 views

RPi A+ and Pi noIR: How to update just the camera driver NOT OS

I have a SD card, with Raspbian and lots of programs installed on it. I want to run it on model A+ and use the pi noIR camera module. The problem is that the OS firmware version is quite old. I know ...
2
votes
0answers
764 views

Raspicam API cannot compile programs

I have installed the raspicam api as per the instructions. There were no errors. Now when I try to compile the example programs or any of my own programs using the API, I get the compile error: ...
2
votes
1answer
2k views

Problem recording video with audio from usb soundcard using avconv

What I'm trying to accomplish in this program is that when video and sound is captured, the output file is .mp4 extension (or some other, like .ogv), with video and sound. I know how to capture video ...
2
votes
0answers
702 views

Raspberry Pi Camera Module As A Streaming Webcam Commands

mmal: Skipping frame 2 to restart at frame 5 mmal: Skipping frame 6 to restart at frame 10 mmal: Skipping frame 11 to restart at frame 16 mmal: Skipping frame 17 to restart at frame 22 mmal: Skipping ...
2
votes
0answers
2k views

camera error mmal: Received unexpected camera control callback event, 0x4f525245

I try to take picture with my raspberry camera, I got this error mmal: Received unexpected camera control callback event, 0x4f525245 any idea???

1
2 3 4 5
7