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

Compute Z angle #56

Open
roaldarbol opened this issue Nov 1, 2024 · 0 comments
Open

Compute Z angle #56

roaldarbol opened this issue Nov 1, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@roaldarbol
Copy link
Owner

We could make a function that computes the angle relative to the XY plane. It would find the maximal distance between two points, and then by cosine/sine find the angle - e.g. when the points are super close, they must be almost vertical.

Assumptions are that the segments are rigid (i.e. no compression/extension), and we can’t know whether it’s pointing up or down since there could be two solutions.

Probably most useful for top-view tracking. Could be a proxy for a Z coordinate if we constrain the system such that frontal keypoints always go up, and rear keypoints go down (i.e. the animal never points down).

Needs some more thought though.

@roaldarbol roaldarbol added the enhancement New feature or request label Nov 1, 2024
@roaldarbol roaldarbol added this to the Future milestone Nov 1, 2024
@roaldarbol roaldarbol moved this to 🔬 Triage in animovement progress Nov 1, 2024
@roaldarbol roaldarbol changed the title `compute_ Compute Z angle Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🔬 Triage
Development

No branches or pull requests

1 participant