margin in for loop of color tracking

What is the use of margin in the for loop of find_blobs in color tracking?
Kindly Give an example for explaining that.
Thank yoiu

Hi, it just controls how how much distance blobs need to be away before they are merged. By default it is 0 meaning that unless blobs have overlapping rects they will not be merged. With a value of 10 it means that blobs that overlap within 10 pixels of each other will be merged. With -10 it means that blobs need to overlap by 10 pixels to be merged.