Skip to main content

Highly Accurate Dichotomous Image Segmentation

Project description

Original Work

Highly Accurate Dichotomous Image Segmentation (ECCV 2022) Xuebin Qin, Hang Dai, Xiaobin Hu, Deng-Ping Fan*, Ling Shao, Luc Van Gool.


Related

Removebg - a Hugging Face Space by gaviego


Installation

pip install dis-bg-remover

Usage

from dis_bg_remover import remove_background

model_path = "PATH TO isnet_dis.onnx"
image_path = "IMAGE PATH"

extracted_img, mask = remove_background(model_path,image_path)

# extracted_img contains the BGRA image with the background removed.
# mask contains the background mask.

Model

Download: HuggingFace

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_bg_remover-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

dis_bg_remover-0.1.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page