Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I draw a scale inside the bounding box?

I want to measure the dimension of the objects in a image.

This is my original image

image description

These are bounding box that I have drawn around the detected objects

image description

As can be seen even the shadow is being detected as area under the interested object.

Unfortunately, I doubt manipulating the image in any way can help me minimise the error in me detecting a wrong dimension.

I would like to draw draw small lines inside on two sides of the bounding box as can seen on the ruler image below

image description

Which definitely will help me get a accurate measurement without manipulating the original image in any way

Can any suggestion how this can be done?