Skip to content

Conversation

@JBWilkie
Copy link
Contributor

@JBWilkie JBWilkie commented Nov 21, 2024

Problem

In this section of PLA-585, we removed the coco exporter's ability to export complex polygons. This was done by mistake as part of removing V1 code

Solution

Re-add the logic for converting complex polygons. In the COCO format:

  • Simple polygons (iscrowd=0) are represented as series of (x, y) points
  • Complex polygons (iscrowd=1) are represented with RLE

Also updated existing unit & E2E tests for converting to COCO to include complex polygons

Changelog

Fixed regression affecting conversion of complex polygons to the COCO format

@linear
Copy link

linear bot commented Nov 21, 2024

@JBWilkie JBWilkie merged commit 1562449 into master Nov 21, 2024
23 checks passed
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

Successfully merging this pull request may close these issues.

3 participants