Skip to content

fix masking issue in interpolate#161

Merged
AmitMY merged 2 commits intosign-language-processing:masterfrom
J22Melody:interpolate
Mar 22, 2025
Merged

fix masking issue in interpolate#161
AmitMY merged 2 commits intosign-language-processing:masterfrom
J22Melody:interpolate

Conversation

@J22Melody
Copy link
Copy Markdown
Contributor

I have found this strange bug: when the x, y, z, and confidence are all 0s for a point in a pose (everything should be masked), but the current implementation on line 342 would not consider it masked when reading the first dimension (the x is 0).

I did not have this issue before, so I assume the pose data should always have masked x, y, and z values when the confidence is 0, @AmitMY is it what we should expect for a "normal" pose?

@AmitMY
Copy link
Copy Markdown
Collaborator

AmitMY commented Mar 17, 2025

  1. I am not sure i understand the change.
  2. if confidence is 0, a mask is created https://github.com/sign-language-processing/pose/pull/161/files#diff-b2fa5baab13397a32417b3f212c9429c3398ddf14222e50a8eafa2d1af5f379fR50

@J22Melody J22Melody marked this pull request as ready for review March 21, 2025 15:00
@J22Melody
Copy link
Copy Markdown
Contributor Author

ready for review and merge

@AmitMY AmitMY merged commit 4c9103d into sign-language-processing:master Mar 22, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants