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

ROS Webcam Stream Really Slow

I am trying to stream the images from my camera to a VM via ROS. Here is my setup: Raspberry Pi 3B+ with Picamera v2. It is running ROS Noetic with cv_camera_node An Ubuntu 20.04.1 VM with ROS Noetic....
0
votes
0answers
17 views

opencv stream resolution vs picamera resolution

I have the picamera v2 with me and i want to use it because of its 8MP resolution. ive noticed that theres two ways of live streaming my camera on python. One is using the picamera's inbuilt preview ...
0
votes
0answers
15 views

how to have the pyqt window geometry be the same as the picamera preview window?

im trying to get the preview window be the same as the window geometry and here is my code from PyQt5 import QtWidgets from PyQt5.QtWidgets import * from picamera import PiCamera camera = PiCamera() ...
0
votes
0answers
38 views

picamera multiprocessing

I am trying to capture a raspberry pi camera image with a multiprocessing module The motion is stopped at the part being captured No error code and just the following code doesn't work. If you know ...
0
votes
0answers
22 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 ...
1
vote
0answers
32 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 ...
2
votes
1answer
55 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 ...
0
votes
0answers
23 views

Is there a way to get PiCamera's actual framerate?

I would like to know the camera's actual frame rate. This might seem trivial, but I could not find an obvious solution. I'm using PiCamera 1.13 with Python 3.7.3. My current approach is with ...
0
votes
0answers
26 views

Fast/efficient code to wait for trigger, trigger causes camera to collect image stream, process, wait for trigger, wash rinse repeat

I am working on a project to detect trained objects with google coral once I capture images (temporarily, i.e. cache) upon an external trigger. The focus here is the front end trigger and capture ...
0
votes
0answers
27 views

Getting several mmal errors with a Rpi camera module streaming video and trying to record at the same time

I am using a Rpi 3b+ with the standard camera module. This camera is installed on kestrel nesting box to observe nesting behavior. I am able to stream to a url using the following script which is ...
0
votes
0answers
40 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 ...
1
vote
0answers
25 views

How can I speed up capturing stills with camera module v2 and picamera?

Using some very simple code with no bells and whistles I capture shots of a specimen in between rotations of a motor camera = PiCamera(sensor_mode=2) camera.exposure_mode = 'sports' camera.resolution =...
0
votes
1answer
19 views

Display monitor closes while running a python code on Rpi zero

I am writing a code using the Google AIY vision kit and its APIs. I have a loop which calls the face_detection model continuously every 30 secs. The loop works perfectly fine for the first 2 ...
1
vote
1answer
33 views

How can I specify the format of a picture as a MIME-type?

I use a simple code that saves pictures from the picamera as a jpeg. But i want to save the pictures as a MIME-type, which should be possible according to the API, specifically as a .tiff-format. Can ...
0
votes
0answers
30 views

Can Picamera save pictures as tiff instead of jpeg?

