Matching Blob ID across multiple frames in C ++ (image analysis)

I am working on a blob mapping and tracking library in C ++. I am currently using OpenCV to detect drops and try to match drops in a new frame by checking the position, speed and size of the drop. This works quite fine and I get a high blob match ratio (95% or higher).

Sometimes drops fall out of the image or new drops appear. Now I need to give the associated blobs the same identifier as before. I am wondering if there are typical or commonly used methods for this. Or even some keywords that I can use for Google.

thank

+3
source share
2 answers

http://en.wikipedia.org/wiki/Blob_extraction

I assume that you have your drops in the binary image, just fill each block with a different color / identifier and register overlapping drops between frames with the same identifier.

0
source

CCV is used to track multiple fingers in multi-touch environments. Check out their tracking code . It uses a function trackKnnthat uses the k nearest neighbor algorithm.

You can also use Kalman Filterif blobs collide with each other. Check out this SO

0
source

Source: https://habr.com/ru/post/1749913/


All Articles