Skip to main content

Questions tagged [picamera]

For questions involving the python picamera module used with cameras that into the CSI jack on the board. For questions about use of the camera hardware itself, use the 'raspicam' tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Raspberry Pi AI camera not working in Thonny

I have recently purchased the Raspberry pi 5 and Raspberry pi AI camera as an absolute beginner. I have gone through all the demos in the terminal and it is working fine, but when I try to implamet it ...
Tyler Russell's user avatar
1 vote
0 answers
34 views

Cannot force video at 60fps with HQ camera and picamera2

I am using a pi 4B with 8GB RAM and bookworm OS and the pi HQ camera. picamera2 returns sensor_mode[0] (below) that should support 60 fps video at 1332x990 image size. If I set camera configuration ...
abeyer42's user avatar
0 votes
1 answer
56 views

New AI camera not working on 3 Model B+ and Zero 2

I have been following the official instructions on the latest 32-bit OS: PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)" NAME="Raspbian GNU/Linux" VERSION_ID="12" VERSION=&...
peacer's user avatar
  • 3
0 votes
0 answers
36 views

I want to build a ultra low latency live streaming application using raspberry pi, picamera and ffmpeg

I’m working on building an ultra-low-latency live streaming application using the Raspberry Pi Camera Module V2. My setup includes FFmpeg for video streaming over UDP to achieve low latency, and ...
Ismail Mansuri's user avatar
1 vote
0 answers
22 views

Video playback is sped up [closed]

I wrote a code to make a KIOSK video booth, the video playback is faster than real time. For example, if I record a 10 second video, it will only have <1 second of video playback. What is wrong ...
Adi's user avatar
  • 11
0 votes
2 answers
53 views

I have Arducam IMX708 camera, I am unable to connect it to raspberry pi

I bought arducam IMX708 camera. I have connected it to Raspberry pi 4B+. i followed https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/12MP-IMX708/ document. performed everything correctly. ...
Snehal Shende's user avatar
0 votes
0 answers
45 views

RPi camera v3 IMX 708 12MP doesn't focus

I have a V3 IMX708 12MP in a RPi 4 w/Bookworm installed in a box for doing remote photos. It doesn't have a screen attached, it is managed via ssh and the photos are uploaded to a cloud. Before ...
dstonek's user avatar
  • 156
0 votes
0 answers
19 views

Raspberry Pi Camera Inconsistent Color

I need photos of the face of a Rubik’s cube, and the colors in the photos turn out differently depending on how many colors are in frame. When there are more lots of vibrant colors, red orange green ...
Benny's user avatar
  • 1
0 votes
0 answers
61 views

How do I pipe the video stream of a Raspberry Pi Camera Module to the HDMI port or composite video output

I am using a Raspberry Pi 5. I want to send the camera stream directly to one of the HDMI ports or to the composite video output (preferable). My goal is to display only the camera stream on the ...
Alpha Delta's user avatar
0 votes
2 answers
66 views

How can you connect a computer to a Raspberry Pi 1B? [closed]

I have a Raspberry Pi 1B that I'm trying to convert to a security camera I can access from anywhere. I have tried connecting to it via VNC and SSH, but VNC requires Wi-Fi (which the Pi 1B doesn't have)...
RoboGuy's user avatar
  • 11
0 votes
1 answer
237 views

Can I control IR filter of night vision camera

I'm using night vision camera (PIS-1138) with Raspberry Pi 4 and Picamera2 Python3 library successfully. However, the camera seems to switch some sort of IR filter automatically on/off based on the ...
atonus's user avatar
  • 1
0 votes
0 answers
65 views

How to capture and geotag a image with Raspberry Pi 4 as a companion computer to a Pixhawk Orange Cube

All. I’m quite new to the DIY drones community and programing. I want to build a drone with a Pixhawk orange cube with Copter 4.5.1 and a computer companion Raspberry Pi 4 with its own camera module ...
Luca Ilie's user avatar
0 votes
0 answers
18 views

Pi4B: picamera2 and gpiozero compatibility?

I am using a Raspberry Pi 4B with a Raspberry Pi Camera Module 2 to take pictures. As a control, I made a program that just detects button presses and prints out that the button has been pressed: from ...
Gabriel Da Silva's user avatar
0 votes
0 answers
28 views

Turn on camera led on pi 0 2w

i tried to use disable_camera_led=0 in /boot/config.txt file but it didn't work, and as for the camera its brand new pi camera v2 i went through the post where its been told that camera led line is ...
Siddh Mistry's user avatar
1 vote
1 answer
378 views

Picamera2 ModuleNotFoundError

I was recently trying to use the picamera2 library for a python project but when I try to run the program it shows the following error Traceback (most recent call last): File "/home/litrobo/...
Fayis Razal's user avatar
0 votes
0 answers
195 views

Raspberry Pi 5 with module 3 camera Device timeout detected, attempting a restart!!! Error

Hello I have Raspberry Pi 5 and picamera module 3. I am using my camera without any problem nearly 2 months. But yesterday my camera gives an error and shows a black image: I bought and tried with ...
İlteriş Samur's user avatar
1 vote
0 answers
181 views

Using a camera and getting a big block of errors I don't understand

So far I've just been following tutorials to set up the camera to do more complex things later, but I always get this block of errors (below). I've tried googling the errors and haven't found anything ...
Derian Magness's user avatar
2 votes
0 answers
179 views

Recording raw RGB video format using picamera2

I am trying to record raw RGB video format using picamera2 and Raspberry Pi-4b, for the sake of imagining in the context of biological research. Basically, trying to avoid any compression, etc. during ...
Amir_k's user avatar
  • 21
0 votes
1 answer
1k views

How do I connect the PiCamera to the Raspberry Pi 5?

So I just got one of the Raspberry Pi Camera Module 2. On the website, it says that you install it by plugging it into one of the camera ports on the board (the RPI5 has two). On the schema, the ...
Timst's user avatar
  • 111
0 votes
0 answers
1k views

raspberry pi 4 and camera does not have camera option in raspi-config menu

I am trying to configure my rasp camera with raspberry pi 4. However " sudo raspi-config" i don't have the camera option to enable. I tried updating the os and rebooting and the sudo nano /...
Maysem Alagamy's user avatar
0 votes
1 answer
125 views

Why raspberry pi sometimes stalls after executing "vcgencmd get_camera " Command?

I frequently use vcgencmd get_camera command on the raspberry pi, It gives the following error- vc_gencmd_send returned -1 vchi_msg_dequeue -> -1(22) And then raspberry pi hangs. I then executed ...
Shivansh Tiwari's user avatar
-1 votes
2 answers
1k views

on bookworm cant use picamera2 with opencv-python

installed opencv--python on bookworm os when using picamera2 i get this error: QObject::moveToThread: Current thread (0x7f6802fd50) is not the object's thread (0x7f6822efb0). Cannot move to target ...
Oferb's user avatar
  • 9
0 votes
0 answers
16 views

Pi camera to be activated when rf waves are detected

My cars have Fastags (RFID based cards) installed on the windshield. On the highway, on every toll booth there are rfid scanners that reads my card and deduct the payment. Since there is a possibility ...
Bala's user avatar
  • 1
0 votes
0 answers
380 views

Using Camera Module V3 NoIR as Night-vision Camera

