DIS-inference
Inference implementation of Dichotomous Image Segmentation
Highly Accurate Dichotomous Image Segmentation (ECCV 2022)
Xuebin Qin, Hang Dai, Xiaobin Hu, Deng-Ping Fan*, Ling Shao, Luc Van Gool.
| Origin | DIS |
|---|---|
Table of Contents
Installation
pip install dis-inference
Usage
CLI
command: dis-inference
arguments:--silent(optional) : Whether to print verbose. Source image
> dis-inference Lenna.png
Output saved as `Lenna_dis.png`
> dis-inference --silent Lenna.png
Python
from dis_inference import inference
# 1. Inference with path
output = inference('Lenna.png')
cv2.imwrite('Lenna_dis.png', output)
# 2. Inference cv2 image
image = cv2.imread('Lenna.png')
output = inference(image)
cv2.imwrite('Lenna_dis.png', output)
# 3. Inference cv2 image with save parameter
image = cv2.imread('Lenna.png')
output = inference(image, save=True, output='Lenna_dis.png')
# 3. With save parameter
image = inference('Lenna.png', save=True)
License
dis-inference is distributed under the terms of the AGPL-3.0-only
license.
Reference
https://github.com/xuebinqin/DIS
Citation
@InProceedings{qin2022,
author={Xuebin Qin and Hang Dai and Xiaobin Hu and Deng-Ping Fan and Ling Shao and Luc Van Gool},
title={Highly Accurate Dichotomous Image Segmentation},
booktitle={ECCV},
year={2022}
}
Metadata
Release files for dis-inference 1.1.3
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 | |
|---|---|---|---|---|
| dis_inference-1.1.3.tar.gz | 790.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dis_inference-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 810.3 kB
Release files / dis_inference-1.1.3.tar.gz
| Download URL | dis_inference-1.1.3.tar.gz |
|---|---|
| Size | 790.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52733b5105103dc76b98d73b7b55747a86ba443e642fdb3c1fc64f72907f6184
|
|
BLAKE2b-256 checksum How to use checksums |
d7aa5d7760a4d9b734812948566b6ea2a514d674492c087ea3f979745951ba6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / dis_inference-1.1.3-py3-none-any.whl
| Download URL | dis_inference-1.1.3-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6ad1c8b4fe5ea54c076a4f5b39be86d3413a6abfa7fca22c186bd38a897171d
|
|
BLAKE2b-256 checksum How to use checksums |
a671e3641b8c0d2c562a7c45e413b162598e7228b8012790f751ff7bdad40c61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for dis-inference 1.1.3
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.