I am new to Python and the Picamera and when reading the API there are only a few other formats to save the pictures (https://picamera.readthedocs.io/en/release-1.10/api_camera.html#picamera.camera....
0
votes
0answers
49 views

Picamera use_video_port=true low quality images

When I use use_video_port=True with capture_continuous() or capture_sequence() the image quality seems low with the following code import io import time import picamera from PIL import Image with ...
0
votes
0answers
21 views

Fast video recording with webcamera

I want to connect at least one webcamera to RPi3 and record smooth 1080p 30fps video. RPi camera is capable of that even on RPi Zero. But everything I tried on RPi 3 gives maximum 8 fps on 720p. Is ...
3
votes
1answer
31 views

Speckle noise from Raspberry Pi NoIR camera V2

I'm getting unusual amounts of speckle noise from my RPI camera. Note the black speckles on the image: and see a 2 second video showing the same noise here. The camera is connected with a 2 meters ...
-1
votes
1answer
35 views

Python only saves last picture taken

I am new to programming with Python and the Raspberry Pi, and for my first project i wanted to play the official "Push button stop motion" code from the official raspberry pi camera guide (...
2
votes
3answers
98 views

Is there a jpg viewer for a pi zero w running buster lite

My pi camera is attached to a pi zero w running buster. The pi zero normally runs headless. But while I'm developing my code, I've got a keyboard and monitor attached. Is there a way to preview jpg ...
0
votes
0answers
16 views

PiCamera network streaming error

I'm trying to stream camera output to an Android application this (python) code works fine: import socket import time import picamera keep_alive = True print("wait connection") camera = ...
2
votes
1answer
42 views

PiCamera stream differences

I'm trying to create a h264 stream from my Pi 3 and display it on an Android application. After several attempts I found quite a simple solution: raspivid -n -ih -t 0 -w 640 -h 480 -fps 25 -b 2000000 -...
0
votes
1answer
183 views

How to turn off recording in motioneeyeos

So, i got 2 questions at the same time. I'm using a pi 4 4Gb with 64SD card running motion eyeos Changed settings to 1080p@30fps codec to h264. and motion triggered to continuous recording When I open ...
0
votes
1answer
41 views

Camera Module at high resolution, preview screen goes black

Tech spec: Raspberry Pi4 8G RAM OS: Raspbian 10 Problem Background: When I set resolution at camera.resolution = (4056, 3040), then at camera.start_preview(), the preview screen is completely black. ...
0
votes
1answer
638 views

Pi Camera V2: ERROR opening V4L interface: No such file or directory

Environment info: processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae ...
0
votes
0answers
25 views

Stich multiple videos to one HDR clip?

Hey :) I got a strange question: I´m currently working on building a GUI for the Raspberry-HQ-Camera and noticed that it is possible to record up to 3 videos at the same time. So my question is if ...
3
votes
1answer
160 views

Knocked off an SMD from Raspberry Pi Camera Rev 1.3, but camera still works. Is the SMD needed for continued operation?

I accidentally knocked off and lost an SMD labelled "C9" from the Raspberry Pi Camera. The Camera still works, and I am unable to spot any differences. What is the role of the capacitor, and ...
0
votes
0answers
2k views

picamera and Ubuntu 20.04 arm64?

Does picamera work on Ubuntu 20.04 arm64? I am on pi4 4gb. Added start_x=1 to /boot/firmware/usercfg.txt and rebooted. Checked for updates. pip3 install picamera - ok. When import picamera is ...
0
votes
0answers
20 views

picamera module save video periodically

I would like to record video to a file using the picamera module, and "save" the file every few seconds so that in the case of a power outage the video is partially saved, instead of being ...
0
votes
0answers
245 views

HQ camera locks when using python library

The new HQ camera module is amazing and works really well using raspistill for long exposures. Using the picamera python library the camera locks with exposures above 10s (the maximum for the V2 ...
0
votes
0answers
34 views

Fast image analysis

Attempting to measure objects with picamera at 10 frames per second by counting all the orange pixels. Using RPi 3, picamera V2, and OpenCV to measure pixel values in a 640x480 px image. My strategy ...
0
votes
0answers
24 views

Use PiCamera V2 is surprisengly working without picamera module and using OpenCV in python

I was convinced that in order to use the picamera V2 with openCV I needed to pass by picamera module in python or libraries such as raspicam in C++. However today I saw the following code working in a ...
0
votes
1answer
143 views

PiCamera 1.13 docs MMAL example problem

I am trying to lower the time to capture a still image from the Pi camera (I have a V2 and HQ). To this end, I have found my way to the PiCamera 1.13 docs, specifically chapter 16 dealing with the ...
2
votes
1answer
442 views

Why can't I access camera through my remote desktop?

I am currently running ubuntu 18.04 and I have a picamera connected to my rpi. When I use the main display and connect the rpi to my screen via HDMI, I can access the camera using the opencv library ...
0
votes
0answers
70 views

Importing Cv2 in TFlite

I tried running TensorFlow Lite, on Raspberry Pi 3 Model B+ having Raspbian Buster OS (January 2020 Release) (TFenv) pi@raspberrypi:~/tflite1 $ **python3 TFLite_detection_webcam.py --modeldir=Model3*...
0
votes
4answers
893 views

Pi Camera (F) disable Night Vision on Day and use as normal camera

I have a Raspberry Pi Camera (F), Supports Night Vision, Adjustable-Focus and I wanted to use that to make a timelapse of some plants in python. python code for taking a snapshot: camera = PiCamera(...
0
votes
0answers
152 views

How to make cameras take picture simultaneously with a single button?

How can I make my pi's take pictures at the same time whenever I push a button? I've connected GPIO pin 2 to my button and a ground pin to the other end of the button for every pi. This is how I've ...
1
vote
0answers
23 views

Data logger with SenseHat and timelapse Pi Camera code not running

I am trying to use a SenseHat and Pi camera to do some data logging. What I want my program to do is when run, it should collect sensor data and take a photo every 10 seconds. The issue that happens ...
0
votes
0answers
32 views

Rasberry Pi Cameras v USB Cameras

I'm trying to work out what kind of cameras would best suit my Pi. The plan is to use it on moving transport for some very basic image processing. Between the RasPi and the USB cameras, which ones are ...
0
votes
0answers
79 views

Raspivid dropped frames

I am trying to record a video at 30 fps using a Pi Zero W with the picamera v2 with: raspivid -t 10000 -w 640 -h 480 -fps 30 -o test.h264 -pts testTS.txt However, when I check the timestamp file, ...
0
votes
0answers
50 views

does uv4l support PiCam HQ

I am getting myself familiar with UV4L on the raspberry pi, and just purchased the new HQ camera. Now I am having trouble to use the UV4L Control Panel to set the width and height to 4056x3040, but ...
2
votes
1answer
99 views

where can I get the driver of imx219

I'm building kernel(xilinx) and rootfs(debain10) for Avnet96v2 board which has connetted a imx219 via mipi adapter, where can I get newest official driver for the camera, if it is existing. By the ...
1
vote
0answers
348 views

ERROR on oled + 0.96 display: different mode has already been set!

I made two programs separately, but when I tried to put them toguether, the following issue came up: Traceback (most recent call last): File "/home/pi/CalculadoraDefinitiva/botaoLed.py", line 159, ...
0
votes
0answers
22 views

Shooting .raw pictures with PiCamera - results in scrambled black and white images

I'm trying to shoot some .raw pictures and I'd like to test both the rgb and the yuv option. What I've obtained so far is a not usable file/image. Meaning that once I open the it with Photoshop, for ...
1
vote
1answer
72 views

Taking pictures while streaming with motion

my Raspi uses the original raspicam and motion to stream security footage to my nas. This works great so far. I now want to additionally take a picture every 1 hour and save it somewhere. Obviously I ...
1
vote
1answer
131 views

PiCamera Out of resource error

I have two Python programs that use PiCamera. Program A takes 45 pictures at one minute intervals. Program B takes 5 pictures at one minute intervals. After Program A runs (45 pictures), I get an "...
0
votes
1answer
38 views

Is camera 1.3 version compatible with Raspberry Pi 4 B?

Is the 1.3 version of camera compatible with Raspberry Pi 4B ? I need to use it for an object detection app. Thanks
2
votes
0answers
92 views

Raspberry Pi stops running cron job after a few hours

My raspberry pi 4 is set to run a python script every hour that turns on some philips hue lights and takes a picture with the camera module. It worked perfectly for 26 days, then it stopped running. ...
1
vote
0answers
71 views

Does the camera automatic settings use CPU or GPU

I have simple questions: I am using a program (pikrellcam) that has a number of automatic cameras settings, e.g. white balance, exposure, etc; and I am wondering if this puts a strain on the CPU or ...