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
0answers
15 views

Using Python3 how can I email a camera image without writing to the SD card? [closed]

Using Python3 how can I email/text a camera image without writing to the SD card? SD cards have a limited write life and don't want to wear it out. My daughter and I created a system using a relay and ...
0
votes
0answers
14 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 ...
1
vote
1answer
25 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) ...
2
votes
0answers
28 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 ...
2
votes
1answer
56 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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
22 views

Thonny IDE different directory then terminal when running python file

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....
0
votes
0answers
45 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 ...
1
vote
1answer
40 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 ...
1
vote
0answers
77 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 ...
-1
votes
1answer
68 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 ?
-1
votes
1answer
37 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
50 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 ...
-1
votes
1answer
13 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 ...
0
votes
0answers
194 views

Raspberry PiCamera: VIDEOIO ERROR: V4L: can't open camera by index 0

I got this message from my Raspberry Pi 4. This code worked for me when I ran it last week, but now it's giving me this error... VIDEOIO ERROR: V4L: can't open camera by index 0 Reading QR code using ...
0
votes
1answer
37 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 ...
0
votes
1answer
21 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 ...
0
votes
0answers
122 views

raspivid equivalent for USB camera

I'm using a Raspberry Pi Camera Module in my project. I have Java code that creates a new process that starts raspivid and have it output the video feed to stdout. Java then reads that and processes ...
0
votes
0answers
10 views

Modifying frames that I'm streaming

I'm currently trying to capture a video stream with picamera, apply a function I've made using OpenCV to detect something on each frame then stream it to the network. Currently, I'm using the code ...
1
vote
0answers
87 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 ...
0
votes
0answers
23 views

Hardcoding timestamps onto image/video frames with the picamera library

My goal is for videos and images to have timestamps on them for an application I'm writing which uses the Python picamera library. My current implementation modifies the annotate_text attribute using ...
1
vote
0answers
57 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++ ...
0
votes
0answers
39 views

How to change the default colours of the NoIR Camera V2?

I am standardising my V2 and Raspberry pi 3B+ camera to take astrophotography pictures, which takes the picture with a pinkish tint. To take the photo I use these command raspistill -o pruebafoto.jpg ...
0
votes
0answers
20 views

Trouble with PiCamera video recording

I wrote this basic code today. I am learning still so it's not very neat. import sys import io import time from time import sleep import datetime import RPi.GPIO as GPIO from picamera import PiCamera ...
0
votes
0answers
209 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 ...
0
votes
0answers
70 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 ...
1
vote
0answers
13 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 ...
1
vote
0answers
20 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
1answer
122 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 ...
0
votes
0answers
70 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
74 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
44 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
1answer
84 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
289 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
38 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
30 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
46 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
144 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
33 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
20 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
69 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
75 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
111 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
1answer
47 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
72 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
46 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
261 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 ...
2
votes
1answer
45 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
551 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 ...