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

feat: Merge Multiple Polygons in a COCO Dataset Annotation #1229

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on May 25, 2024

  1. feat: merge multi mask with bitwise or

    If a segmentation list of an annotation in a COCO dataset contains more than 1 nested list, seperate binary masks are created for each nested list (polygon). Then, the first polygon is designated as a parent and subsequent polygons in the list will be merged with the parent using numpy logical or.
    DancinParrot committed May 25, 2024
    Configuration menu
    Copy the full SHA
    35d1827 View commit details
    Browse the repository at this point in the history
  2. test: unit test for merge_polygons (renamed from merge_masks)

    The function merge_masks() has been renamed to merge_polygons(). It has been refactored to include explicit function parameters and return value.
    DancinParrot committed May 25, 2024
    Configuration menu
    Copy the full SHA
    5b37308 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a137be View commit details
    Browse the repository at this point in the history