Annotation converter between different formats
Project description
DagsHub Annotation Converter
This package is intended to be a multi-type importer/exporter/converter between different annotation formats.
This package is currently in development and has not that many features implemented. The API is not stable and is subject to change.
The package consists of the Intermediary Representation (IR) annotation format in Python Objects, and importers/exporters for different annotation formats.
Installation
pip install dagshub-annotation-converter
Importers (Image):
- YOLO BBox, Segmentation, Poses
- Label Studio (Only task schema implemented, importing from a project is left up to user):
from dagshub_annotation_converter.formats.label_studio.task import LabelStudioTask
task_obj = LabelStudioTask.from_json("path/to/label_studio_task.json")
annotations = task_obj.to_ir_annotations()
Exporters (Image):
- YOLO BBox, Segmentation, Poses
- Label Studio (Again, only task schema, uploading the task to the project is left to the user)
Experimental Features:
The package contains some experimental features that can be toggled on by setting a corresponding environment variable:
DAGSHUB_ANNOTATION_EXPERIMENTAL_CVAT_POSE_GROUPING_BY_GROUP_ID_ENABLED- When importing CVAT annotations, you can put a single bbox and either a points or skeletons annotation in a group, and then they will be grouped together into a pose annotation. When exporting that to YOLO, the bbox and the points will be exported as a single annotation.
You can read more about the features that exist, their limitations and potential side effects in the features.py file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dagshub_annotation_converter-0.1.11.tar.gz.
File metadata
- Download URL: dagshub_annotation_converter-0.1.11.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dc49d9b2b9d1ab2ba2a755065fe20daa941389aede3dec8a6329c87bcee53b4
|
|
| MD5 |
e6ee3da654c6804a6738d27e99396934
|
|
| BLAKE2b-256 |
998da47559b86b04916d287f467a9c15e8407bfb3d5109dd3aa5d0fe6c345ca1
|
Provenance
The following attestation bundles were made for dagshub_annotation_converter-0.1.11.tar.gz:
Publisher:
python-publish.yml on DagsHub/dagshub-annotation-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dagshub_annotation_converter-0.1.11.tar.gz -
Subject digest:
2dc49d9b2b9d1ab2ba2a755065fe20daa941389aede3dec8a6329c87bcee53b4 - Sigstore transparency entry: 281720604
- Sigstore integration time:
-
Permalink:
DagsHub/dagshub-annotation-converter@df37c202cd111a7470cd2d6175376989f7d18bd3 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/DagsHub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@df37c202cd111a7470cd2d6175376989f7d18bd3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dagshub_annotation_converter-0.1.11-py3-none-any.whl.
File metadata
- Download URL: dagshub_annotation_converter-0.1.11-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cd4058cbee4d2f51b8770e05d35e66713424a8984a1e58209e100db53a29266
|
|
| MD5 |
0e46065a51b72b990f2046bb487a3d88
|
|
| BLAKE2b-256 |
e8448343e979664fc752656d9119d8893bbcfd9f6bdfc5813696810b1d0dcd2d
|
Provenance
The following attestation bundles were made for dagshub_annotation_converter-0.1.11-py3-none-any.whl:
Publisher:
python-publish.yml on DagsHub/dagshub-annotation-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dagshub_annotation_converter-0.1.11-py3-none-any.whl -
Subject digest:
1cd4058cbee4d2f51b8770e05d35e66713424a8984a1e58209e100db53a29266 - Sigstore transparency entry: 281720609
- Sigstore integration time:
-
Permalink:
DagsHub/dagshub-annotation-converter@df37c202cd111a7470cd2d6175376989f7d18bd3 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/DagsHub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@df37c202cd111a7470cd2d6175376989f7d18bd3 -
Trigger Event:
release
-
Statement type: