Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Check out the Background Subtraction methods, like THIS tutorial.

That gives you a binary foreground/background separation. Then use morphological operations to clean up the binary mask a bit. Connected Components to get the blobs, then filter them by all of your features. Size, color, ect.

It should work pretty well.