I want to measure the dimension of the objects in a image.
This is my original image
These are bounding box that I have drawn around the detected objects
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
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?