-
Notifications
You must be signed in to change notification settings - Fork 26
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
Simple heuristics to identify frames of interaction #225
Comments
Could also incorporate how they are oriented relative to each other. Since you have the |
The males actually do a ton of circling around the female if she's immobile, so that vector would span all the angles (in addition to chasing which will look more parallel). We really like using shapely for this kind of stuff. Having reimplemented way too many computational geometry routines during my PhD (specifically to quantify fly courtship), I really like deferring to shapely whenever possible. For example, for social investigation across mice, what we do is compute the convex hull of the head keypoints and the body keypoints (separately), then use Here's a colab with an example pipeline. |
I like that idea! Also because EDIT: I wonder whether it would mostly make sense to implement some of the more objective things, such as e.g. a function that, given two geometries (could be body-related keypoints and points that make up the wall) and compute the nearest distance between the two geometries. And then leave it to the user to have their own ( achine learning) methods for assigning descriptions such as "chase", "close to wall", etc. |
We like |
I feel like possibly organising a hackathon/workshop could be cool for coming up with and implementing a bunch of geometrical/relational functions 😅 |
Would be cool, but given the geographical distribution of interested parties, would be hard to organise in person, and It's tricky to capture the hackathon spirit in online events. Perhaps attached to some conference where many interested people are likely to be is the most feasible? |
Cosyne? |
Would be mega awesome! I'll have finished my PhD then (probably viva around those dates), and don't have a position or funding lined up, so I can't go unfortunately. :-( |
CoSyne would be great, but I haven't yet decided whether I'm attending or not. |
Is your feature request related to a problem? Please describe.
People often use pose estimation output to analyse social interaction. We could implement functionality in movement that helps the user identify frames in which the animals are likely interacting.
Describe the solution you'd like
Some simple heuristics that may be useful (feel free to expand here or in the comments).
Describe alternatives you've considered
\
Additional context
\
The text was updated successfully, but these errors were encountered: