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
2 answers
17 views

Camera Module 3 / PiCamera not working on Ubuntu Raspberry Pi

I have a Raspberry pi 4B with Ubuntu, and I’m trying to use my camera module 3 with python (I’ve tested the code with Raspberry Pi OS, so I know it’s right) using PiCamera and in a virtual environment ...
Flamethrower's user avatar
0 votes
0 answers
17 views

How can I analyze the video streaming from a Raspberry Pi Camera Module 3 on a Raspberry Pi 4 using Python, preferably? [closed]

I have a Raspberry Pi 4B and Camera Module 3, which I want to use for analyzing activities on a factory floor. Currently, I can only record videos and take images using this setup. I am interested in ...
Skywalker's user avatar
  • 111
0 votes
0 answers
21 views

Raspberry Pi Camera v2 not detected for Octopi on Raspberry Pi 3

I've searched all over the internet for a solution to my problem, but it seems like every route comes up short for me. Again, I am using a Raspberry Pi 3 with a Pi Cam v2, and using PuTTy as my SSH. ...
user156889's user avatar
0 votes
0 answers
8 views

Re-stream rtsp ip cameras for milestone

I have 15 axis ip cameras and i’m using milestone essentials which only allows 8 devises so i’m looking to use a raspberry pi that will take the axis cameras and restream them into rtsp streams I’m ...
Josh Lee's user avatar
0 votes
1 answer
21 views

Qt error running a simple Python program to check connection between RPi 4B and camera module 3. (see the description)

I wish to deploy this RPi along with the attached camera module to a factory floor and then analyze the video stream. Hence, I have a headless RPi which I plan to use for this purpose. Code: import ...
Skywalker's user avatar
  • 111
0 votes
0 answers
31 views

Raspberry Pi Camera feedback freezes when moving NEMA 17 stepper motor with A4988 stepper motor driver

I have a Raspberry Pi with a camera module and a NEMA 17 stepper motor connected to it. When I run the command ffplay /dev/video0, the video runs perfectly. However, whilst the video is running, and I ...
Broteen Das's user avatar
0 votes
1 answer
35 views

What is the 35mm film equivalent of the HQ camera lenses?

The official "HQ" camera offered by the Raspberry Pi corporation is able to mount different lenses, and they recommend a 6mm wide angle and a 16mm telephoto lens option. But of course back ...
natevw's user avatar
  • 113
0 votes
0 answers
16 views

Legacy camera initialization after boot

I am in the situation where a camera hooked up to a CM4 is powered after booting has finished. Is there a way to retrigger camera initialization through the legacy stack? I tried to reload bcm2835-...
Olli's user avatar
  • 1
0 votes
0 answers
27 views

camera not detected even though it works once in a while

I am a 3D enthusiast and I use my Raspberry Pi 4 for 3D printing with my Creality CR-10S Pro V2. I had successfully installed Klipper on my Raspberry Pi 4 and everything was functioning properly. My ...
momodaron momo's user avatar
0 votes
0 answers
20 views

Raspi Edge impulse ERR

pi@raspberrypi:~ $ edge-impulse-linux Edge Impulse Linux client v1.4.7 Stored token seems invalid, clearing cache... getaddrinfo EAI_AGAIN studio.edgeimpulse.com ? What is your user name or e-mail ...
Dhayananth J's user avatar
1 vote
0 answers
70 views

libcamera-vid fails to operate in higher resolution

I try to run libcamera-vid with several camera modules at higher resolutions, but fail. Calling libcamera-still works as expected. The behavior can be reproduced with several modules with OmniVision ...
Twonky's user avatar
  • 123
0 votes
0 answers
52 views

Camera preview through X11 using --qt-preview not working

Connected from my desktop host via ssh -X to my Raspi 3B, I assumed that libcamera-hello --qt-preview would create a preview window on my desktop. But it is not. Instead, Made DRM preview window is ...
Twonky's user avatar
  • 123
0 votes
0 answers
19 views

No Camera option found in config file

I have tried everything I have read about this issue found on the internet, but still nothing from the camera works and the options still do not show up in my config file. I am a newbie to the ...
Raul Ros's user avatar
0 votes
0 answers
31 views

PI camera is not working

Dear Raspberry Pi Community, I am reaching out to seek insights into an issue I've encountered with the Raspberry Pi camera across three Raspberry Pi 4 (4GB) units, one of which was just recently ...
6abhishek jha's user avatar
0 votes
2 answers
105 views

python3-picamera package not found

running rpi4B. I performed update and upgrade. Then I attempted: sudo apt install python3-picamera2. result: cannot find package python3-picamera2. Appreciate any help.
DHH's user avatar
  • 1
0 votes
0 answers
10 views

