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

U4VL WebRTC hardware codec error

I installed U4VL with all the necessary libraries for WebRTC. But the webcam isn't working with hardware codec enabled, I am using the Camera Board V2. I got the following error: In the uv4l-rapicam....
2
votes
1answer
70 views

How to expose for longer than 1/3 of a second with PiCamera HQ using picamera?

I've used the script below to make some under/over exposures in low light levels using the PiCamera HQ and the picamera module. In order to get long exposure times I've found that the camera object ...
0
votes
0answers
50 views

how to control raspberry pi camera from bluetooth selfie button

i bought bluetooth selfie button, so i control pi camera throw bluetooth button. how do i control. i follow this website instruction. i successfully always connect button via raspberry 4 GUI. showing ...
-1
votes
1answer
58 views

How communicate between multiple raspberry pis over the internet?

0 I am working on a project with raspberry pi. I have a little experience with raspberry pi, but not so much. The project is as folows: There are 3 raspberry pi's with each a camera. One raspberry pi ...
0
votes
0answers
26 views

Why does dt-blob-dualcam.dts set both cameras as connected to i2c0 in Compute Module 4?

In dt-blob-dualcam.dts both CAMERA_0_I2C_PORT and CAMERA_1_I2C_PORT are assigned number = <0>;, despite being connected to different pins. Why is that? Relevant devicetree section:...
1
vote
0answers
118 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) ...
0
votes
1answer
53 views

How do I fix poor video quality from rpicamsrc?

After weeks of research, my understanding is that using rpicamsrc to stream video via rtsp is the preferred method. If you do something like raspivid piped to cvlc, you increase latency, etc. Right ...
4
votes
1answer
2k views

Camera Module V2 working on Raspberry Pi 3 but not on Raspi Zero W

I have a new Camera Module V2 that I tried to hook up with a new Raspberry Pi Zero W with this adapter cable. When I call raspistill -o test.jpg I get mmal: Cannot read camera info, keeping the ...
0
votes
0answers
19 views

Random Raspivid failure: tvservice-client

In my application, I run raspivid from Python via subprocess, typically raspivid -t 10000 -o vid.avi. (This is a permanently running app in which an outside event triggers the recording.) Sometimes, ...
0
votes
3answers
1k 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 ...
0
votes
0answers
46 views

Motion on Raspberry Pi: Problems with 2 camera's on USB 4 channel composite video capture device

I'm using Motion on an rPi 4B as a multi camera solution to be used on a boat (to get 180° front view). I tested it with 2 IP camera's and one USB camera and that worked fine. I was able to view the ...
0
votes
0answers
45 views

USB Camera on Raspberry Pi

I'm trying to run a USB camera on my Pi, but haven't found any ways to take a still image on it using Python. Has anyone seen any projects where a still image is taken on a USB cam? I am looking to ...
0
votes
0answers
14 views

My Raspberry Pi Wont Recognize Axis Camera Over Ethernet

