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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dis_bg_remover-0.1.2.tar.gz.

File metadata

  • Download URL: dis_bg_remover-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for dis_bg_remover-0.1.2.tar.gz
Algorithm Hash digest
SHA256 23ca918c77deaef97f5f585acee19c6310dd99009448e3e9c61d1adaeade8148
MD5 4d7f7ae3c91f9f4110422324705c252e
BLAKE2b-256 bf0f81a2a587cda24e43fc80ea4d343fd84e6f9d5f4603bb390d8f8cc03084d8

See more details on using hashes here.

File details

Details for the file dis_bg_remover-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dis_bg_remover-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64b2c747f1ef3ae8bb1128f6302cd86e3a484d9c9950d4146f8bb02d045cfcdb
MD5 7dec581935177dda8c0516b6b2ef8863
BLAKE2b-256 cf9f9aac9ddca8bc9076928eaa3200b0d270680adb825a10f914887f249e5524

See more details on using hashes here.

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