How can i use picamera module 3 on google collab? i am using raspberry pi 4 b

I tried running it by inserting the camera capture code snippet in collab , but it is not detecting the pi camera
Rishabh's user avatar
0 votes
0 answers
26 views

Connect a camera to the pi and get the video stream from it sent to an external (self powered) HDD

First off, How do I connect to the camera? it is a YALE WiFi internal security camera. Then I want to save the output from the camera to a Networked HDD which I already use to capture video to the HDD ...
user120612's user avatar
0 votes
0 answers
35 views

camera stopped working on rpi2 with buster, device is not detected, hardware has been checked

raspistill -o image.jpg returns mmal: Cannot read camera info, keeping the defaults for OV5647 mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) mmal: ...
Ajned's user avatar
  • 109
0 votes
0 answers
44 views

photogrammetry solutions for raspberry pi 4

Question: What open source and automatable software solutions for photogrammetry with Raspberry Pi 4 are available? What are their features, strengths, and weaknesses? I am not averse to using ...
Dizzixx's user avatar
  • 101
0 votes
0 answers
29 views

How to modify Pi Camera sensor size?

I have an Arducam 5MP autofocus camera (OV5647), which I believe is almost identical to the Pi Camera V1, but with a motorized lens for focusing. https://www.arducam.com/product/raspberry-pi-camera-...
F16Falcon's user avatar
  • 101
0 votes
0 answers
22 views

view my raspi camera on a monitor plugged into one of the two onboard hdmi ports

I want to view my raspi camera on a monitor plugged into one of the two onboard hdmi ports. I can't find any info on how to achieve that.
Neil's user avatar
  • 1
0 votes
0 answers
35 views

How to handle shots with Picamera2?

I'm looking for code to handle shots with Picamera2. I want: Take photo with the camera Show plan on screen for x seconds Save photo as jpeg image. I try the code below but can't find how to adjust ...
Mon Pelaud's user avatar
0 votes
1 answer
307 views

How to stream from Pi Camera to YOLO model?

I am new to Raspberry Pi and I want to do real-time object detection using YOLOv8 tentatively (will change if the fps is too low). I realize that by using the code below, it can't detect Pi Cam as the ...
Eddy Miner's user avatar
0 votes
0 answers
43 views

Raspberry Pi HQ Camera: Capture NEF or DNG?

I'm making a raw capture tool for raspberry pi and the official HQ camera. I can't seem to get RAW DNG or TIFF images, whatever I do. Here's my current code: from picamera import PiCamera print('...
N3RDIUM's user avatar
  • 113
0 votes
0 answers
80 views

converting raspberryPi4 to a USB UVC device mimicking a USB camera

I have a raspberyPi4 with Raspabion OS (Debian Bullseye) in it and i am willing to convert it to a USB-UVC device mimicking a USB camera so that whenever i connect it the host machine(PC in this case) ...
Harsh Kumar's user avatar
0 votes
0 answers
24 views

Camera Preview with overlay for tracking with a close button

I have a picamera script that starts the camera_preview and adds a cross hair overlay so that the spotlight operator can target the right person. As the displays are touch screen I would like to add a ...
Aussiexile's user avatar
0 votes
0 answers
21 views

Raspberry pi 6mm wide angle lens internal optics order

While playing around with the 6mm HQ camera lens I inadvertenly exposed the internal optics by unscrewing something at the back of the lens. Because I didn't know what I was doing, the optics fell ...
gabriel51's user avatar
0 votes
0 answers
129 views

Raspberry Pi Camera Module v3 with legacy camera stack

Can Raspberry Pi Camera Module v3 load with legacy camera stack? I tried but no luck. Is OpenCV only support camera that loaded with legacy camera stack? Anyone success to load Raspberry Pi Camera ...
ahkeatttt23's user avatar
0 votes
0 answers
36 views

RPi Bullseye: libcamera-jpeg does not write to USB drive, while libcamera-vid does

I'm running a Python script on a Raspberry Pi 3 B+. This script automatically takes video and stills using the Raspberry Pi camera and should write it to an external USB drive. I've mounted a USB ...
Bert's user avatar
  • 1
0 votes
0 answers
41 views

Trouble capturing images from a Raspberry Pi camera using Python

I am having trouble capturing images from a Raspberry Pi camera using Python. The following code works fine the first time, but fails to read data from the camera on subsequent attempts: # shotFoto.py ...
ZondoX's user avatar
  • 1
0 votes
0 answers
246 views

Recording high-framerate video with libcamera-vid, camera module v3 and rpi 3B

UPDATE: According to this issue, it seems that 120fps with the camera module v3 is only possible with a RPI 4, so this kind of answer my question. I'm not sure how to handle this case (self-answering ...
FiguredIT's user avatar
0 votes
0 answers
28 views

