Questions tagged [camera]
Use the Camera tag for any questions related to how to use a camera or webcam with the Raspberry Pi.
349
questions with no upvoted or accepted answers
5
votes
1
answer
929
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 ...
5
votes
0
answers
763
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
0
answers
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 ...
4
votes
3
answers
2k
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
1
answer
275
views
Raspberry PI 4 B 8Gb running 2 ov9281 cameras with camarray hat: ERROR: *** no cameras available ***
I have a Raspberry PI 4 B 8Gb.
I have this kit (2 ov9281 cameras with camarray hat): https://www.uctronics.com/arducam-1mp-2-stereoscopic-camera-bundle-kit-for-raspberry-pi-nvidia-jetson-nano-xavier-...
3
votes
2
answers
4k
views
Libcamera apps do not work
I'm on Raspberry Pi OS Bullseye, using a Pi 3B. The error message is differing from the ones I could find on previous posts, and there are different fixes by changing dtoverlay in /boot/config.txt. ...
3
votes
0
answers
817
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 ...
3
votes
0
answers
1k
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
0
answers
886
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
0
answers
199
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
0
answers
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
0
answers
2k
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
0
answers
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
0
answers
700
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
0
answers
372
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
2
answers
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
0
answers
229
views
What is ~delay after picamera2.capture_file code until sensor data is captured on Pi Camera Module 3?
I am using Python picamera2 to capture a max res still image from a new Pi Camera Module 3. I create a picamera2 instance (I'll call picam2), configure it ahead (including manual fixed focus) and ...
2
votes
0
answers
673
views
Camera Module 3, on Raspberry Pi 4, running Ubuntu 22.04
Has anyone managed to get the Camera Module 3 working on Ubuntu / RPi 4?
I just bought the new camera to replace an older noir camera.
$ cat /etc/issue
Ubuntu 22.04.1 LTS
$ vcgencmd get_camera
...
2
votes
1
answer
322
views
How to fix the libcamera error 'Could not open any dmaHeap device'
I've two Raspberry PI V2 cameras connected to my Raspberry Pi compute module 4 carrier.
The OS is (64bit) Bullseye 11
kernel is 5.15.76-v8+
libcamera-apps build: 9c5d3191b3f4 02-12-2022 (20:10:40)
...
2
votes
0
answers
306
views
RPi Camera V2 not detected with Raspberry Pi4 running Ubuntu 20.05 LTS
I am running into a problem in which I am unable to have my Pi detect my new RPi Camera V2. I am running on Ubuntu 20.04 LTS (focal) since I am working on a robotics project that requires ROS2(foxy).
...
2
votes
0
answers
117
views
Can not use the USB Camera
I'm trying to connect my USB webcam to Raspberry PI 3. First I tried to reach it with fswebcam image.jpg command, but it got timed out.
--- Opening /dev/video0...
Trying source module v4l2...
/dev/...
2
votes
0
answers
637
views
camera option not showing in Raspberry Pi configuration - interfaces
i have a rpi4 and the camera option is not showing in the raspberry pi configuration - interfaces. i have checked for updates etc and re-booted. in the sub menu i go for the option for the camera but ...
2
votes
0
answers
3k
views
VNC not able to show desktop when legacy camera is enabled
When I connect via VNC viewer to my PI4 I get the screen: cannot currently show desktop. I tried changing the resolution for VNC in the raspi-config with no luck. The problem started occurring after I ...
2
votes
1
answer
140
views
Inconsistent error using HQ camera
I have been having some issues using the HQ pi camera. I am running Rasbian 11, latest apt update 11 march 2022. I use libcamera-still to take images and I call this command using python subprocess....
2
votes
0
answers
64
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
0
answers
525
views
Does V4L2 driver support Raw Bayer capture with HQ camera?
I was under impression that current V4L2 driver supports raw capture, but:
pi@raspberrypi:~ $ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YU12' (Planar YUV 4:2:0)
...
2
votes
0
answers
30
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
0
answers
224
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
0
answers
991
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
0
answers
955
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
0
answers
160
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
0
answers
54
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
0
answers
1k
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
1
answer
2k
views
Need advice on how to record video and audio using my RasPi
As an experiment and learning project, I want to create an action camera using my Raspberry Pi Zero W, the latest version of the RasPi camera module and an i2S microphone.
I have found some RasPi ...
2
votes
1
answer
2k
views
Raspberry Pi Camera Motion Detection via simple script
I have started out my simple security camera project. I am able to take a picture and email it so far.
Allegedly most people are using PIR sensors. Do I need a PIR sensor for motion detection?
How can ...
2
votes
0
answers
73
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
0
answers
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
0
answers
364
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
0
answers
1k
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
0
answers
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
0
answers
289
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
0
answers
290
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
0
answers
432
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
0
answers
226
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
0
answers
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
0
answers
713
views
How to test camera hardware on the Zero
I have a raspberry pi zero and a NoIR camera and the cable to attach the two.
I followed this tutorial (or one similiar) to add WiFi to my Zero and it works. However, when I plug the camera in, it ...
2
votes
0
answers
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
2
answers
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
0
answers
478
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
0
answers
858
views
fswebcam not working
When I try to use fswebcam by running fswebcam --save test.jpg, it works once every time I reboot my raspberry pi. Then it gets to "Capturing frame" before giving an error that says
spca561_decode() ...