Hey! Do you have an unhealthy obsession with BUGS? Need to Justify it with science?!
Then you came to the right place! Here we offer you a socially acceptable way to stare as videos full of swarming bugs for hours on end! :) These tutorials show you how to use a blob filter to detect multi bugs even with partial occlusion and they use the 2-d image based kalman filter to identify and track each individual bug as they appear. It's pretty robust to good bug detection..have no idea if its works on people and cars... which are not as cool as bug! :P if you do improve the code, email it to me and I'll post it here with reference! (need to get hosting space first though)