Inference implementation for Dichotomous Image Segmentation
Project description
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.
Project Page, Arxiv, 中文.
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. Used in memory
image = inference('Lenna.png')
cv2.imwrite('Lenna_dis.png', image)
# 2. 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}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dis_inference-1.1.0.tar.gz
(648.4 kB
view hashes)
Built Distribution
Close
Hashes for dis_inference-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e88e8e77652f16ceb538c96055f7f0e359b1d3e3fc29880b9bacbd6ad5529ae |
|
MD5 | 327b5f7206f3f3f1d6c142c00c200d2c |
|
BLAKE2b-256 | ac818e36255f688fcac6ad2c5403cc6da4487c787dc541b058cee6aba8be4245 |