Motion Detection with OpenCV (C++)
I am asked to write a code which can detect ANY moving object using OpenCV. It will be used in in-door system. And it is real time, input will be taken from a camera, and system need to detect the moving stuff real time. According to my knowledge this is motion detection. I am not considering about unwanted movements like waving of a flag or curtain. When an important motion is detected, the system will raise an alarm.
I know this is possible with opencv, because I saw the following video
http://www.youtube.com/watch?v=lzRGp3nc8Tw
But, I do not have resources to learn how to. Official OpenCV tutorials do not contain any data about this.
Please provide me advice, links, learning resources or steps I need to follow.