Camera
Camera related links:
OpenCV
http://answers.opencv.org/question/14899/motion-detection-with-opencv-c/
Motion Detection and Speed Estimation using OpenCV
http://hardikmadhu.blogspot.com/2013/09/a-simple-and-minimal-aproach-to-human.html
Contour based Action Detection.c