Instance Segmentation Metrics
Instanseg is an open-source python library that provides various metrics for evaluating the results of the algorithms for segmenting and associating instances.
List of metrics implemented in the library:
- Summary segmentation metrics
- Instance-based segmentation metrics
- Point-based segmentation metrics
For more, please visit the Instanseg documentation.
You can also find full information about the project on the Instanseg project website.
Python quick start
Library can be installed using the pip package manager:
$ # Install package
$ pip install instanseg
$ # Check installed version of package
$ pip show instanseg
Example of usage
Below is an example of using the precision metric:
>>> from instanseg.metrics import precision
>>> pred_labels = np.array([1, 1, 3, 3])
>>> gt_labels = np.array([2, 2, 0, 3])
>>> tp_condition = "iou"
>>> precision(pred_labels, gt_labels, tp_condition)
0.5
Citation
@misc{kornilova2022evops,
title={EVOPS Benchmark: Evaluation of Plane Segmentation from RGBD and LiDAR Data},
author={Anastasiia Kornilova, Dmitrii Iarosh, Denis Kukushkin, Nikolai Goncharov, Pavel Mokeev, Arthur Saliou, Gonzalo Ferrer},
year={2022},
eprint={2204.05799},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
License
This project is licensed under the Apache License - see the LICENSE file for details.
Metadata
Release files for instanseg 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| instanseg-0.0.2.tar.gz | 13.1 kB | Without provenance | Details for instanseg-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| instanseg-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for instanseg-0.0.2-py3-none-any.whl |
Total release size: 37.9 kB
Release files / instanseg-0.0.2.tar.gz
| Download URL | instanseg-0.0.2.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8967881f6d9669b50ab7fa1a4d3f17f606063ea0893dadc749c518c0e916e79
|
|
BLAKE2b-256 checksum How to use checksums |
75925089060b28b68f4abb9ff7d8d3fd4e2bf5711f20f0021d864b0c2ffdcfcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.17 Linux/5.15.0-1041-azure
|
Release files / instanseg-0.0.2-py3-none-any.whl
| Download URL | instanseg-0.0.2-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2b693cf4ccaec1316d539fc1a6200208bad4e1e65574e72fe051fee35cb18ac
|
|
BLAKE2b-256 checksum How to use checksums |
9423292fb4f14a4ec339412b4bc33204beb2796d14f4eeccd14f5bc733a12768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.17 Linux/5.15.0-1041-azure
|
Security for instanseg 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.