Name | dis-bg-remover JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | Highly Accurate Dichotomous Image Segmentation |
upload_time | 2024-03-28 15:33:56 |
maintainer | None |
docs_url | None |
author | Amit |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## Original Work
[Highly Accurate Dichotomous Image Segmentation (ECCV 2022)](https://arxiv.org/pdf/2203.03041.pdf)
[Xuebin Qin](https://xuebinqin.github.io/), [Hang Dai](https://scholar.google.co.uk/citations?user=6yvjpQQAAAAJ&hl=en), [Xiaobin Hu](https://scholar.google.de/citations?user=3lMuodUAAAAJ&hl=en), [Deng-Ping Fan*](https://dengpingfan.github.io/), [Ling Shao](https://scholar.google.com/citations?user=z84rLjoAAAAJ&hl=en), [Luc Van Gool](https://scholar.google.com/citations?user=TwMib_QAAAAJ&hl=en).
<br>
## Related
[Removebg - a Hugging Face Space by gaviego](https://huggingface.co/spaces/gaviego/removebg)
<br>
## Installation
```bash
pip install dis-bg-remover
```
<br>
## 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.
```
<br>
## Model
### Download: [HuggingFace](https://huggingface.co/stoned0651/isnet_dis.onnx/resolve/main/isnet_dis.onnx)
Raw data
{
"_id": null,
"home_page": null,
"name": "dis-bg-remover",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Amit",
"author_email": "amit@pulpdata.com.au",
"download_url": "https://files.pythonhosted.org/packages/bf/0f/81a2a587cda24e43fc80ea4d343fd84e6f9d5f4603bb390d8f8cc03084d8/dis_bg_remover-0.1.2.tar.gz",
"platform": null,
"description": "## Original Work\r\n[Highly Accurate Dichotomous Image Segmentation \u00ef\u00bc\u02c6ECCV 2022\u00ef\u00bc\u2030](https://arxiv.org/pdf/2203.03041.pdf) \r\n[Xuebin Qin](https://xuebinqin.github.io/), [Hang Dai](https://scholar.google.co.uk/citations?user=6yvjpQQAAAAJ&hl=en), [Xiaobin Hu](https://scholar.google.de/citations?user=3lMuodUAAAAJ&hl=en), [Deng-Ping Fan*](https://dengpingfan.github.io/), [Ling Shao](https://scholar.google.com/citations?user=z84rLjoAAAAJ&hl=en), [Luc Van Gool](https://scholar.google.com/citations?user=TwMib_QAAAAJ&hl=en).\r\n\r\n<br>\r\n\r\n## Related\r\n[Removebg - a Hugging Face Space by gaviego](https://huggingface.co/spaces/gaviego/removebg) \r\n\r\n<br>\r\n\r\n## Installation\r\n```bash\r\npip install dis-bg-remover\r\n```\r\n<br>\r\n\r\n## Usage\r\n```\r\nfrom dis_bg_remover import remove_background\r\n\r\nmodel_path = \"PATH TO isnet_dis.onnx\"\r\nimage_path = \"IMAGE PATH\"\r\n\r\nextracted_img, mask = remove_background(model_path,image_path)\r\n\r\n# extracted_img contains the BGRA image with the background removed.\r\n# mask contains the background mask.\r\n```\r\n<br>\r\n\r\n## Model\r\n### Download\u00ef\u00bc\u0161 [HuggingFace](https://huggingface.co/stoned0651/isnet_dis.onnx/resolve/main/isnet_dis.onnx)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Highly Accurate Dichotomous Image Segmentation",
"version": "0.1.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cf9f9aac9ddca8bc9076928eaa3200b0d270680adb825a10f914887f249e5524",
"md5": "7dec581935177dda8c0516b6b2ef8863",
"sha256": "64b2c747f1ef3ae8bb1128f6302cd86e3a484d9c9950d4146f8bb02d045cfcdb"
},
"downloads": -1,
"filename": "dis_bg_remover-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7dec581935177dda8c0516b6b2ef8863",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3321,
"upload_time": "2024-03-28T15:33:44",
"upload_time_iso_8601": "2024-03-28T15:33:44.850690Z",
"url": "https://files.pythonhosted.org/packages/cf/9f/9aac9ddca8bc9076928eaa3200b0d270680adb825a10f914887f249e5524/dis_bg_remover-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bf0f81a2a587cda24e43fc80ea4d343fd84e6f9d5f4603bb390d8f8cc03084d8",
"md5": "4d7f7ae3c91f9f4110422324705c252e",
"sha256": "23ca918c77deaef97f5f585acee19c6310dd99009448e3e9c61d1adaeade8148"
},
"downloads": -1,
"filename": "dis_bg_remover-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "4d7f7ae3c91f9f4110422324705c252e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2850,
"upload_time": "2024-03-28T15:33:56",
"upload_time_iso_8601": "2024-03-28T15:33:56.969536Z",
"url": "https://files.pythonhosted.org/packages/bf/0f/81a2a587cda24e43fc80ea4d343fd84e6f9d5f4603bb390d8f8cc03084d8/dis_bg_remover-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-28 15:33:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dis-bg-remover"
}