2022 Developer Survey is open! Take survey.

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
18 views

Sending a stream of images from RPI pi camera to my PC for image recognition (yolov5)

I am using a RPI Pi camera for my image recognition project. For my project, I need to send a stream of images of a library from RPI pi camera to a PC, and perform image recognition on the PC to ...
user avatar
-1 votes
0 answers
76 views

libcamera and PiCamera not working on Raspbian Bullseye

Good day, I am using straight-out-of-box/new 3rd Party compatible Pi Camera with Raspbian Bullseye. The camera don't seems to work, so I tried following: sudo Updated & Upgraded Sudo raspi-config ...
user avatar
0 votes
0 answers
52 views

Problem using OpenCV and Raspberry PI camera V2

I had been using the following code for the past two months with no problem whatsoever, however, just yesterday I have been getting errors using the code which I will detail as follows. The code in ...
user avatar
0 votes
0 answers
11 views

How to create symbolic link for pi-camera module?

I have a RPi4 with a USB camers and pi-camera module but the /dev/video[id] changes on reboot. I want to create a symbolic link for pi camera module and USB camera. But the udev rules: https://...
user avatar
  • 101
0 votes
2 answers
89 views

How to tell if the Pi Camera is connected?

Simple question, but searching did not return an answer. I have a Pi4 and a Pi Camera. This camera is not USB and does not appear in lsusb output when it is working. # lsusb Bus 002 Device 001: ID ...
user avatar
  • 272
0 votes
0 answers
55 views

Raspberry pi camera coding questions

I've been coding a little portable Pi camera using a raspberry pi zero, the HQ camera module, and a waveshare 1.44-inch screen. I've succeeded in programming a button to take a photo, and a button to ...
user avatar
  • 109
0 votes
0 answers
32 views

Can I run two python script using the same pi camera in raspberry pi?

I am currently working on a project where I need to have a live stream video and a motion detection that when a motion is detected, records a 10 second video. I have put each functionality in ...
user avatar
0 votes
0 answers
19 views

Intermittent problem with HQ camera

I am using PiCameraX to gather Bayer level images repeatedly using an HQ Camera. Every so often it fails in the following way, and I'm struggling to see what is wrong. The camera is working fine ...
user avatar
  • 101
0 votes
1 answer
2k views

Libqtgui4 is not available (Has no installation candidate)

Trying to run this command: sudo apt-get install libqtgui4 libqtwebkit4 libqt4-test python3-pyqt5 Package libqtgui4 is not available, but is referred to by another package. E: Package 'libqtgui4' has ...
user avatar
1 vote
1 answer
34 views

I want to take images with a framerate of 30 fps during 30 minutes using thonny (python)

I have the Raspberry pi camera v 2.1 and I want to take photos for 30 minutes at a speed of 30 fps or less, but I want to be able to vary it. So far I have achieved it with "picamera" and ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 113
0 votes
0 answers
35 views

Raspberry pi 5mp camera screw size

I know the holes on the pi cam is 2mm in diameter, but I just want to know what's a good size screw to mount the pi cam because I'm afraid I might crack the pi cam board. Is m2 too loose or is m2.5 ...
user avatar
0 votes
2 answers
420 views

WARN:0 global /tmp/pip-wheel-2c57.../opencv/.../cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video0): can't open camera by index

When switching from the legacy camera stack under Raspberry Pi OS with debian 10 to the new libcamera camera stack (in Raspberry Pi OS with debian 11 it is standard), I cannot use OpenCV any longer. ...
user avatar
  • 351
1 vote
1 answer
55 views

Raspberry Pi HQ camera exposure time jumps at 1 second

I am trying to build a timelapsing program in python, which analyzes the picture and determins the exposure, based on which it corrects it's shutter speed using a polynomial regression. But I got ...
user avatar
0 votes
0 answers
201 views

How to find out what process is using Raspberry Pi camera?

Some background: Hi. I've recently been experimenting with the Raspberry Pi Camera through node.js and other languages. But, even with none of those scripts running, Pikrellcam (a live security camera ...
user avatar
0 votes
0 answers
58 views

Wifi/Bluetooth camera with Raspberry pi

