Skip to main content

a dataset loader and converter for object detection segmentation and classification

Project description

polimòrfo

https://img.shields.io/pypi/v/polimorfo.svg https://img.shields.io/travis/fabiofumarola/polimorfo.svg Documentation Status Updates

Polimòrfo (πολύμορϕος, comp. di πολυ- «poli-» e μορϕή «forma») is a dataset loader and converter library for object detection segmentation and classification. The goal of the project is to create a library able to process dataset in format:

and transform these dataset into a common format (COCO).

Moreover, the library offers utilies to handle (load, convert, store and transform) the various type of annotations. This is important when you need to: - convert mask to polygons - store mask in a efficient format - convert mask/poygons into bounding boxes

Features

TODO

  • [X] Coco dataset

  • [X] download coco datasets for train and val

  • [X] add annotations loader and converter

  • [X] add the ability to create dataet from scratch

  • [ ] add voc dataset format

  • [ ]

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.0 (2020-02-18)

  • Add support to process coco dataset

0.2.1 (2020-02-28)

  • add support to download files and archives from the web and google drive

0.3.0 (2020-10-04)

  • addedd support for removing categories and other utilities

0.4.0 (2020-10-05)

  • addedd support to create a dataset from scratch

0.5.0 (2020-10-06)

  • added support to visualize images and annotations

  • make image removing optional during annotations and categories deletion

0.6.0 (2020-10-12)

  • added copy dataset

  • added split dataset

0.6.1 (2020-10-12)

  • fixed a bug in colors generation for show images

0.6.2 (2020-10-12)

  • update signature for function def update_images_path(self, func):

0.7.0 (2020-10-19)

  • add method to dump dataset in format segmentation map

0.8.0 (2020-10-23)

  • fixed bug in maskutils.mask_to_polygons

  • add class to transform the predictions from instance and semantic segmentation in coco format

  • fixed bug in add_image, add_annotation, add_category

  • make load_image and load_images load random images sampled from the dataset

0.8.1 (2020-10-23)

  • fixed bug for tqdm when removing a category and its annotations from the dataset

0.8.2 (2020-10-23)

  • removed the prefix jpg when saving masks

  • update draw instance to draw only bounding boxes

0.8.3 (2020-10-24)

  • fixed bug in enum for draw instances

0.8.4 (2020-10-24)

  • add show bounding boxes

0.8.5 (2020-10-24)

  • changed representation for masks from [width, height, labels] to [labels, width, height]

0.8.6 (2020-10-24)

  • added method to crop images

  • added method to move annotations with respect a bounding box

0.8.7 (2020-10-24)

  • support fully creation o a new dataset

0.8.8-11 (2020-10-26)

  • fixed vairous bugs

0.8.12 (2020-10-26)

  • fixed bug when the size of the segments is equal to 4

0.8.13 (2020-10-26)

  • fixed bug in json dump to serialize numpy array

0.8.14 (2020-10-26)

  • fixed bug in json dump to serialize numpy types

0.9.1 (2020-10-28)

  • fixed various bugs

  • add index for speedup lookup operations

0.9.2 (2020-10-28)

  • add new feature to compute mean average precision and recall per class and global

0.9.3 (2020-10-28)

  • add computation of mean average precision and mean average recall per image

0.94 (2020-10-28)

  • fixed bug in score computation

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

polimorfo-0.9.12.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polimorfo-0.9.12-py2.py3-none-any.whl (25.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file polimorfo-0.9.12.tar.gz.

File metadata

  • Download URL: polimorfo-0.9.12.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for polimorfo-0.9.12.tar.gz
Algorithm Hash digest
SHA256 ef298820e07469f6b29f3ad5426876d9765440d7b0c6490e55db11ec15072344
MD5 078c65cce01b0a8fb9b8a2c1dfb414f3
BLAKE2b-256 369acfce2631196cd72e5dae66a9153672eb0c3b57a14803bcfe24ef3a7f005d

See more details on using hashes here.

File details

Details for the file polimorfo-0.9.12-py2.py3-none-any.whl.

File metadata

  • Download URL: polimorfo-0.9.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for polimorfo-0.9.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41aa5975bc6e0c09dce5d253e056b8a99beea77f336b9d870b5710dec4537152
MD5 c0adb0a330878d96491df62bf1bacc12
BLAKE2b-256 bc87325306ef82c8b54adff75e8e9517a247261530a4ca6c291018dd77f16a1a

See more details on using hashes here.

Supported by

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