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

Recording a Video to a Folder Located in an External Hard Drive

How to record a video to a folder located in an external hard drive (connected by USB) using the standard functions? camera.start_recording(path_to_the_folder + 'name.h264') camera.wait_recording(60) ...
0
votes
1answer
22 views

Non Native Raspberry Pi Camera

I am trying to set up this camera to my raspberry pi 4. The fact about this camera is that, according to the seller it's different than the normal v2 cameras that we typically install on raspberry pi ...
0
votes
0answers
24 views

Raspberry Pi Camera V2 resolution reduced

I am testing my Raspi Cam V2 on raspi model 4B running buster, I was able to get 1080p videos at 30fps and it supported the below formats $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 [...
1
vote
0answers
47 views

Keep losing connection while streaming video from Raspberry Pi Zero W camera using Motion or Picamera Python

I have set up my new Raspberry Pi Zero WH with the new Raspbian Buster (recommmended software), avaiable on raspberrypi.org. I have tried the following to real-time stream video over WiFi using SSH ...
0
votes
1answer
16 views

Getting empty images from picamera module but not raspistill

I wrote a python script to interface with the camera module (I have camera version 2.1). At first I tried with picamera, which has worked in the past. According to pip I have version 1.13 installed. ...
0
votes
0answers
13 views

Low Framerate in video recording using picamera

I am trying to record HD video using Picamera and writing it using OpenCV. But I am unable to get the desired frame rate (10 fps). I recorded the video of 1 minute but the video that was saved was ...
0
votes
0answers
39 views

Need troubleshoot fix my Raspberri Pi camera

So my MotionEye setup works fine, but after like 24 hours everyday, when I go connect the IP address it won't connect for some reason... And I can see that the Raspberry Pi3 and the Camera is working, ...
0
votes
0answers
15 views

How to record and save an ongoing stream from picamera?

I am currently doing this project of streaming a live video into a localhost and then capturing an image after button click using a picamera. Here is my code: For streaming: import io import ...
1
vote
0answers
49 views

picamera incorrect buffer length

I am currently using a pi camera module to stream video using flask and at some point, it randomly crashes. I found a similar question over here and they say that clearing the stream helped them sort ...
0
votes
0answers
17 views

My Rpi can't connect again using Putty and VNC

I'm totally noobie in this area. I'm learning to use my RPi 3 model B. So at first I used it with my PC using tutorials in the web through Putty (SSH) and VNC viewer and everything worked fine. Then I ...
0
votes
0answers
33 views

Awful Color Saturation in Datlight using pi-camera

I decided to finally post this after no avail and several videos that are unusable. I made a python script to record and convert video from a raspberry pi running in the nosecone of my rocket. However ...
1
vote
0answers
37 views

Raspberry camera v1.2 results in kernel panic

Update I have found the following issues that might relate to this problem: Framerates below 1 are not supported (https://github.com/raspberrypi/userland/issues/575) Frequent sequential call hang (...
0
votes
0answers
13 views

Pi Camera v2 Capture Photo without warm-up

I want to a project that capture some photos at a time. After taking photos i will send theese pictures to a windows platform to encoding. I saw so many examples about taking photos but i every code ...
0
votes
0answers
15 views

I have a problem with a camera from a robot using a raspberry

Recently I started a project (for school) and it's a recon robot and it has 2 cameras, one on a robotic arm and the other on the top of the body. My problem is, I want the top camera to spin freely ...
0
votes
0answers
18 views

Capture snapshots from network stream

I am using the "Recording to a network stream" recipe to (https://picamera.readthedocs.io/en/release-1.13/recipes1.html#recording-to-a-network-stream) stream video from raspberry pi. I have modified ...
1
vote
1answer
32 views

How to run piCamera script in rc local?

I have created a simple python script for the pi camera which works when run as is. the file is located in ~/Destop/python cameratest.py import picamera import time camera = picamera.Picamera() ...
0
votes
3answers
97 views

Help need with python script for PiCamera

I am working with the Raspberry Pi camera and need some help regarding the python script. I need to capture a set of 5 images continuously every 5 minutes interval until I want it to stop. This set of ...
0
votes
0answers
45 views

How can I release all camera instances of a RPi in Python?

I'm trying to make a camera application with my Raspberry Pi that should launch on RPi startup. The program itself works fine. My problem is I'm getting the error picamera.exc.PiCameraMMALError: ...
1
vote
0answers
26 views

Schedule Video Recording

The code below records video for 24 hours straight which is too much. I wanna schedule the record like from 9.00am to 3.00pm only 6 hours of video. Being a novice and newbie I don't really know how to ...
2
votes
1answer
173 views

USB Camera vs Pi Camera

I'm using USB camera for object detection. I can't find code for them because the common blogs or articles are about object detection using pi camera only. Is object detection possible with a USB ...
0
votes
0answers
94 views

Incorrect buffer length error

I'm trying to do an object detection script and save the results into a csv with tensorflow and opencv. camera = PiCamera() camera.resolution = (IM_WIDTH,IM_HEIGHT) camera.framerate = 10 ...
2
votes
1answer
168 views

Getting errors in pip install picamera

Running setup.py clean for picamera Failed to build picamera Installing collected packages: picamera Running setup.py install for picamera ... error ERROR: Complete output from command 'C:\a\...
1
vote
0answers
87 views

pi camera V2.1 digital zoom

The Rpi camera V2.1 is 8-megapixel that mean it's maximum resolution is 3266 x 2450. I would like to record a video in 720P resolution using this camera. My question is.. maximum how much I can do ...
0
votes
0answers
33 views

iPhone camera module connection type

I am trying to see if there is any possible way to adapt these salvaged iPhone camera modules to be usuable on any Raspberry pi computer? If anyone is familiar with these and has had any success with ...
1
vote
0answers
12 views

Turning off auto settings in picamera to remove persistent white spot in photos

I'm using the Arducam 5 Megapixel camera (meant for Raspberry Pi) because it has the capability for changing the lenses, and using the picamera module to run it (in Python 3). I'm taking pictures that ...
1
vote
0answers
57 views

How to read rPi camera hardware information that which type of camera sensor( imx219 or OV5647) is being used in camera module?

I want to read the camera hardware spec to ensure which type of camera sensor (like imx219 or OV5647 etc) is being used in the rPi camera module for camera module v1 and v2. Is there any method to ...
2
votes
1answer
154 views

Camera access in docker container is generating errors / locking

I am trying to build some machine vision software inside docker containers, it has worked previously, but now both devices are not able to access the camera. It seems to be a configuration/update ...
0
votes
2answers
101 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
0answers
20 views

NoIR camera - Photo and and video frame size looks different

I'm trying to create a feature matching script using NoIR camera. What I'm doing is take a picture using and compare it with the real time video feed. Everything works fine but the the live video ...
1
vote
0answers
22 views

RPi Camera starts going white

I bought a RPi Camera V2 from amazon yesterday and when I tested it today it started going white and then flashing colors like a disco party (rave starts 8 seconds in): https://imgur.com/a/QK5VL22 ...
0
votes
0answers
14 views

Split video using picamera and gps

I'm using a picamera to record video when the gps signal read a speed of 0 km/h, so every recording has a different length that i can't know in advance. How can i split the videos every 30 seconds?
0
votes
0answers
117 views

picamera web streaming and image capture

I am a total python novice so please bear with me... I have combined a couple of the picamera advanced recipes to try and web-stream and take pictures simultaneously. everything works correctly, ...
1
vote
0answers
56 views

Pi freezes when running a script

I'm trying to set up a trap camera using a brand new Pi Zero W with Raspbian Buster but it freezes when I run the python scirpt. originally the code was a bit complicated with multithreading, email ...
1
vote
1answer
28 views

Avconv streaming to URL - need help

I'm trying to learn as I go but haven't managed to come up with the answer to my issue here. I'm trying to stream to a URL using the 'pi-camera-connect' package and the 'avconv' package. The video on ...
0
votes
0answers
43 views

Binding PiCamera stream to GstWidget

Well, today I began to program in Python and I'm doing a graphical app with PyGtk in Anjuta. My first objective is to get the stream of the PiCamera in a window. But I'm getting problems to manage the ...
0
votes
0answers
18 views

RPI 8MP CAMERA BOARD RASPBERRY PI CAMERA BOARD V2

I setup my raspberry Pi with a RPI 8MP CAMERA BOARD RASPBERRY PI CAMERA BOARD V2. I'm using MotionEyesOs and Synology Surveillance Station. I don't understand the camera, unless I'm wrong should ...
0
votes
1answer
49 views

How to trigger a capture using Picamera when a particular event occurs (for eg, whenever a specific object appears in front of the camera)

I want to trigger an image capture every time a tyre of a set of moving vehicles appears just in front of the picamera. Is there any way to get this done automatically every time a tyre appears in ...
0
votes
0answers
24 views

PiCamera with TensorFlow using parallel programing

I would like to run a continuous stream with the PiCamera on the Raspberry Pi 3 and also do other computations in parallel with this stream. I only have to take from that stream(process) the object ...
1
vote
0answers
41 views

picamera error the second time I run camera.capture(output,'yuv')

I'm getting an error the second time I run camera.capture(output,'yuv'), what am I doing wrong? my code: from time import sleep from picamera import PiCamera from picamera.array import PiYUVArray ...
0
votes
0answers
208 views

Execute Python-Script on MotionEyeOS

I've recently created a Card with MotionEyeOS for the Raspberry Pi. I've tested motioneyeos already on DietPi and the normal Raspbian, but it didnt worked with the original Raspberry Pi-Camera. In a ...
1
vote
0answers
17 views

Is raspberry able to retrieve/store some n time prior a trigger with multiple cameras?

I came across a project idea which I think would demand a lot from a raspberry pi and arduino hardware capabilities. From my understanding, a master raspberry could be used to trigger n slaves through ...
0
votes
0answers
46 views

picamera how to detect darkness

I'm trying to detect the darkness using picamera. I guess I have to capture an image and elaborate it pixel by pixel getting the brightness or color value and if it is beyond a threshold that I ...
0
votes
0answers
32 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
0answers
144 views

How can I set up video calling with out the video lagging 3-5s? (lag is local to the pi, before transmission to other clients)

I am doing video conferencing on my Raspberry Pi 3b+. I have tried both Google Hangouts, Google Meetings and Jitsu but the best (GM with resolution set to low at both ends) still have a 3-5s lag ...
0
votes
0answers
263 views

Barcode decoding with pyzbar on raspberry pi

I am using pyzbar to decode barcodes on Raspberry Pi 3 using Pi Camera v1 (resolution 1296x972). Qr codes are decoded very well. When decoding two dimensional barcodes (CODABAR), the success rate is ...
0
votes
0answers
15 views

My Raspberry not recognize my PI-Camera OV5647

The last time that I worked with my PI-Camera OV5647 all was perfect the camera worked well, but now i try to do a preview but the camera is not recognize by the Raspberry Pi and shows me the error: "...
2
votes
2answers
878 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....
2
votes
2answers
383 views

Shutter speed and exposure time of picamera

Is it possible to control the exposure time and shutter speed of raspberry pi camera. If yes, how ?
1
vote
1answer
73 views

Send camera video via 3.5mm TV output to video transmitter (5.8GHz)

I have got a Raspberry pi 3 b+, a simple camera connected to it, and a pair of video transmitter and receiver. What I want to do is to send the video signal (the video recorded by the camera) to the 3....
1
vote
0answers
54 views

PiCamera vs VideoCapture

So I have a project that requires Computer Vision (video stream). But when I want to try my Pi Camera (not USB), there's two method that I can use. They are PiCamera.capture_continuous and cv2....