how to detect and measure foot length and width in image ?
I have to detect the foot in image and have to measure the width an height of foot in image.
Currently I am using crop to measure length and width of foot image using rectangle. I want same rectangle should automatically set on foot image.
In above image circle is already now I how to draw a Rectangle over around the foot to measure length and width of foot.
some image samples would help I think
also, due to pinhole model, from a single camera, you will only be able to get exact dimensions, if you either know the distance, or have some reference-scale object in your image
@berak yes I am using coin as a reference scale object. But how I can detect and measure rectangle of specific foot.
@theodore Image would be like put the foot on the surface with one coin(specificied) as a refence and Image of foot. Now I want opencv create a rectangle on foot and give me length and width. Though I'll soon update a Image here.
@theodore I have added a sample image please check it.
Plane are not parallel (foot and camera plane) so it would be difficult with only one coin. With two coin I think it's possible to estimate foot length
@LBerger Lets Assume if foot and camera plane are parallel, then how we can measure height and width of foot.
Of course you cannot find height and width. But your coin give you a length estimation small image region. You can say that 's this value is true everywhere (order 0). If you 've got focal length you can interpolate this value everywhere.
Agian this method is not calibrattion process but can give you some good estimation...