Computer Vision

How to measure the diameter of hundreds of samples?