I have recently purchased a Rasberry Pi Camera module V3 NoIR wide lens to monitor the night-time activity of my pet. I have tried to capture video using libcamera and Picamera2 in dark(near-pitch ...
shom's user avatar
  • 1
1 vote
0 answers
319 views

Pi Camera V2 not working

When I type the command vcgencmd get_camera, I get the following output: supported=0 detected=0, libcamera interfaces=0 And when I type the command libcamera-still -o test.jpg, I get the image ...
Kevin's user avatar
  • 11
2 votes
3 answers
4k views

Pi camera issue

I'm using raspi 3b and I'm not getting the camera option in the preferences menu, I have tried updating the os also.
ppm's user avatar
  • 21
0 votes
2 answers
2k views

Unable to build libcamera-apps

im not able to build libcamera-apps on my system. Hardware: Pi 4 B OS: Debian GNU/Linux 11 (bullseye) I fowllowed all the steps in this Docu: https://www.raspberrypi.com/documentation/computers/...
Schlörn's user avatar
1 vote
0 answers
44 views

Solution to Picam(s) poor auto exposure with Motion?

i've got pi-cams: v1, v1 IR, v2 NoIR, v2 IMX219-D160 wide, and none of them can dynamically adjust it's auto-exposure/brightness by itself, when used as CCTV by Motion. they somewhat try but outputs ...
secretAgent's user avatar
1 vote
1 answer
456 views

PiCamera2 images with boxes and labels overlay with vis_util

I'm trying to get integrate tensorflow and picamera2 to do some basic object detection. The logic works out fine (I think), but I'm struggling to draw the boxes/labels deduced on top of the image. ...
MergeMonster's user avatar
0 votes
1 answer
1k 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
285 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
1 answer
273 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
  • 121
0 votes
2 answers
8k 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
1 vote
1 answer
2k views

Picamera2 raw capture limited to 15 FPS

I have a Pi 4 with the High Quality Camera. I'm trying to capture raw frames with Picamera2 using the camera's 2028x1520 2x2 binning mode. I'm using camera.sensor_modes[2], which says it has a maximum ...
LostXOR's user avatar
  • 131
0 votes
2 answers
2k 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
208 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
139 views

Need help with Raspberry Pi camera - mmal error

Hello Raspberry Pi community, I'm reaching out for assistance with a recurring error related to the Raspberry Pi camera module. so it showing this error: ###############################################...
ms pi's user avatar
  • 1
2 votes
1 answer
292 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
30 views

Download the streaming video in server

In order to stream video over the LAN, I used a Raspberry Pi Zero W. I used this MJPEG server code to stream the video over the LAN. [mpjpeg streaming program] 1 Currently, I want to download and save ...
Sureshkumar's user avatar
1 vote
1 answer
1k 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
551 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
1 vote
0 answers
431 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
0 votes
1 answer
247 views

Pi camera video stream to a PC (not through a web page) which has low latence

I need to send a video stream from my pi camera on a Raspberry pi to a computer on the same network. The video transmission should preferably have a low latency and a good image resolution. After the ...
user153543's user avatar
2 votes
0 answers
618 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
1 vote
1 answer
887 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
0 answers
932 views

Raspberry Pi Camera Error: Unicam Has Timed Out

I have been trying to get my Raspberry Pi camera to work for a while now. Probably every two weeks or so I would fire up the Raspberry Pi to convince myself that something changed but whatever I try, ...
Nathan Montanez's user avatar
1 vote
2 answers
2k views

Can I somehow feed the camera's live image into my GUI?

I'm new to the python world and I have an RPI project where I would like to display the camera's (Arducam 16mpx) realtime image into my GUI application. I saw multiple projects web streaming with ...
user20659597's user avatar
1 vote
1 answer
61 views

What is the magnification of the stock lens used in Rpicam V2?

I'm trying to get the overall optical magnification of my digital microscope and wondered if the lens built in the Rpicam v2 has any magnification. Does anyone know this specification? Thanks!
Gaell Gelacio's user avatar
0 votes
0 answers
152 views

Error while getting Full-Bayer-Layer data using Libcamera-raw

I'm trying to get full bayer layer data of Pi-Camera V2 (NoIR). I just followed the official doc. libcamera-raw -t 2000 --segment 1 -o test%05d.raw Above command produces .raw files with each size of ...
Garid's user avatar
  • 101
1 vote
2 answers
473 views

Python script will not write out file when scheduled (cron or bash.rc)

I have a python script to record a .mp4 file with picamera2 which executes and save correctly when run through the editor (thonny) and through the terminal. However, when I schedule it through crontab ...
roconnor's user avatar

1
2 3 4 5