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
-
Create a Labeling object with one of the static methods or just init normally.
-
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.
-
(Optional) Add any kind of metadata you want to the Labeling as additional information supplied by you
-
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)
| File | Size | Uploaded | |
|---|---|---|---|
| labeling-0.1.15.tar.gz | 51.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|