I am getting quite happy with this adaptive backeground learning algorithm. It can be optimised etc, but it seems promissing