Raspberry PI – Local IP webcam usb
This will allow you to create a remote webcam for your Raspberry Pi so that you can view it from any computer on the local network.
$ sudo apt-get update
$ sudo apt-get install motion
$ sudo apt-get install libv4l-0
$ sudo apt-get install uvccapture
$ gedit /etc/default/motion
change “start_motion_daemon yes” (from “no”)
daemon on (from “off”)
stream_localhost off (from “on”)
framerate 100 (from “2”)
stream_maxrate 10 (from “1”)
$ motion start
In order to stop:
$ service motion stop
Open web browser, input address: 192.168.1.71:8081
(note: 192.168.1.71 is Raspberry IP address)
Rather than using the Raspberry Pi camera module, you can use a standard USB webcam to take pictures and video on the Raspberry Pi.
Note that the quality and configurability of the camera module is highly superior to a standard USB webcam.