I made a drone with Raspberry pi using Wifi module. I have a broken android phone, I want to add it's camera in the drone. How to do it ?
user avatar
  • 1
0 votes
0 answers
14 views

Ivport-v2 not detecting camera on restart

I followed the guide to setting up ivport-v2 on my RPi and running sudo python2 test_ivport.py fine, if I also run sudo reboot it still works. When I run vcgencmd get_camera I get supported=1 ...
user avatar
0 votes
0 answers
38 views

Need help overlaying an application window over camera screen

I made a python code where it will launch the pi camera and I can use buttons to record a video for 30 seconds or take pictures. In this python code, I mixed in another python script where I can ...
user avatar
0 votes
0 answers
333 views

Raspberry Pi4 Camera supported=0

I have a Raspberry Pi 4 Model B and I am trying to connect the board with Raspberry Pi camera module. I made sure that the camera is connect correctly to the insertion slot. And the camera is enabled ...
user avatar
0 votes
0 answers
32 views

Why can I not use my picam v2?

pi@raspberrypi:~ $ raspistill -o test.jpg gives me the error below. I am trying to set up the camera with octoprint. mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera ...
user avatar
0 votes
0 answers
409 views

picamera: Incorrect buffer length error when resizing in picamera.capture

I am trying to use picamera to record and save a high resolution video, and capture low resolution images for processing using openCV. import picamera import picamera.array import cv2 import numpy as ...
user avatar
  • 1
0 votes
0 answers
29 views

Beginner want's to add button function to a night vision PiCamera

