Skip to main content

A package to create labeling/segmentation information based on pixel values.

Project description

Labeling in Python

This package is intended to provide an easy way to store Labelings for image segmentation. The segmentation information is stored in a BSON file for fast I/O on demand, but can also be exported to JSON for human readability.

Usage

  1. Create a Labeling object with one of the static methods or just init normally.

  2. Add one or more images(iterate_over_images(), add_image(), or even patches of an image (add_segments()).

    Note: If you decide to add patches, make sure that no segment in a patch is overlapping the edge of the patch. Otherwise, the other parts of the segment will be considered an unique entity.

  3. (Optional) Add any kind of metadata you want to the Labeling as additional information supplied by you

  4. Get the Labeling for further use(get_result()) or save (save_result()) it to a specified path. Both methods return an image and a bson container.

Information

The project is open-source. If you find problems or have ideas for improvement, please create an issue on GitHub, or contribute yourself!

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

labeling-0.1.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

labeling-0.1.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file labeling-0.1.5.tar.gz.

File metadata

  • Download URL: labeling-0.1.5.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4

File hashes

Hashes for labeling-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6c75ec986f97687298e8d795c54aa94313d0f5ec30f9f77dc4844090dc08fbbd
MD5 afe598c36e3892582051326ae8fa6383
BLAKE2b-256 25d0353a6e7a2bb7d41c47a6a7afa30abb94c048695f6847f235e250eca07d77

See more details on using hashes here.

File details

Details for the file labeling-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: labeling-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4

File hashes

Hashes for labeling-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1e2df192777649f536641def631665473bb4303778c2ffcc23bbb8544b3a6b
MD5 9081c6a2e4c2299358b65991b1c41913
BLAKE2b-256 3caa432aae02bfa72614ac5c241bb5c6408fc3dd2fa53b353bec993a155b67b7

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