Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distance Between Ears Calculation #10

Open
skumarlabs opened this issue Jan 28, 2021 · 0 comments
Open

Distance Between Ears Calculation #10

skumarlabs opened this issue Jan 28, 2021 · 0 comments

Comments

@skumarlabs
Copy link

skumarlabs commented Jan 28, 2021

self.distancBetweenEars = abs(GetPoint(pose, 18)[0] - GetPoint(pose, 18)[1])

I was just browsing through the code, the line mentioned above to get the distance between the ears.
self.distancBetweenEars = abs(GetPoint(pose, 18)[0] - GetPoint(pose, 18)[1])

I am not quite sure, how the above line gets the distance between two ears. The above line just calculates the distance between x and y location of left ear joint, if am not wrong.

Shouldn't it be something like where joint #17 is for right ear and #18 is for left ear and we are getting x location of both ears?
self.distancBetweenEars = abs(GetPoint(pose, 17)[0] - GetPoint(pose, 18)[0])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant