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
-
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!
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
Built Distribution
File details
Details for the file labeling-0.1.14.tar.gz
.
File metadata
- Download URL: labeling-0.1.14.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fceaa24e3c5d88d2bfa17ea5356503553be726dc3395563358266c9c6fac8b87 |
|
MD5 | f757d70e099e196a30b11569b5239c64 |
|
BLAKE2b-256 | 299fc10704cd16909b67004457883b52ed42c039df18be2a4f12b8599d98a172 |
File details
Details for the file labeling-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: labeling-0.1.14-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ef77e62a4a227aa042ee8d5a2ffc3cb1d72d0638f00851fb7852ca5025d6ca |
|
MD5 | c4b278427cb968800ec27d14dbcf7294 |
|
BLAKE2b-256 | 26bfaec7359ac7f779425eba5fa1dd2c01a983c4f73023e9dfb08bf65b5ddb66 |