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

User friendly way to select reference points for alignment #89

Open
luiztauffer opened this issue Oct 2, 2024 · 0 comments
Open

User friendly way to select reference points for alignment #89

luiztauffer opened this issue Oct 2, 2024 · 0 comments

Comments

@luiztauffer
Copy link
Collaborator

Currently, we define which body parts should be used as reference like this:

vame.egocentric_alignment(
    config,
    pose_ref_index=[7,8],  # aligning on pelvis and tail-base
)

This is not user friendly and prone to errors. A more user friendly solution would be accept a list of body parts names, from which we can infer the indexes, example:

vame.egocentric_alignment(
    config,
    pose_ref=["pelvis", "tail-base"], 
)

The vame function would search for the correct column indexes, and raise an error if the names don't exist.

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