Ruler segmentation and conversion from pixels to millimeters
Estimation of objects real size requires effective conversion from number of pixels that object takes up on the image to metric system. Image of reference object, metric size of witch is already known, can be used for this purpose. And a simple ruler is perfect example of those metric measurments.