Skip to main content

Python3 library for converting between various image annotation dataset formats.

Project description

The image-dataset-converter library allows the conversion between various dataset formats for image annotation datasets. Filters can be supplied as well, e.g., for cleaning up the data.

Dataset formats:

  • image classification: ADAMS (r/w), sub-dir (r/w)

  • object detection: ADAMS (r/w), COCO (r/w), OPEX (r/w), ROI (r/w), VOC (r/w), YOLO (r/w)

  • image segmentation: blue-channel (r/w), grayscale (r/w), indexed PNG (r/w), layer segments (r/w)

Changelog

0.0.2 (2024-06-13)

  • added generic plugins that take user Python functions: from-pyfunc, pyfunc-filter, to-pyfunc

  • added idc-exec tool that uses generator to produce variable/value pairs that are used to expand the provided pipeline template which then gets executed

  • added polygon-simplifier filter for reducing number of points in polygons

  • moved several geometry/image related functions from imgaug library into core library to avoid duplication

  • added python-image-complete as dependency

  • the ImageData class now uses the python-image-complete library to determine the file format rather than loading the image into memory in order to determine that

  • the convert-image-format filter now correctly creates a new container with the converted image data

  • the to-coco-od writer only allows sorting of categories when using predefined categories now

  • the from-opex-od reader now handles absent meta-data correctly

  • added the AnnotationsOnlyWriter mixin for writers that can skip the base image and just output the annotations

0.0.1 (2024-05-06)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image-dataset-converter-0.0.2.tar.gz (78.5 kB view details)

Uploaded Source

File details

Details for the file image-dataset-converter-0.0.2.tar.gz.

File metadata

  • Download URL: image-dataset-converter-0.0.2.tar.gz
  • Upload date:
  • Size: 78.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for image-dataset-converter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7be1c8ea883cbddf29b72268862cb09c4af5975d35d1b2fb6a7bb69e41e5c84d
MD5 c8c45e4e7e5122a6719125dec1aa2cde
BLAKE2b-256 4d8c3909530ef709704332bebb0e8e950371de6cb6c001d35c87a7339209d8e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page