OpenCV blob ID
in
Contributed Library Questions
•
1 year ago
Hey guys.
Im trying to use openCV to track audience members in an installation. To do this i want to use the centroid information of a blob in the array.
However, the problem is that the blob's id is defined as largest blob = 1, next smallest 2, next smallest after that 3 and so on. This means for example, that if blob A's index number is 1, and a larger blob is then found, blob A's index becomes 2, and the new blob's index becomes 1.
I need the index ID to stay the same even if a new blob appears, so that I can track that blob.
1