Questions tagged [fswebcam]

For questions on the usage of fswebcam, a lightweight webcam app

fswebcam is a small and simple webcam app. It can capture images from a number of different sources and perform simple manipulation on the captured image. The image can be saved as one or more PNG or JPEG files.

19 questions
7
votes
6 answers

fswebcam not displaying images properly

Some of the images I get from the Webcam using fswebcam are not displaying properly. Comparison: I got these images using the following command: sudo fswebcam -r 640x480 test.jpg I'm having the same issues with 320x240 resolution. EDIT: I've also…
Gerard Rovira
  • 269
  • 2
  • 3
  • 8
4
votes
1 answer

USB webcam can't take a picture

I would like to ask a question about USB webcam taking picture, and I have surveyed similar topic, but still not found answer. I am using an RPi 2 B with rasbian Jessie, I have taken a picture with the Pi cam successfully but when I try to use my…
SONG HAO Tsai
  • 41
  • 1
  • 3
4
votes
2 answers

How to capture images from 2 webcams parallely using raspberry pi?

I am working on the following code: import os os.system("sudo fswebcam -d /dev/video0 -r 1280x960 image.jpg") os.system("sudo fswebcam -d /dev/video1 -r 1280x960 image2.jpg") in above code, the processing like capturing image from cam1 then process…
Nishub
  • 43
  • 1
  • 5
3
votes
0 answers

webcam issue after UV4L installation

I am trying to make a usb webcam work on my rpi but it drives my nuts. I have Rpi 3 model B+ Also I've downloaded the newest raspbian image (stretch with desktop and recommended software). It's updated and upgraded. At first I installed fswebcam and…
3
votes
1 answer

Capture image from webcam without skipping frames everytime?

To capture an image that is not all black or saturated, I am currently using: fswebcam -S 30 image.jpg My application is a little delay sensitive and skipping around 30 frames every time to get a good image to process makes it difficult. I know…
keerthip
  • 31
  • 2
3
votes
1 answer

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 camera?
2
votes
0 answers

fswebcam /boot/cmdline.txt interaction

Occasionally fswebcam -r 640x480 -S10 image.jpg would produce an Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy error on my RPi 3. I googled around a bit. I got some hits suggesting adding dwc_otg.fiq_fsm_mask=0x3 to the…
2
votes
2 answers

Raspberry pi camera not showing up on a raspberry pi zero

I have a Raspberry Pi Zero with the latest Raspbian operating system (2018-04-18-raspbian-stretch-lite.img). Attached I have a raspberry pi camera that is not working as it is supposed to be. My setup looks like the image at the bottom of this…
JRsz
  • 123
  • 1
  • 6
2
votes
2 answers

Problem with usb camera

I want to periodically take pictures using a webcam connected on a Raspberry Pi via fswebcam. It happens that it is unstable and some times it just fails, with no apparently reason. Below you will see a console session where I repeatedly run the…
Chocksmith
  • 151
  • 1
  • 6
2
votes
0 answers

fswebcam not working

When I try to use fswebcam by running fswebcam --save test.jpg, it works once every time I reboot my raspberry pi. Then it gets to "Capturing frame" before giving an error that says spca561_decode() failed and writes a photo that's completely black…
1
vote
0 answers

The first picture I take with a USB webcam as soon as I connect it looks good, but the following ones are dark

I am experiencing the following issue: I connect a USB webcam (Logitech Quickcam Pro 4000) to my Raspberry Pi 3 B+ and take a picture using fswebcam and looks good. Sometimes I take a second picture, or a third one and it still looks good. But…
1
vote
0 answers

how to close fswebcam after using it in python

I used fswebcam in python together with os.system() but i do not know how to close it after using it is in a loop that is why I want to close it like the picamera.close()
wayne
  • 31
  • 1
  • 4
1
vote
2 answers

--banner-colour not working on fswebcam

When I run sudo fswebcam --png 9 -r 640x480 /var/www/image.jpg on my raspberry pi, it works fine. If I add --banner-colour #ff0000 to it, like this: sudo fswebcam --banner-colour #ff0000 --png 9 -r 640x480 /var/www/image.jpg It tells me that my…
Pikamander2
  • 359
  • 3
  • 10
0
votes
0 answers

Shell script with loop, camera and fbi

I want to write a shell script which regularly / continuously captures images from a webcamera (via fswebcam) e.g. every second and show it then on the screen using fbi. In this way I want to have a ind of live imaging. (I found no linux tool for…
0
votes
2 answers

fswebcam - every other attempt results in device busy

I am using fswebcam on a debian image on a rpi3 with a logitech webcam. Fswebcam works great... when it works. I've plugged in a powered USB to make sure it was not a power issue of some sort, but every other time I call the fswebcam command it…
SunnyC
  • 1
  • 1
  • 1
1
2