1 | initial version |
In my experience you can get away most of the time with just tracking the binary blobs with a Kalman filter. If blobs merge together to form a big one, you tell the Kalman filter to not track the big blob and switch to prediction. If the blobs separated as predicted then you lock onto them again.