I first wanted to say, this is not a duplicate of This Link I recently acquired a security camera, and have spent the last few months reverse engineering components to use it in a stand-alone system (...
0
votes
0answers
32 views

Pi zero camera module suddenly stopped working

I am using Raspberry Pi zero W together with Adafruit Zero spy camera for Pi (product link: https://www.adafruit.com/product/3508 ) for a project. As per the project requirement, the above camera ...
12
votes
6answers
31k views

Failed to create MMAL component b'vc.ril.camera': Out of memory

I am trying to run a simple script that listens for a button click and then takes a picture. Once two pictures have been taken it compares the two using OpenCV to calculate the difference. I am ...
0
votes
0answers
82 views

Can't get 1080p30 / 720p60 from pi camera with OpenCV

I'm new to raspberry and raspberry pi camera. I'm using OpenCV and pi for a project; Using OpenCV and python, I want to get a high resolution video feed to process. On the official web page, it says ...
1
vote
1answer
47 views

Raspistill takes long time to run

I am trying to get my camera run on my raspberry pi 4. I can get an image, but the raspistill command takes about 6 seconds on average to acquire one image. Is it normal? $ time raspistill -o bar.jpg ...
-1
votes
1answer
47 views

What's a good camera with IR-Cut for a Raspberry Pi Zero W

I'm working on an security camera for outside, and want to have vision at night(thus needing Infra-red light, and an infra-red camera), but also don't want that weird pinkish look that an IR camera ...
6
votes
2answers
36k views

How to stream video via socket using OpenCV and picamera

I'm relative new with Raspberry and I'm trying to stream a video to a PC using OpenCV libraries. I already made connection using the camera documentation but I don't know send the frames using OpenCV. ...
0
votes
0answers
38 views

Remote camera control with Java

I'm beginner with raspberry pi. I want to create a project that will send live camera video from raspberry Pi to my android device. How can I do it? How I can control camera with Java? I think the ...
0
votes
0answers
72 views

How to display video stream captured on rasbperry pi camera on an external website?

I am trying to capture video stream using raspberry pi camera and display it on a web page hosted on a CentOS server. This is what I have tried: On the CentOS server, I am listening using: nc -l 11337 ...
0
votes
0answers
147 views

Confusing CSI connectors 15 or 22 pins

I am designing a CM4 board that may accept a camera so I am questioning about the camera connectors and port. The CM4 has two MIPI CSI ports: Camera 0 : 2 lanes Camera 1 : 4 lanes In the standard ...
0
votes
1answer
184 views

ROS Webcam Stream Really Slow

I am trying to stream the images from my camera to a laptop via ROS. Here is my setup: Raspberry Pi 3B+ with USB Webcam. It is running ROS Noetic with usb_camera_node An Ubuntu 20.04.1 laptop with ...
-1
votes
2answers
458 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
0answers
27 views

Average images directly from the buffer

I am writing a script in Python for continuous long exposure image recording that saves n images into the buffer as shown: outputs = [io.BytesIO() for i in range(0, n)] camera.capture_sequence(outputs,...
-1
votes
1answer
80 views

Installing libjpeg62-dev for using modprobe bcm2835-v4l

I need to use the Raspberry Pi camera with OpenCV. For that, I have to run sudo modprobe bcm2835-v4l. But for that, I need to install it. I did it on another RPi a while ago, but I forgot the whole ...
0
votes
0answers
18 views

./camera_i2c: cannot open 5.0: No such file

I am trying to connect an Arducam 8mp syncronized stereo camera to a RP4. While setting it up according to the guide (https://www.arducam.com/docs/cameras-for-raspberry-pi/synchronized-stereo-camera-...
0
votes
5answers
6k views

Help! My Rasperry Pi Camera is not being detected!

So I have a Pi-Cam and a Raspberry Pi 3 B+, and I'm trying to get them to work together. Note: This camera has worked many times before today's errors. A few things: The voltage is fine (red light ...
0
votes
0answers
34 views

Interfacing a camera (HM01B0) with RPi Pico

I want to build an image classifier and plan to use use it on Raspberry Pi Pico. Therefore I need to connect the Pico to a camera. I've got a HM01B0 camera module from Sparkfun here (https://www....
0
votes
0answers
26 views

HQ Camera with GPI Case

I have a Rbpi 4, 4gb with a HQ camera sensor on its way. I looked at the GPI case, very cool design. Could I use its buttons for camera purposes? Like code them to; turn on/off, shutter/record button? ...
1
vote
0answers
22 views

Fast way to copy from GPU to CPU

I have made some image processing shaders to reduce the CPU load. But the slow GPU to CPU data copy is something I didn't expect. (It takes around a second to copy a single image) As far as I know, ...
1
vote
2answers
145 views

How close can the new High Quality Camera focus with the 16 mm C-mount lens? As close as 25 cm?

I have an application that needs to image something in the range of about 25-35 cm from the front of the lens. I'm looking at the new High Quality Camera with the 16 mm C-mount lens. The lens itself ...
0
votes
0answers
35 views

NOIR Camera V2.1 not working in the dark

The camera used to work with pink shade in the morning and even in the dark without additional leds the last time used. I recently used it after a long time on a new system and noticed that it was ...
0
votes
0answers
28 views

Raspistill : Can I take multiple still pictures with different shutter speeds?

I am quite new to Raspistill. I want to take multiple images using my raspberry pi camera V2, but with different shutter speeds (ss). For instance, I want it to open a preview window, and take ...
0
votes
0answers
98 views

Pi 4 video recording/encoding/writing super laggy after few seconds?

I've got the 4GB ver of the Pi 4. Trying to using it with Motion-Project and a NoIR Camera Module V2. Problem is the moment recording starts, it's fine for about 1-3 seconds, then becomes super laggy. ...
22
votes
4answers
70k 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 ...
3
votes
2answers
461 views

How to use 2 (multiple) cameras in raspberry pi and detect objects and depth mapping

I am new in raspberry pi and all the hardware stuff and experienced a bit in java. I have a project which I need to complete pretty soon. For it, I need to run multiple cameras to cover all four ...
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/...
1
vote
0answers
107 views

(RPi4) AHD to CSI-2 and ENOSPC / PiCameraMMALError: Failed to enable connection: Out of resources

I have a fun one - I'm trying to get an analogue camera input (AHD using a normal BNC connector) over a CSI-2 cable/bus (standard RPi one, not the dual-lane Google ones), and be usable through the CSI ...
0
votes
0answers
22 views

UV4L reverting to MJPEG when ever i go to the streaming URL

In the control panel of UV4L I set the camara to 1080X720 H264 (raw streamable) And this seems to take and refreshing the page it stays as H264 format. However as soon as i go to "http:\ipaddress:...
0
votes
1answer
166 views

Raspberry pi camera pinout

Since my disable_camera_led=1/0 does not do anything and searching on forums did not help, I decided to debug it myself. Since I know disable_camera_led=1/0 turns on/off a pin in GPIO, I want to know ...
0
votes
0answers
25 views

CM3+ and RaspiCam V2 issues

I'm trying to use two RaspiCam V2 with CM3+ and Computer Module 3+ Development Kit board. I followed instructions provided in official links: Raspberry Pi OS with desktop and recommended software ...
0
votes
0answers
27 views

Hardcoding timestamps onto image/video frames with the picamera library

My goal is for videos and images to have timestamps on them for an application I'm writing which uses the Python picamera library. My current implementation modifies the annotate_text attribute using ...
0
votes
0answers
175 views

ERROR for pi4: mmal_vc_component_enable: failed to enable component: ENOSPC

Please help as I'm going mad! im using 2 cameras on the multi cam adapter module on a raspberry pi 4. I followed the Arducam multi cam adapter module documentation. I have been getting this error ...
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/...
0
votes
0answers
18 views

Record audio from mobile phone on local web page?

I'm trying to build a Nest camera knockoff using a Raspberry Pi. Right now, I have video streaming from a Pi camera to a local web page that I can view from my smart phone. Next, I want to add audio. ...
6
votes
6answers
15k views

Pi Camera v2.1 not working

I already checked out the other answers on StackExchange, and followed every step of this guide: https://www.raspberrypi.org/documentation/raspbian/applications/camera.md, as well as the referenced ...
0
votes
1answer
140 views

Using a mobile phone image sensor with a raspberry pi

There is the Raspberry-Pi HQ camera with a very limited number of lenses. I know that there are mounting adapters, but with the 5.5x full frame equivalent of the sensor, finding a wide angle lens is a ...
1
vote
0answers
25 views

Camera in raspberry pi shows no input on screen

I am new to using raspberry pi I have rsp 4 model b, I need it for a college project I am doing, I bought a camera module for it. and it doesn't show output on screen using "cheese" I am ...

1 2
3
4 5
20