Skip to content

Commit

Permalink
Merge branch 'master' into increment-ann-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vorozhkog authored Nov 7, 2024
2 parents f76b94d + 587c865 commit b34a995
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
<a href="#Results">Results</a>
</p>

[![](https://img.shields.io/badge/supervisely-ecosystem-brightgreen)](https://ecosystem.supervise.ly/apps/supervisely-ecosystem/export-to-coco)
[![](https://img.shields.io/badge/slack-chat-green.svg?logo=slack)](https://supervise.ly/slack)
[![](https://img.shields.io/badge/supervisely-ecosystem-brightgreen)](https://ecosystem.supervisely.com/apps/supervisely-ecosystem/export-to-coco)
[![](https://img.shields.io/badge/slack-chat-green.svg?logo=slack)](https://supervisely.com/slack)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/supervisely-ecosystem/export-to-coco)
[![views](https://app.supervise.ly/img/badges/views/supervisely-ecosystem/export-to-coco.png)](https://supervise.ly)
[![runs](https://app.supervise.ly/img/badges/runs/supervisely-ecosystem/export-to-coco.png)](https://supervise.ly)
[![views](https://app.supervisely.com/img/badges/views/supervisely-ecosystem/export-to-coco.png)](https://supervisely.com)
[![runs](https://app.supervisely.com/img/badges/runs/supervisely-ecosystem/export-to-coco.png)](https://supervisely.com)

</div>

# Overview

App converts [Supervisely format](https://docs.supervise.ly/data-organization/00_ann_format_navi) project to [COCO format](https://cocodataset.org/#home) as a **downloadable .tar archive**
App converts [Supervisely format](https://docs.supervisely.com/data-organization/00_ann_format_navi) project to [COCO format](https://cocodataset.org/#home) as a **downloadable .tar archive**

Application key points:

Expand All @@ -31,12 +31,12 @@ Application key points:
👉 To exprot captions you need to create `caption` tag to the project (with `any_string` value type) and assign it to images with caption values.
- ⚠️ Сonverts annotations without preserving holes.

👉 To preserve holes in polygons or export polylines it's best to use [Export to COCO mask](https://ecosystem.supervise.ly/apps/export-to-coco-mask)
👉 To preserve holes in polygons or export polylines it's best to use [Export to COCO mask](https://ecosystem.supervisely.com/apps/export-to-coco-mask)
- Backward compatible with [Import COCO](https://github.com/supervisely-ecosystem/import-coco)

# How to Use

1. Add [Export to COCO](https://ecosystem.supervise.ly/apps/export-to-coco) to your team from Ecosystem
1. Add [Export to COCO](https://ecosystem.supervisely.com/apps/export-to-coco) to your team from Ecosystem

<img data-key="sly-module-link" data-module-slug="supervisely-ecosystem/export-to-coco" src="https://github.com/supervisely-ecosystem/export-to-coco/assets/57998637/81341c23-8803-4fc0-85e6-06802b833ec8" width="350px" style='padding-bottom: 20px'/>

Expand Down
1 change: 1 addition & 0 deletions src/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def create_coco_annotation(
include_captions,
rectangle_mark,
):

global incremental_id
for image_info, ann in zip(image_infos, anns):
image_coco_ann = dict(
Expand Down

0 comments on commit b34a995

Please sign in to comment.