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
0
votes
0answers
7 views

Troubleshooting v4l2 and camera issues with VLC

So I'm trying to set up a live stream to twitch from a Sony as300 through an Elgato Cam Link 4k into my Pi 4 using ffmpeg. I've been having some troubles getting it working so I decided to try and ...
0
votes
0answers
8 views

How to connect Raspberry Pi 4 to sparkfun OLED transparent display?

I just got the an OLED transparent Display from Sparkfun and I want to make it run, I youtube it but didn't found anything. Please help me with that.
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 ...
1
vote
1answer
807 views

Captured image using RaspiCam got crop

I am working on a project using the Raspberry Pi model B and the Raspberry Pi CSI camera module (RaspiCam). The problem is, captured image area when I'm using raspicam_test which in the raspicam ...
5
votes
3answers
3k views

Not able to detect camera on Raspberry Pi 3

I have installed the "RASPBIAN STRETCH WITH DESKTOP" from https://www.raspberrypi.org/downloads/raspbian/ I have plugged in my camera module correctly (blue stripe facing towards the Ethernet port) ...
1
vote
2answers
5k views

Raspberry pi USB webcam problem

When I try to take an image through the fswebcam, Raspberry Pi 2 shows following error. --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the ...
0
votes
1answer
3k views

Raspberry Camera on Kodi

I am trying to install a raspberry camera V2 8mp on a new raspberry pi 3 running LibreELEC Kodi. Can it be done from Kodi or should I reinstall Raspbian?
3
votes
2answers
2k 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
2answers
359 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: ...
0
votes
1answer
48 views

How to trigger a capture using Picamera when a particular event occurs (for eg, whenever a specific object appears in front of the camera)

I want to trigger an image capture every time a tyre of a set of moving vehicles appears just in front of the picamera. Is there any way to get this done automatically every time a tyre appears in ...
1
vote
0answers
17 views

Arducam blocking i2c

Ive been trying the get the Arducam 16MP IMX298 Color MIPI Camera Module to work with some I2C controlled LEDS. Im able to detect the LEDS and controll them perfectly. i2cdetect -y 1 shows 4 ...
2
votes
5answers
4k views

mmal_vc_component_enable: failed to enable component: ENOSPC

I know this is a common error, but I can now add another instance to the (rather long) list of people with this issue. The camera module isn't initialising the ENOSPC driver. raspistill -o test.jpg ...
1
vote
1answer
2k views

Why is my pi camera v2.1 detected but not taking pictures?

Thanks for your help. Yesterday I moved my Raspberry Pi cam v2.1 with the rpi robot chassis and the camera won’t take pictures. But, the day before, the camera functioned properly. Why do you think ...
0
votes
1answer
248 views

Programming Raspberry Pi Camera with C instead of terminal commands

Disclaimer: not so advanced here! Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized ...
0
votes
2answers
782 views

Can't get MLX90640 working

Warning. Really long post. Hi. I’ve been having problems in getting my MLX90640 thermal camera to work on my Raspberry Pi Zero W. I’ve connected the camera to Pins 1,3,5,7,9 as instructed. I then ...
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?
6
votes
2answers
1k views

Capture Photos while Streaming

At the moment, i have Pi Camera > Pi > Ethernet Cable > Pi > Display, and using the codes from, https://www.youtube.com/watch?v=r80dcfzClD4 i am able to stream video from one Pi to another. What i ...
2
votes
1answer
241 views

RPi video streaming through a VPS

I have a VPS and I want to use it as an intermediate server so that users can have access to the video stream of RPi Camera remotely. I searched many posts and most of them are about setting up a ...
0
votes
0answers
23 views

Raspberry Pi Camera V2 resolution reduced

