rm-anime-bg


Namerm-anime-bg JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/shirayu/rm_anime_bg.git
Summary
upload_time2023-06-21 18:36:06
maintainer
docs_urlNone
authorYuta Hayashibe
requires_python>=3.9,<3.11
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# rm_anime_bg

[![PyPI version](https://badge.fury.io/py/rm_anime_bg.svg)](https://badge.fury.io/py/rm_anime_bg)
[![Python Versions](https://img.shields.io/pypi/pyversions/rm_anime_bg.svg)](https://pypi.org/project/rm_anime_bg/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Downloads](https://pepy.tech/badge/rm_anime_bg/week)](https://pepy.tech/project/rm_anime_bg)

[![CI](https://github.com/shirayu/rm_anime_bg/actions/workflows/ci.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/ci.yml)
[![CodeQL](https://github.com/shirayu/rm_anime_bg/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/codeql-analysis.yml)
[![Typos](https://github.com/shirayu/rm_anime_bg/actions/workflows/typos.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/typos.yml)

A simple CLI of anime background remover with [SkyTNT/anime-segmentation](https://github.com/SkyTNT/anime-segmentation)

![An example of input image](example/example_0_original.png)
![An example of output image](example/example_0_after.png)

[Image source](https://ja.wikipedia.org/wiki/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:Wikipe-tan_meets_mathematics.png), licensed under CC-BY-SA-3.0, Funa Funa

## Setup

```bash
# For CPU
pip install -U 'rm_anime_bg[cpu]'

# For GPU
pip install -U 'rm_anime_bg[gpu]'
```

## Usage

```bash
rm_anime_bg -o [Output directory] [Input 1] [Input 2] [Input 3] ... [Input N]
```

- ``--cpu``: Force use of CPU

Run ``rm_anime_bg --help`` to check full command options

### Example

```bash
rm_anime_bg -o /path/to/output_dir input1.png input2.png
```

## Links

- <https://github.com/SkyTNT/anime-segmentation>
- Another image background remover: [rembg](https://github.com/danielgatis/rembg)

## License

Apache License 2.0

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/shirayu/rm_anime_bg.git",
    "name": "rm-anime-bg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.11",
    "maintainer_email": "",
    "keywords": "",
    "author": "Yuta Hayashibe",
    "author_email": "yuta@hayashibe.jp",
    "download_url": "https://files.pythonhosted.org/packages/e6/01/81432ddc2bd42582ed226ad50b218d139cde72cbde7c384c0eaf931e0c60/rm_anime_bg-0.2.0.tar.gz",
    "platform": null,
    "description": "\n# rm_anime_bg\n\n[![PyPI version](https://badge.fury.io/py/rm_anime_bg.svg)](https://badge.fury.io/py/rm_anime_bg)\n[![Python Versions](https://img.shields.io/pypi/pyversions/rm_anime_bg.svg)](https://pypi.org/project/rm_anime_bg/)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Downloads](https://pepy.tech/badge/rm_anime_bg/week)](https://pepy.tech/project/rm_anime_bg)\n\n[![CI](https://github.com/shirayu/rm_anime_bg/actions/workflows/ci.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/ci.yml)\n[![CodeQL](https://github.com/shirayu/rm_anime_bg/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/codeql-analysis.yml)\n[![Typos](https://github.com/shirayu/rm_anime_bg/actions/workflows/typos.yml/badge.svg)](https://github.com/shirayu/rm_anime_bg/actions/workflows/typos.yml)\n\nA simple CLI of anime background remover with [SkyTNT/anime-segmentation](https://github.com/SkyTNT/anime-segmentation)\n\n![An example of input image](example/example_0_original.png)\n![An example of output image](example/example_0_after.png)\n\n[Image source](https://ja.wikipedia.org/wiki/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:Wikipe-tan_meets_mathematics.png), licensed under CC-BY-SA-3.0, Funa Funa\n\n## Setup\n\n```bash\n# For CPU\npip install -U 'rm_anime_bg[cpu]'\n\n# For GPU\npip install -U 'rm_anime_bg[gpu]'\n```\n\n## Usage\n\n```bash\nrm_anime_bg -o [Output directory] [Input 1] [Input 2] [Input 3] ... [Input N]\n```\n\n- ``--cpu``: Force use of CPU\n\nRun ``rm_anime_bg --help`` to check full command options\n\n### Example\n\n```bash\nrm_anime_bg -o /path/to/output_dir input1.png input2.png\n```\n\n## Links\n\n- <https://github.com/SkyTNT/anime-segmentation>\n- Another image background remover: [rembg](https://github.com/danielgatis/rembg)\n\n## License\n\nApache License 2.0\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/shirayu/rm_anime_bg.git",
        "Repository": "https://github.com/shirayu/rm_anime_bg.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50621eb4e1dc780c1e0655be5d85d998ae82af7e3cb785099dca576eb48425ac",
                "md5": "be300c4c2c9cce2123f5ea86f26f3a19",
                "sha256": "2a3369bc2a0675a3844895cb5ee6cca514358122ae5225c743bb0f6187d0dc37"
            },
            "downloads": -1,
            "filename": "rm_anime_bg-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "be300c4c2c9cce2123f5ea86f26f3a19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.11",
            "size": 7904,
            "upload_time": "2023-06-21T18:36:04",
            "upload_time_iso_8601": "2023-06-21T18:36:04.506324Z",
            "url": "https://files.pythonhosted.org/packages/50/62/1eb4e1dc780c1e0655be5d85d998ae82af7e3cb785099dca576eb48425ac/rm_anime_bg-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e60181432ddc2bd42582ed226ad50b218d139cde72cbde7c384c0eaf931e0c60",
                "md5": "5c8b1a870ab4101e432295e3858100ea",
                "sha256": "c918bad6f26b64dccedd507d43aff5870e138cd285bbd1e5b4c15946b88cef11"
            },
            "downloads": -1,
            "filename": "rm_anime_bg-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5c8b1a870ab4101e432295e3858100ea",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.11",
            "size": 7430,
            "upload_time": "2023-06-21T18:36:06",
            "upload_time_iso_8601": "2023-06-21T18:36:06.247328Z",
            "url": "https://files.pythonhosted.org/packages/e6/01/81432ddc2bd42582ed226ad50b218d139cde72cbde7c384c0eaf931e0c60/rm_anime_bg-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-21 18:36:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shirayu",
    "github_project": "rm_anime_bg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "rm-anime-bg"
}
        
Elapsed time: 0.18041s