Skip to main content

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!

Metadata

Release files for labeling 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labeling 0.1.15
File Size Uploaded
labeling-0.1.15.tar.gz 51.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for labeling 0.1.15
File Interpreter ABI Platform
labeling-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 59.5 kB

Release files / labeling-0.1.15.tar.gz

Download URL labeling-0.1.15.tar.gz
Size 51.6 kB
Tags Source
SHA-256 checksum
How to use checksums
797389f825e88451feead379ec2c1327037daf2b64547882265652bcee3b113d
BLAKE2b-256 checksum
How to use checksums
7640dfa6bd232e7afd1fc0867a27450a03e639b7ad1c98a7ae887e540e712f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.0

Release files / labeling-0.1.15-py3-none-any.whl

Download URL labeling-0.1.15-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36d8b0fa46c94053407b7b9d9b8566b820953631a1942b00cefdd35cbe01ee71
BLAKE2b-256 checksum
How to use checksums
d5a216bacfd93787862fe33abcd63bc9f9ada01ccd7d882e468a36bb4a014217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.0

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page