distance calculation

Dear sir/Madam:
In my project i have to find the x and y distance of various white coloured objects how can i find the corresponding x and y coordinate value for different blobs in an image and i have also attached the image.it will be very useful if i get code for finding the x and y coordinates of various white coloured object.we are using openmv cam m4 and if we get a solution for this we are planning to buy some bulk number of cams.thank you :slight_smile: :slight_smile: :slight_smile: :slight_smile: