RaspberryPi/USB Camera: Difference between revisions
From charlesreid1
| Line 34: | Line 34: | ||
[[Image:USBWebcamPhoto2.jpg|500px]] | [[Image:USBWebcamPhoto2.jpg|500px]] | ||
=Flags= | |||
{{PiFlag}} | |||
[[Category:August 2016]] | |||
Revision as of 10:48, 17 August 2016
I'm done trying to get this cheap-o Pi camera, with the clumsy ribbon cable, to try and work. The whole design, all of it reeks of cheaply-manufactured hardware incapable of anything but the most inane projects. (Hence the plethora of "how to photograph your cat" videos, and nothing more interesting or heavy-duty.)
The Hardware
I ordered a USB camera (1080 P, 2 MP?) from Amazon:
Setup/Usage
The camera didn't come with instructions, but controlling it was insanely easy [1]:
$ apt-get install fswebcam $ fswebcam image.jpg $ python -m SimpleHTTPServer 8000
Then point browser to 192.168.0.111:8000, and voila, the image is there and ready:
Better Pictures
For best quality, use:
fswebcam -r 1280x720 --no-banner image.jpg
this results in a better image resolution without the obnoxious timestamp banner:
Flags