I am testing my Raspi Cam V2 on raspi model 4B running buster, I was able to get 1080p videos at 30fps and it supported the below formats $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 [...
0
votes
0answers
34 views

How to create a person or head (not face) detection using open CV that are not too slow when run in Raspberry Pi 3B+?

Hello guys my problem is creating a program that can detect the head(not face) or human detection for my project One of the program that i see is too slow for raspberry pi 3B+ which is this : https:/...
2
votes
1answer
247 views

Pi Camera streaming via gpio

is there a way to transfer the video stream from one raspberry pi to another via gpio pins? One pi is In a closed container with the camera and the other pi drives the user interface. Networking is ...
1
vote
0answers
83 views

imutils VideoStream(src=0) return VIDIOC_QBUF: Invalid argument in raspberry pi

I am only doing a simple code in my Raspberry Pi 4: from imutils.video import VideoStream # initialize the video streams and allow them to warmup print("[INFO] starting cameras...") webcam = ...
0
votes
1answer
16 views

Getting empty images from picamera module but not raspistill

I wrote a python script to interface with the camera module (I have camera version 2.1). At first I tried with picamera, which has worked in the past. According to pip I have version 1.13 installed. ...
4
votes
3answers
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/...
1
vote
1answer
287 views

Scanning a QR code using a raspberry pi zero or a Pi3 via a command line script

I need to scan a QR code via the command line when a script is run. My current setup is an epaper display with integrated 4 buttons. So far I have each button programmed to run a script to change ...
1
vote
1answer
24 views

RPI official cam results in 256x192 resolution only [Motion]

I use motion to get data from my official rpi camera. This camera allows to use more than 256x192 px resoultion. Problem: Only 256x192 resolution seems possible, even if 1024 resolution is ...
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 ...
0
votes
0answers
61 views

Errors with Lepton FLIR: Red square, unresponsive capture/overlay

I've been trying to set up a Lepton Thermal Camera (breakout v1.4) with a Raspberry Pi Zero W, and a Raspberry Pi 3. I've been following a number of guides but most recently this one. Once I run ...
0
votes
1answer
24 views

converting YUV to RGB change colour to green

I need to save picture without losing any data. Using PNG is not an option as it takes more than 5 seconds to save and this is too slow for my project. I used campera.capture('image01.data','yuv') as ...
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 ...
4
votes
2answers
902 views

Which GPIO pins does the Pi Zero camera use?

I'm working on using the Raspberry Pi Zero camera as well as other sensors simultaneously. But while trying to figure out which GPIO pins the camera uses, so I know which ones I have left for other ...
0
votes
1answer
53 views

build a minimal camera (OV5647 + microSD + ?)

I want to use the OV5647 camera module to start to store data (as soon as it is fed, I don't know yet whether in photo or video format) to a microSD choosing a specific rate and resolution (e.g. ...
0
votes
1answer
37 views

Control Motor via Raspberry Pi connected to a Laptop (running code via PyCham)

currently working on a project with detecting objects via a Camera Module and controlling motors based on the camera detection (if object is in sector A, move motor B down, etc.) using Python. The ...
0
votes
1answer
41 views

What is the earliest place in the boot process where camera (raspistill) can be used?

It seems that right after local-fs.target doesn't work. Any idea what prevents it from working early in the boot process?
1
vote
2answers
757 views

Camera causing Pi to reboot?

I have a Pi Zero with the version 2 pi camera. Lately, when running a program that takes pictures continuously (about once every 2 seconds), the device completely stops and reboots. The program works ...
1
vote
1answer
391 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 cam using my RasPi Zero W, the latest version of the RasPi camera module and an i2S microphone. I have found some RasPi action cam ...
0
votes
1answer
103 views

Safest way to write images at a high framerate with Raspberry Pi

I'm planning on setting up a timelapse camera with the official raspberry pi camera v2 using raspistill. The frequency of the captured images is relatively high (10+ fps), but I do NOT need realtime ...
0
votes
1answer
74 views

Is it possible to obtain multi-spectral images with pi zero camera OV5647?

I am trying to capture multi-spectral images with a pizero camera V2.0 with Ssensor OV5647. I want to know how is it possible or if there is some commands? Thank you
1
vote
1answer
286 views

Why do I get an error message tells me that Pi Camera is not enabled even though it is?

I'm trying to run some code and it works with the Pi Camera and the Lepton FLIR camera, but the problem is that when I try to run the code I get a bunch of error messages ending with a line that says: ...
1
vote
1answer
116 views

Connect a camera module with parallel camera interface to RPi

I want to connect the MT9M001 camera module directly to RPi. The camera (chip itself) has a 10 bit parallel interface. Is it possible to connect such cameras to RPi without additional chips?
0
votes
2answers
420 views

Rpi camera as webcam has low quality

I want to capture high quality images from RPI using Chromium and the Rpi camera as webcam. If I take photos with raspistill I can get 8MP quality. I'm trying to do the same within the browser but ...
1
vote
1answer
225 views

Camera pretrigger capture

Hi i want to make a program that will continually record a video and on a press of a button, it will save 2 minutes before i pressed the button is it possible to do it somehow ?
0
votes
1answer
97 views

Develop RPi framebuffer program on Linux laptop

Is there any emulator or some other way to develop a program for my 320x480 Adafruit PiTFT screen (available as /dev/fb1) on my Linux Mint laptop? The program currently gets images from Pi Camera, ...
0
votes
1answer
35 views

Raspberry Pi Dashcam feed cable through closed car door?

weird question, i am sure but there is a good reason. We have a bike rack at the back of our van and when we drive I see poorly out the back. I have to use the side mirrors when of course the middle ...
0
votes
0answers
17 views

CompoundPI unidentified server problem

I am trying to use CompoundPI (https://compoundpi.readthedocs.io/en/release-0.4/quickstart.html) with two RPIs and an ubuntu client. CompoundPI connects multiple RPIs, that each of them has a picamera,...
1
vote
1answer
83 views

How to detect if camera is unplugged from CSI bus when it is running?

I am having an issue as below. I make a Qt application to show video got from the camera module. And when showing video, if the camera is unplugged from CSI bus, I must know that and show a warning ...
0
votes
2answers
274 views

Why do I keep seeing a red box when trying to connect my FLIR thermal scanner?

I am connecting the Lepton FLIR thermal scanner to my Raspberry Pi and I've gotten everything setup and working but when I try to run the program all I see is a red box surrounded by black. ...
0
votes
0answers
16 views

Need advice for live camera feed

I'm helping with the AV for a veterans day event in a few weeks. Because of the cramped space, the people on stage will be facing the front of a gymnasium and the audience will be on bleachers on both ...
0
votes
2answers
93 views

Virtual Reality with RPi 3

I am working on a project in which I am trying to combine two seperate USB webcamera's to create a pair for virtual 360 degree footage. Can RPi 3 encode this video and send it to a smartphone ...
1
vote
1answer
6k views

NGINX Reverse Proxy IP Camera HTTPS and RTSP

I'm new to the Rasp Pi so am at a stage where I'm following existing instructions rather than knowing for sure how to solve problems. I'm trying to set up a reverse proxy on the Rasp Pi, using NGINX ...