RaspberryPi/USB Camera: Difference between revisions
From charlesreid1
(Created page with "Giving up on this stupid picamera thing. The ribbon interface, the front cable, the clumsy case, all of it reeks of cheaply-manufactured hardware incapable of anything but the...") |
No edit summary |
||
| Line 1: | Line 1: | ||
Giving up on this stupid picamera thing. The ribbon interface, the front cable, the clumsy case, 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.) | Giving up on this stupid picamera thing. The ribbon interface, the front cable, the clumsy case, 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.) | ||
I ordered a USB camera (1080 P, 2 MP?) from Amazon. It didn't come with instructions, but controlling it was insanely easy [https://www.raspberrypi.org/documentation/usage/webcams/]: | |||
<pre> | |||
$ apt-get install fswebcam | |||
$ fswebcam image.jpg | |||
$ python -m SimpleHTTPServer 8000 | |||
</pre> | |||
Then point browser to 192.168.0.111:8000, and voila, the image was there and ready: | |||
[[Image:MyFirstUSBWebcamPhoto.jpg|500px]] | |||
Revision as of 10:33, 17 August 2016
Giving up on this stupid picamera thing. The ribbon interface, the front cable, the clumsy case, 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.)
I ordered a USB camera (1080 P, 2 MP?) from Amazon. It 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 was there and ready:
