I\'ve got background subtraction to work quite well. But the problem is, it marks shadows as foreground as well.
current code I\'ve built function to do something over collection of jQuery elements: var collection = $([]); //empty collection