I want to add button functions to my night vision PiCamera. I have a custom script that outputs the screen to spilt screen because I want to make night vision goggles with it. ` from picamera import ...
user avatar
0 votes
1 answer
94 views

Motioneyeos not booting on my Raspberry pi 3B

Stuck at this message “Formatting data partition” while trying to boot MotioneyeOS from a Raspberry pi 3B. I’ve flashed a 32GB microSD with the motioneyeos image file using Etcher. Is the problem with ...
user avatar
0 votes
0 answers
39 views

Stream Video From RPi Camera and Audio From USB Microphone toghether?

I have a system set up where I use a software called Motion that streams video from a Raspberry Pi camera over HTTP on port 8080. I got a USB microphone and am wondering how I can stream video and ...
user avatar
1 vote
1 answer
73 views

What spectrum of light can the NOIR camera detect/read?

Trying to establish what the NOIR camera can detect. We are more interested in the IR range of light that is possible. Specifically, we are using the NOIR in a dark environment (shutting out light) ...
user avatar
2 votes
0 answers
39 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 ...
user avatar
  • 21
2 votes
1 answer
100 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 ...
user avatar
  • 528
0 votes
0 answers
12 views

How to get the correct speed in low light and low ISO

With IMX219 camera and using piCamera in a Python script with resolution = (3280,2464) I get a photo image with a speed of 1/15 sec and ISO 320, correct auto exposure. Setting iso=100 I get a photo ...
user avatar
1 vote
1 answer
62 views

Thonny IDE different directory then terminal when running python file [closed]

I have a discord bot python file I am running and editing in Thonny IDE I get an error where it cannot find the specified directory, when I run the code for pi camera: camera.capture('./files/meeka....
user avatar
0 votes
0 answers
118 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 ...
user avatar
1 vote
1 answer
65 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 ...
user avatar
  • 219
1 vote
0 answers
588 views

Does Raspberry Pi 64-bit (aarch64) OS support Pi Camera module?

Does Debian Buster 64-bit (aarch64) have support for Pi Camera library? I have recently installed a 64-bit Debian Buster OS on my Raspberry Pi 4B, I switched from a 32-bit (armv7l) OS version, because ...
user avatar
-1 votes
1 answer
548 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 ?
user avatar
-1 votes
1 answer
41 views

PC Board Camera connector [closed]

I'm trying to find a connector like the one that is used on the raspberry pi 3b+ for the pi camera but I don't have a part number and the Raspberry Pi people don't seem to know where I can get one ...
user avatar
0 votes
1 answer
188 views

How to reduce PiCamera capture time without reducing resolution

I'm currently writing a python script which needs to capture an image. I'm currently using PiCamera.capture() to accomplish this, but it takes too long to capture images. The project requires as high ...
user avatar
  • 365
0 votes
0 answers
84 views

Scope and challenges to connecting small but zoom-able touch-sensitive display to Pi 4 HDMI output for setup and focus?

note: Not a shopping question, I'm trying to find out if 1) this is possible and 2) what the scope of the challenge to setting this up is, before I go out and buy a screen or the wrong screen. I have ...
user avatar
  • 528
-1 votes
1 answer
14 views

camera program gives error when run in /etc/profile but the program runs fine

This is the error I get : picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources import numpy as np import os from picamera import PiCamera from time import sleep from gpiozero ...
user avatar
0 votes
1 answer
92 views

PiCamera V2 NoIR and AMG8833 thermal sensor mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC

Hardware used: Raspberry pi 4b, 4 gb ram, AMG8833 thermal camera, PiCamera V2 noir, ALL brand new, i just bought them few weeks ago. Im trying to do finish a project and i ran into a not that good ...
user avatar
0 votes
1 answer
28 views

Raspberry Pi camera - multi tasking possible?

I have set up 2 individual tasks using the NOIR Pi camera and a motion sensor which work successfully in their own right. Using motion to stream a live video to an external ip address a python ...
user avatar
1 vote
0 answers
119 views

Picamera on Ubuntu 18.04 64-bit

Is there any way to get picamera to work on Ubuntu 18.04 64-bit. I have tried: Compiling a non-official version of userland for 64-bit and it compiled, but the camera does not work I have tried using ...
user avatar
  • 11
2 votes
0 answers
150 views

Rpi Camera in ubuntu server 20.04 raspistill working, but python picamera and c++ raspicam not

I have been able to get the rpi camera v2 working on ubuntu server 20.04 (64bit) by using raspistill. However I am having trouble getting it to work with the python package picamera and the c++ ...
user avatar
0 votes
0 answers
522 views

How to turn camera into ONVIF IP Device?

I am new to Raspberry Pi and also new to ONVIF. I can you turn a raspberry pi camera into ONVIF compatible IP camera and also add different profiles and edit the features in the profiles. I don't know ...
user avatar
  • 1
0 votes
0 answers
117 views

Pi Camera with multiple outputs

I am trying to stream and save video from Raspberry Pi Camera. I found code which provide streaming to HTML page but when I write output stream to a file I am getting MJPEG file which size is ...
user avatar
1 vote
0 answers
15 views

Picamera image variation: What parameter should I adjust?

I am capturing images using the picamera v2 noir and avering the pixel values to see what variation of intensities I have during the video. The problem is that, even when the image is still and I am ...
user avatar
1 vote
0 answers
21 views

Can I use the display shelf as an input for a second camera? [duplicate]

I would like to use two different cameras with the raspberry pi 4 and I wondered if I could use the display shelf as the secondary camera input or if I need to acquired the adpater that exists for the ...
user avatar
-1 votes
1 answer
270 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 ...
user avatar
0 votes
0 answers
82 views

No camera preview

I have a problem, when I write the command "raspistill -o desktop/image.jpg" in the terminal there is no output. How can I solve this problem is urgent... and btw the Geany programming ...
user avatar
1 vote
1 answer
224 views

GPU for image processing on Pi Zero?

I have a Pi Zero W that I'm deploying headless to a remote-off grid location with very limited bandwidth. I would like to transmit images from the camera every 5 minutes or so, but to minimize ...
user avatar
  • 203
2 votes
1 answer
522 views

How to directly render pi camera output to display using C++

Right now, I'm building an application and one of the sub goals is to display the camera to the screen with a good resolution and frame rate. I'm also trying to keep the cpu usage as low as possible ...
user avatar
  • 31
0 votes
0 answers
244 views

How to save all pictures from picamera directly to an USB-Stick?

I am new to Python and made a simple project with my raspberry pi 4, where the picamera takes pictures via button and saves them. Until now the pictures are saved in the home-directory, but I want ...
user avatar
  • 11