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
23 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
4 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
13 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
25 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() ...
-1
votes
0answers
35 views

Need help with the Python script [duplicate]

Here is the script I am using to capture 5 images with varying 5 shutter speed. I would like to automate this process to repeat after every 5 minutes. How to go about this? Thanks. from picamera ...
0
votes
3answers
70 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
24 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
22 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
103 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
28 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
53 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
37 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
18 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
36 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
104 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
46 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
21 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
13 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
40 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
44 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
21 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
24 views

Raspberry pi 3b + not booting up after connecting with Raspberry pi Camera

I am using Raspberry Pi 3 b+ for 3 months. I connected the pi using laptop Ethernet SSH connection. Yesterday i connected raspberry pi camera to the raspberry pi and enabled the interface setting ...
0
votes
0answers
30 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
35 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
22 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
27 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
114 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
36 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
26 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
39 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
151 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
14 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
338 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
197 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
40 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
45 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....
0
votes
0answers
62 views

Could not find a version that satisfies the requirement donkeypart_picamera

I was trying to install donkeypart_picamera but then I'm getting an error pip install donkeypart_picamera I get this error ERROR: Could not find a version that satisfies the requirement ...
1
vote
0answers
67 views

How do I access pixel values from a raspberry pi camera?

I am writing an AI program in Python on a raspberry pi, where I need to access raw individual pixel values from a raspberry pi camera. I really don't want to save the picture, I want to process the ...
1
vote
0answers
31 views

PICamera white balance difference between preview and capture

Below is a screen shot of the preview and the captured image of the same scene taken from a single PICamera at the same time. As you can see the one on the left (the capture) is noticeably bluer than ...
2
votes
1answer
255 views

Wide angle lens for Raspberry Pi v2 camera

I am looking for adding a wide angle lens to the Raspberry Pi v2 camera. Googling helped me locate a 3D printed lens holder and lens that I can attach to the v2 camera. Now I have the M12 lens and the ...
0
votes
1answer
27 views

Picam and USB serial comms issue

Are there any known issues with serial comms & the Picam module? When I have a serial channel open (over USB) & write to it whilst viewing the input from a Picam on screen, the view port will ...
0
votes
0answers
21 views

Issues with picamera

Hi I am having issues with my picamera, I have installed everything and enabled the camera but when I run the code and try to open the picture taken it says that it contains no data, does anyone know ...
0
votes
0answers
33 views

Simultaneous frame processing and Live stream video using PiCamera and RPi

I am building an application for Real-time Video analysis using Deep learning and so far am successfully able to, Capture set of frame [with PiCamera@4fps/ 10 Sec Video] using picamer....
0
votes
0answers
33 views

Using raspvid to stream to PC, I can see data on PC received but how to work with in openCV?

I am using PiCamera on my PI. I am executing this command on the PI: raspivid -n -t 0 -w 640 -h 480 -fps 30 -o - | nc 192.168.0.12 5000 On my computer (windows), executing this command: nc -l -p ...
1
vote
1answer
29 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 ...