-
Notifications
You must be signed in to change notification settings - Fork 141
1.10: Add position information to PointsCategories #1702
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
Merged
djdameln
merged 19 commits into
open-edge-platform:releases/1.10.0
from
djdameln:da/add-keypoint-positions-1.10
Jan 23, 2025
Merged
1.10: Add position information to PointsCategories #1702
djdameln
merged 19 commits into
open-edge-platform:releases/1.10.0
from
djdameln:da/add-keypoint-positions-1.10
Jan 23, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 tasks
sovrasov
approved these changes
Jan 23, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## releases/1.10.0 #1702 +/- ##
==================================================
Coverage ? 81.14%
==================================================
Files ? 284
Lines ? 32891
Branches ? 5299
==================================================
Hits ? 26688
Misses ? 4751
Partials ? 1452
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Duplicate of #1695, targeted to release branch instead of develop
Summary
This PR adds optional position information as meta-info for (key)point annotations. The position information can be used to define one or multiple default relative positions of a set of keypoints, for example a set of default human poses (standing, running etc) for human keypoint detection datasets. This type of meta-information about points data is useful in annotation tools.
Changes
positions
attribute toPointsCategories.Category
class. Similar to thePoints
annotation type, the positions are represented as a list of floats in the format[x1, y1, x2, y2, ..., xn, yn]
. The positions are optional and default to an empty list.Category
constructor. Also validates if the number of position coordinates is the same as the number of labels.PointsCategories
instance is always normalized.How to test
Add some position information to the
PointsCategories
instance of a keypoint detection dataset, then try export and importing the dataset.Checklist
License
Feel free to contact the maintainers if that's a concern.