Learn N Try

For all Lean Enthusiast

video surveillance system using raspberry pi

For installing video surveillance system we will use software called “motion”

For making survellance system i have used my old usb Logitech web cam. when i plugged in the cam it detected automatically.

for installation of software use following command

sudo apt-get install motion

it will install motion software
motion configuration file /etc/motion/motion.conf

you can start motion software using command

motion

if you are running motion in background you can use following command to stop

service motion stop

Camera will start when motion software is started and it will capture if there is any movement in front of camera.
pic and videos will be stored by default in following directory ( you can change path in config file)
/var/lib/motion

take care of deleting old files otherwise it will full the memory