Distance calculation

Is that possible to calculate the distance from one cotton to another cotton ???

Yes, it is, but, the camera cannot tell you distances itself. Instead, you have to determine this through constants multipled by whatever values returned given where the camera sees objects in it’s field of view.

When you use find_blobs() you’ll get a centroid from each blob. Using that, you can see how far apart that centroid is from all other centroids.