Questions tagged [raspistill]

17 questions
3
votes
1 answer

raspistill returning file not found

I am trying to use the 64 bit version of raspbian (which can be found here: https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370 I downloaded it, installed everything, ran my updates and then switched on the camera. But when I try to…
Diemo
  • 143
  • 2
  • 6
2
votes
2 answers

How to take images with Raspberry Pi since "raspistill" and "raspivid" are deprecated

Since the Raspberry Pi is transitioning from using the old raspistill and raspivid to the newer libcamera how should I take an image now if I don't want to use the CLI nor C as programming language? I can't find any wrapper for libcamera in any…
1
vote
1 answer

Is there a fast way to record images with raspistill on a Raspberry Pi 4B and HQ Camera module?

I'd like to record multiple images (e.g. 50) with the Raspberry Pi HQ Camera module. These images are recorded with the simple command line raspistill -ss 125 -ISO 400 -fli auto -o test.png -e png. Since I have to record .png files, the image…
adroid
  • 25
  • 4
1
vote
0 answers

Native raspberry 64 OS raspivid: cannot execute binary file

OS: Linux raspberrypi 5.10.35-v8+ #1417 SMP PREEMPT Fri May 7 17:44:55 BST 2021 aarch64 GNU/Linux Reinstall doesn't work at all Can't execute rasp: /opt/vc/bin/raspivid: /opt/vc/bin/raspivid: cannot execute binary file ffmpeg works fine.
Irina
  • 939
  • 1
  • 8
  • 26
1
vote
0 answers

How can I capture a specific ROI of raspberry pi camera?

I want to capture a specific ROI (say 20x1800 region) of raspberry pi camera. First, I used the raspistill --roi. It gave me a zoomed image. The same happend with picamera crop method. So I decided to capture the whole image by raspicam and then…
1
vote
0 answers

Raspistill: Some pictures are black

I have a raspberry pi on which I am executing a python script. This script has a while loop with the following statement in it os.system('sudo raspistill -o img' + str(counter) +'.jpg') This loop executes a 100 times and is supposed to take a…
Umar Dastgir
  • 688
  • 9
  • 25
1
vote
1 answer

Take Raspistill Image NoFileSave in a loop (nodejs)

I'm making a fun open sourced sample for doing Edge Compute Computer Vision using the Raspberry Pi as my hardware. The current SDK I have to access hardware is nodejs based (I'll release a second with python when it is available). Warning: I am a…
David Crook
  • 2,722
  • 3
  • 23
  • 49
1
vote
1 answer

IOError: codec configuration error when reading image file

I am trying to get a thumbnail of a gif image using Pillow 4.3.0, Python 2.7.13, Debian 9.1 from PIL import Image im = Image.open("Pictures/image.gif") im.thumbnail((240,160)) im.save("Thumbnails/thumbnail.gif") But I cannot do it. This is the…
1
vote
0 answers

Raspberry Pi camera mmal Error

Recently I use my Picamera. When I run sudo raspistill -o myImage.jpg I get the following error mmal: Cannot read camera info, keeping the defaults for OV5647 mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera'…
Alex
  • 11
  • 5
1
vote
2 answers

Unable to access pi camera through web browser

I am writing a Python CGI script that I want to run on my laptop's browser. This script will SSH into two Pis, and give the command to take a photo. The server hosting this script is on one of the Pis that I want to SSH into, and that Pi also is…
D P
  • 125
  • 1
  • 10
1
vote
0 answers

Raspistill picture washed out or complete green in direct sunlight

I've create a script to take pictures periodically using my Raspberry Pi Zero W and a camera module. The script works, but I find the exposure lacking. In sunlight, the pictures are washed out or completely green. #!/bin/bash COUNTER=$[$(cat…
dacracot
  • 22,002
  • 26
  • 104
  • 152
0
votes
1 answer

raspberry pi use of statvfs() produce erroneous results

I am using raspistill to acquire images with my PI. after some weeks my SD card is full and the whole thing dies so I need to install again. so I added some code to see what's happening with my available memory. Here is the code to assess my memory…
oferb
  • 11
  • 3
0
votes
1 answer

Getting error in cvtColor

Can't find a solution for this error File "/home/pi/glen/python/vid.py", line 8, in gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GBGR) AttributeError: 'module' object has no attribute 'COLOR_BGR2GBGR'
0
votes
0 answers

raspistill timelapse black photos noir camera

I have a script with line: raspistill -n -w 1296 -h 972 -t 4000 -e jpg -q 40 -o %s -tl 200 -x Script generates about 8 photos but when it's dark all photos are black except one 6th or 7th. Is there a better way to generate series of photos in…
kolo
  • 85
  • 1
  • 1
  • 9
0
votes
1 answer

RPi Camera Pink r-pi B

I am forcing problem with Raspberry Pi 3 and camera. 1 of 5 pics looks like this usually has bigger size. It Happens also on day. My capture script is: raspistill -vf -hf -o img.jpg. Can I somehow check quality after taking a picture or fix it?
MrNetroful
  • 497
  • 8
  • 28
1
2