Camera Module Help

I have a raspberry pi zero W (2016), and a Arducam 12mp IMX708 Raspi V3 camera module, that I am trying to use as a mini camcorder. So far, I have tried using the libcamera and it connects to the ...
Cryptomogul's user avatar
1 vote
1 answer
464 views

ENOSPC Error with Camera Module V3 on Raspberry Pi 3 B

I bought an Pi Camera Module 3. I have an Pi 3 Model B Rev 1.2. I get the ENOSPC error when trying to use the camera with raspistill: pi@raspberrypi:~ $ raspistill -o t.jpg mmal: ...
Jannik's user avatar
  • 23
0 votes
0 answers
62 views

Does MIPI CSI cameras should always preferred than USB UVC cameras?

I'm attempting to DIY a car blind spot monitor system using camera + RPi board + display. For the camera part, there are cameras connected through MIPI CSI or USB UVC. I am a software developer only ...
jiandingzhe's user avatar
2 votes
1 answer
73 views

Camera flash with Picamera2

Is it possible to have Picamera2 trigger a flash when taking a picture? In an older version of my project I used a v2 camera module. I got flash working by creating a device overlay to define the ...
Tom Harrington's user avatar
1 vote
0 answers
48 views

Running camera v2 with no binning and resolution 640*480

I want to run the camera v2(IMX219, 1.12um pixel) with no binning and resolution 640x480. Camera mode 7 provide a resolution 640x480, but with 2x2 binning. Inspecting the I2C bus reveals the the ...
Wim De Geest's user avatar
1 vote
1 answer
482 views

Raspberry pi camera module 3 works only on libcamera

I recently bought a Raspberry Pi 3b+ and Camera module v3. After days of troubleshooting, I got the camera to spit out images on the libcamera CLI. But, I can't create a picamera.PiCamera object in ...
N3RDIUM's user avatar
  • 113
2 votes
0 answers
224 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 ...
Tree Sesame's user avatar
0 votes
0 answers
78 views

How to rotate the picamera feed while using opencv for facial recognition?

I have setup my rpi with the pi camera following the guide on Toms Hardware and everything is working as expected. I am going to be using the smart pi touch case for my project, which only allows the ...
MFF's user avatar
  • 9
1 vote
0 answers
166 views

Picamera2.stop() Behavior - do controls persist?

With Pycamera2 you can set controls e.g. autofocus. There doesn't seem to be a get_controls() function to verify what is set. Do the controls perist after using Picamera2.stop()?
user947737's user avatar
2 votes
0 answers
661 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 ...
dtbaker's user avatar
  • 151
2 votes
1 answer
314 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) ...
Simon Banks's user avatar
2 votes
2 answers
809 views

How to connect OV7670 cam to Raspberry Pi Pico

I have a raspberry pi pico and OV7670 cam. I want to connect them and get a camera output as a video, So I can use image recognition to identify objects (tennis balls) to collect them using a setup ...
Kuganeshwaran R.'s user avatar
2 votes
0 answers
297 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). ...
boogie_muffins's user avatar
2 votes
0 answers
114 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/...
Tim's's user avatar
  • 121
0 votes
0 answers
65 views

How to enable camera module 2 via command line?

Looking for single command vs having to use raspi-config user interface? Having read How can I enable the camera without using raspi-config?, tried following, but that didn’t work on Ubuntu 22.04.1 ...
sunknudsen's user avatar
1 vote
0 answers
432 views

How to get camera module v2.1 to work on Ubuntu 22.04.1 LTS?

Not sure what I am doing wrong… camera module v2.1 is connected via ribbon cable. $ cat /boot/firmware/config.txt gpu_mem=128 start_x=1 $ vcgencmd get_camera supported=1 detected=0
sunknudsen's user avatar
1 vote
1 answer
741 views

Raspi camera module V3 with Octopi

Recently purchased raspberry pi camera module 3 NOIR. My plan was to use it for octopi (octoprint), however, i tried my best but couldn’t make it work, and followed many of pages on net but no result (...
Habil Hadi's user avatar
1 vote
1 answer
298 views

What are the requirements for the new Camera V3 module on Debian Buster?

I am currently trying to get the Camera V3 module up and running on Debian Buster. I already managed to get it running with libcamera which I downloaded and compiled from source, so the connection and ...
rdmueller's user avatar
  • 267
0 votes
0 answers
92 views

How to send CSI camera video to screen (over HDMI) on raspberry pi

In my project, I have to send the live streaming of camera video to an HDMI screen with the same video timings as of camera is sending. I don't want to see the camera video on the application on the ...
Sreepa's user avatar
  • 1

1
2 3 4 5
22