Ask Your Question
-2

Foot Measurement [Python]

asked 2020-09-21 00:49:45 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-09-21 07:41:20 -0600

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

edit flag offensive delete link more

Comments

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

sturkmen gravatar imagesturkmen ( 2020-09-21 07:47:31 -0600 )edit
1

Hello,

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

Stupend gravatar imageStupend ( 2020-09-21 08:16:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-09-21 00:49:45 -0600

Seen: 1,255 times

Last updated: Sep 21 '20