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
1 vote
0 answers
18 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 ...
2 votes
0 answers
22 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 ...
0 votes
1 answer
567 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 ...
0 votes
1 answer
363 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 ...
1 vote
1 answer
374 views

Exposure time in PiCamera not working

I am trying to take a long exposure image (30 sec+) in python using a RPi HQ camera (https://raspberry.piaustralia.com.au/products/raspberry-pi-hq-camera and the PiCamera module). This is my code: ...
0 votes
1 answer
46 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 ...
0 votes
1 answer
169 views

My libmal.so file is missing (picamera require), even after reinstall package

I'm working on a camera system based on a raspberry pi 5 (8gb), with a brand new (2023-12-05 and updated) standard Raspbian 64x, and my python codes are running in a virtual enviroment (venv). I would ...
-1 votes
1 answer
116 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 ...
0 votes
0 answers
88 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 /...
0 votes
0 answers
597 views

Raspberry Pi OSError: libbcm_host.so

I am running a facial recognition project on Pi 4. When I run the code, I got this full error message: File "/home/rlu/.local/lib/python3.11/site-packages/picamera/__init__.py", line 72, in ...
1 vote
1 answer
254 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. ...
1 vote
2 answers
1k 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.
0 votes
2 answers
1k 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 ...
0 votes
1 answer
159 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 ...
0 votes
2 answers
2k views

Ending a camera video stream in Python / threading

I’m very new to Python and have been struggling with the code for a wildlife camera project on the Pi. I’ve managed to get the PIR sensor and automatic camera capture working, but I’d like to have a ...
0 votes
0 answers
141 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 ...
0 votes
2 answers
707 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/...
1 vote
1 answer
141 views

Can you use the PiCamera library with a camera that is isn’t the PiCamera like the picture?

!camera that I want to use(https://i.stack.imgur.com/GUJ2q.jpg) I’m having some issues getting this camera to work, getting told that I need to check the SUNNY chip that as far as I know is only on ...
0 votes
0 answers
13 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 ...
0 votes
0 answers
55 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 ...
0 votes
0 answers
70 views

OpenCV - PiCamera or cv2.VideoCapture(0)

Quick question, I am starting to work on some Computer Vision programs using my Raspberry Pi 3. I thought when using the PiCamera you needed to use the specific PiCamera commands however I have simply ...
0 votes
1 answer
318 views

Cannot turn web streaming into a function

I'm working on a project with my Raspberry Pi 0 and a camera. I'm writing my code in Python using the PiCamera module. This file handles setting up the camera and Starting Web streaming. I had no clue ...
0 votes
1 answer
278 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 ...
1 vote
2 answers
1k 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 ...
1 vote
0 answers
24 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 ...
1 vote
2 answers
699 views

RPi High Quality Camera degraded image quality and "spots" covering sensor cover surface; can it be fixed?

My Raspberry Pi High Quality Camera was excellent last year when I wrote this answer including these images but I tried it again a year later and something has gone very wrong with the front surface ...
0 votes
0 answers
159 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. ...
0 votes
1 answer
134 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 ...
0 votes
0 answers
533 views

unknown control 'rotate'

I have recently purchased a Raspberry Pi Camera Rev 1.3, and I'm trying to rotate it to 90 degrees, then its not able to rotate. Its just rotating it to 0 degrees or 180 degrees below is the command ...
0 votes
0 answers
70 views

Raspberry Pi 4B - VLC player - Pir Sensor - Camera

I'm starting to know Python, so you can say I'm a newby. For Halloween I'm working with a Python script for a Scare. The idea is to show a nice picture (a paused video) on a tv screen and when motion ...
0 votes
0 answers
294 views

Rapsberry Pi Camera v3 issues

I want to make a Rpi4 8GB livestream 2 camera feeds over 4G (SIM7600X module). One camera is a generic action cam and the other one is a PiCamera v3, which I have issues with. I'm running Raspbian ...
1 vote
1 answer
4k views

Turn old phone camera into raspberry pi camera

I don't really have the chance to get a raspberry pi camera. But I have tons of old phones and tons of phone cameras. Is there any way I can turn them into a camera that works with raspberry pi ?
3 votes
1 answer
15k views

Camera only working with deprecated legacy option

I have a camera module connected to my Pi 3B+. I have downloaded the very latest raspberry Pi OS (called bullseye) which does not support the old. legacy camera stack. You don't even have to enable ...
0 votes
2 answers
3k 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.
0 votes
0 answers
32 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
0 votes
0 answers
115 views

Freenove Camera not able to interface with Raspberry pi 4 + Ubuntu 20.04 LTS

I am trying to work on a project where I want to use ROS. However, I found that for using ROS Noetic, I will need to install Ubuntu 20.04 on my Raspberry pi 4. Now, I bought a camera module (Freenove ...
0 votes
1 answer
801 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 ...
1 vote
1 answer
880 views

Does the official RaspPi CameraV2 work on RaspPi B rev2? I'm having trouble

I have a new official Raspberry Pi Camera V2 and am trying to use it on a Raspberry Pi B revision 2 board running the Sept 24, 2022 version of the Raspberry Pi OS Bullseye. I have carefully connected ...
0 votes
0 answers
145 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('...
1 vote
1 answer
42 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!
3 votes
3 answers
13k views

Opencv VideoCapture much faster than PiCamera

I am trying to process frames from my V2 RPI Camera at high framerates and am stuck with the picamera module. The VideoCapture class from OpenCV seems to be much faster than using PiCamera....
0 votes
0 answers
106 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: ###############################################...
0 votes
0 answers
25 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 ...
0 votes
0 answers
154 views

Libcamera-still got fixed blurry image problem after increasing cma , but Picamera2 still giving blurry image

I'm using this raspberry pi zero 512mb ram. I've successfully connected the arducam 64mp camera and it's capturing 4kx3k resolution fine , after I changed the cma from 265m to 400m the libcamera-still ...
0 votes
0 answers
576 views

Raspberry Pi Camera: Picamera2: Cannot configure camera in the middle of a stream

I'm making a remote config PiCamera for astrophotography, using the official Camera Module 3. When the user configures the camera, my application sends a request in JSON format over an HTTP socket. ...
1 vote
1 answer
13k views

Libqtgui4 is not available (Has no installation candidate)

I am trying to run this command: $ sudo apt-get install libqtgui4 libqtwebkit4 libqt4-test python3-pyqt5 But I receive these errors: Package libqtgui4 is not available, but is referred to by another ...
2 votes
1 answer
145 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 ...
0 votes
0 answers
103 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 ...
1 vote
0 answers
26 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 ...
1 vote
1 answer
884 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 ...

1
2 3 4 5