Ask Your Question
-2

Foot Measurement [Python]

asked Sep 21 '0

AlexisAlexis gravatar image

Hi Everyone,

I have to find the length and the width of a foot placed on a A4 Sheet.

First i tried with some object, like a business card or flyer then it works. I detect the contours of the A4 sheet by finding the 4 contours and cv2.boundingRect() to get a rectangle. and as we know the A4 size then i can find the size of the objects inside.

BUT with the foot obviously it block the 4th contours so i can't get my rectangle and by deduction not use the A4 sheet to measure the foot.

Could someone tell me the approach, thank you so much.

ps : here is the image C:\fakepath\foot3.jpg

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Sep 21 '0

Stupend gravatar image

Hi Alexis,

i have the same problem i'm trying to make this measurement for a while, i had some ideas like for example measuring the distance from the ends of the foot to the end of the sheet but i'm trying to implement it. I left the idea below. I will stay here on the forum monitoring if someone will be able to help us hahaah. If you want to share knowledge add me on watssap: +55 53 991210808. I'm from Brazil, hug. image description

Preview: (hide)

Comments

what about using a paper having a ruler instead of a white paper

sturkmen gravatar imagesturkmen (Sep 21 '0)edit
1

Hello,

The idea would be with a sheet because it is something that the user has easy at home.

Stupend gravatar imageStupend (Sep 21 '0)edit

Question Tools

1 follower

Stats

Asked: Sep 21 '0

Seen: 1,444 times

Last updated: Sep 21 '20