video surveillance

On of the most discussed topic is video surveillance. Everytime I leave my home I always wanted the possibility or the option to get recognized if someone enters my property. A really cheap and easy way to do this is to use the raspberry pi camera. There are a lot of motion dectection source codes out there. So I get one which I adapted to my needs.

The simple idea of motion algorithm:
The idea of motion detection is always the same. Two pictures will recorded one after another. After that both pictures will be compared pixel by pixel. A defined amount of changed pixels have to be changed to recognized as a motion. The ratio of changes between to pixels can be also defined. Thats it.