# How to use the remove function
## Load the Image
```python
from remove_bg import remove_byte,remove_direct,remove_cv2,remove_path
input_path = "path/to/input"
output_path = "path/to/output"
```
## Removing the background
### With Byte Architecture
```python
success = remove_byte(input_path:str,output_path:str)
print(success)
```
### With direct
```python
success = remove_direct(input_path:str,output_path:str)
print(success)
```
### With cv2
```python
success = remove_cv2(input_path:str,output_path:str)
print(success)
```
### With path
```python
success = remove_path(input_path:str,output_path:str)
print(success)
```
## Authors
- [@MyFaduGame](https://www.github.com/myfadugame)
Raw data
{
"_id": null,
"home_page": "https://www.github.com/MyFaduGame/remove_bg",
"name": "remove-bg-python",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "remove,background,u2net,MyFaduGame,myfadugame,Navin",
"author": "MyFaduGame",
"author_email": "navinsharma9376319931@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/be/db/9b58807365dff70dc3ef37b953c3e05d0c5b9bd49df2bd605b6a69038d5a/remove_bg_python-1.0.0.tar.gz",
"platform": null,
"description": "# How to use the remove function\r\n\r\n## Load the Image\r\n```python\r\nfrom remove_bg import remove_byte,remove_direct,remove_cv2,remove_path\r\n\r\ninput_path = \"path/to/input\"\r\noutput_path = \"path/to/output\"\r\n```\r\n## Removing the background\r\n\r\n### With Byte Architecture\r\n```python\r\nsuccess = remove_byte(input_path:str,output_path:str)\r\nprint(success)\r\n```\r\n\r\n### With direct\r\n```python\r\nsuccess = remove_direct(input_path:str,output_path:str)\r\nprint(success)\r\n```\r\n\r\n### With cv2\r\n```python\r\nsuccess = remove_cv2(input_path:str,output_path:str)\r\nprint(success)\r\n```\r\n\r\n### With path\r\n```python\r\nsuccess = remove_path(input_path:str,output_path:str)\r\nprint(success)\r\n```\r\n\r\n\r\n## Authors\r\n\r\n- [@MyFaduGame](https://www.github.com/myfadugame)\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Remove Background with Python",
"version": "1.0.0",
"project_urls": {
"Bug Tracker": "https://www.github.com/MyFaduGame/remove_bg",
"Homepage": "https://www.github.com/MyFaduGame/remove_bg"
},
"split_keywords": [
"remove",
"background",
"u2net",
"myfadugame",
"myfadugame",
"navin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2df28fb06d6eb6bfb26fcbe116222e2019f468fddf8007384c21d99b2b47f799",
"md5": "9d3063be2d4cef4f7332718a8a7cf6cd",
"sha256": "926b412c3eed293e19ba5156324d734ad686114c3a72777c95673c068831871b"
},
"downloads": -1,
"filename": "remove_bg_python-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d3063be2d4cef4f7332718a8a7cf6cd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3313,
"upload_time": "2024-03-04T13:36:44",
"upload_time_iso_8601": "2024-03-04T13:36:44.631385Z",
"url": "https://files.pythonhosted.org/packages/2d/f2/8fb06d6eb6bfb26fcbe116222e2019f468fddf8007384c21d99b2b47f799/remove_bg_python-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bedb9b58807365dff70dc3ef37b953c3e05d0c5b9bd49df2bd605b6a69038d5a",
"md5": "02af62ce61018b863adee76724320ce2",
"sha256": "ff555c44eed2ea6f067c0e0b25a92f3a0f1fef271bfd67ce60a56186b2fca5b3"
},
"downloads": -1,
"filename": "remove_bg_python-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "02af62ce61018b863adee76724320ce2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3339,
"upload_time": "2024-03-04T13:36:47",
"upload_time_iso_8601": "2024-03-04T13:36:47.004943Z",
"url": "https://files.pythonhosted.org/packages/be/db/9b58807365dff70dc3ef37b953c3e05d0c5b9bd49df2bd605b6a69038d5a/remove_bg_python-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-04 13:36:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MyFaduGame",
"github_project": "remove_bg",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "remove-bg-python"
}