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
12 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 ...
2
votes
0answers
30 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
31 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
11 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
28 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
24 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
14 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
43 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
179 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 ...
1
vote
0answers
21 views

Picamera: Varying ISO but fixing everything

I am trying to fix parts of the settings of the Picamera V1 module for a sensing application. Currently, I would need to study how different ISO values affect the readings (in terms of how stable the ...
0
votes
0answers
19 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
2answers
57 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
23 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
18 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
28 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
21 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
26 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
26 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
49 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
19 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
31 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 ...
0
votes
1answer
59 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
21 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
1
vote
0answers
45 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
19 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 ...
2
votes
0answers
47 views

Sending an image from Pi Camera continuously to a display

I want to send 6 images per minute from the Pi Camera continuously to any display. Like for say I have the camera that is at my house but I want to send the images to my work computer. The end goal ...
2
votes
1answer
51 views

How do I stream video from raspberry pi cam to my android phone app in order to access it from anywhere?

I'm a little bit new to the raspberry pi. Currently, I have a raspberry pi camera recording live video. I want to transfer this stream to an android app I developed. I really don't know where to start,...
0
votes
0answers
13 views

Frames from picamera.capture have different length of pixels

I am trying to both stream a video with a websocket and to detect wether something is moving in the camera video. I have finished successfully the websocket part of my project, and right now I want to ...
0
votes
1answer
37 views

Help with Port Forwarding for College Project

Hello Guys im doing a group college project for my final year it involves a CCTV type project using the raspberry pi camera and a website with a php login system to the website, I have a Pan Tilt hat ...
3
votes
1answer
63 views

PiCamera Video Corruption

I'm trying to save video from my picam and it ends up like this: import picamera # set up camera camera = picamera.PiCamera(); camera.resolution = (640, 480); camera.framerate = 24; # record camera....
2
votes
3answers
91 views

How to stream RaspiCam video on webpage on Django server running on other PC?

Hey I wanted to stream rpi cam live footage to a webpage hosted on django server running onther Pc.Any suggestions on how to do it.Thanks.
1
vote
1answer
39 views

Video Distortion using PiCamera 2.0, but raspistill is fine

I'm new to using the Picamera, but I cannot play a video without distortion. The top of the image and any activity is redish/pink in color. I can take a picture with no problem. I'm using VLC to view, ...
2
votes
0answers
164 views

picamera: capture a frame while continuous capture in background

I'm capturing a timelapse with the picamera module for python: def capture_thread_task(self): filename = os.path.join(self.SAVEPATH, self.safe_camname + '_{timestamp:%Y%m%d-%H%M%S}-{counter:03d}'...
1
vote
0answers
71 views

Why does native resolution capture with picamera raise 'Incorrect Buffer Length' for Arducam 8MP with IMX219 sensor?

I am trying to capture() full resolution images using picamera.array but it fails raising a PiCameraValueError: Incorrect buffer length for resolution 3280x2464. camera.MAX_RESOLUTION gives ...
0
votes
0answers
25 views

Is Raspberry Pi Using the Same Coding and Encoding in Live Video Streaming as in Ubuntu and on other Machines?

Recently, I have been tagged to work with the Raspberry Pi 4, and with the action camera that I have plugged to work with it as a webcam. However, the Live Video that is streamed through Raspberry Pi ...
0
votes
0answers
41 views

OV5647 Camera: 60fps preview has bad quality

I have a camera module from arducam with an OV5647 CMOS CCD sensor on it (NOIR). This camera is connected via CSI interface to a Raspberry Pi 3A+. I would like to have a camera preview with HD (720p) ...
1
vote
0answers
21 views

How to lock the gain in picamera.campture_sequence command?

I am using picamera library in python to capture a sequence of pictures. The picamera is connected to a microscope and the microscope moves to different vertical positions and picamera capture images ...
0
votes
0answers
111 views

picamera.exe.PiCameraIOError: Failed to write 291840 bytes from buffer to output <picamera.stream.BufferIO object at 0x62f70c60>

Using the PiCamera Advanced Recipies in the link I am trying to capture the image to a numpy array. My code basic lines of code are. final_image = np.empty((height , width , 3), dtype=np.uint8) ...
1
vote
0answers
39 views

Pi 4 video recording/encoding/writing super laggy after few seconds?

I've got the 4GB ver of the Pi 4. Trying to using it with Motion-Project and a NoIR Camera Module V2. Problem is the moment recording starts, it's fine for about 1-3 seconds, then becomes super laggy. ...
0
votes
1answer
39 views

Raspberry pi failing to take still

I am developing my remote camera robot with flask on raspberry pi zero w. Where is mjpg-streamer used for video stream and picamera python lib used to take high resolution stills. And I having very ...
2
votes
1answer
66 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
83 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
233 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
43 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
66 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 ...
1
vote
1answer
65 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
34 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
202 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
21 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
40 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 ...