RaspberryPi/USB Camera: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
</pre> | </pre> | ||
Then point browser to 192.168.0.111:8000, and voila, the image | Then point browser to 192.168.0.111:8000, and voila, the image is there and ready: | ||
[[Image:MyFirstUSBWebcamPhoto.jpg|500px]] | [[Image:MyFirstUSBWebcamPhoto.jpg|500px]] | ||
Revision as of 10:35, 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 is there and ready:
