propainter


Namepropainter JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/osmr/propainter
SummaryStreaming ProPainter
upload_time2024-09-18 17:48:44
maintainerNone
docs_urlNone
authorOleg Sémery
requires_python>=3.10
licenseMIT
keywords video-inpaining propainter pytorch
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # Streaming Video Inpainting via ProPainter

A package for using [ProPainter](https://arxiv.org/pdf/2309.03897) in streaming mode (e.g. for a very long video).

### Prerequisites
python >= 3.10

### Deployment 
```
pip install propainter
```

### Deployment for testing from repo
1. Install prerequisites:
```
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove
```
2. Install virtualenv (actual [instructions](https://virtualenv.pypa.io/en/latest/installation.html)):
```
sudo -H pip install --upgrade pip setuptools wheel
sudo -H pip install virtualenv
```
3. Clone repo, create and activate environment:
```
git clone --recurse-submodules git@github.com:osmr/propainter.git
cd propainter
virtualenv venv
source venv/bin/activate
```
4. Update preinstalled packages:
```
pip install --upgrade pip setuptools wheel
```
5. Install package:
```
pip install -e .
```
6. Optionally install pytest:
```
pip install pytest
```

### Usage
1. Investigate the `example.py` script.
2. Investigate pytest scripts in `tests` directory.
3. Launch the `example.py` script on your data: 
```
python example.py --frames=<frame_dir> --masks=<mask_dir> --output=<output_dir> --resize_ratio=1.0 --save
```

### License
Please note that ProPainter is subject to a non-commercial [S-Lab license](https://github.com/sczhou/ProPainter/blob/main/LICENSE).

### Acknowledgement
This code is based on [ProPainter](https://github.com/sczhou/ProPainter). Thanks for this awesome work.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/osmr/propainter",
    "name": "propainter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "video-inpaining propainter pytorch",
    "author": "Oleg S\u00e9mery",
    "author_email": "osemery@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2a/10/756587ada9d0e2ddd1431bfb93f7180c479883cbe65f3e83313b99f7c907/propainter-0.0.4.tar.gz",
    "platform": null,
    "description": "# Streaming Video Inpainting via ProPainter\n\nA package for using [ProPainter](https://arxiv.org/pdf/2309.03897) in streaming mode (e.g. for a very long video).\n\n### Prerequisites\npython >= 3.10\n\n### Deployment \n```\npip install propainter\n```\n\n### Deployment for testing from repo\n1. Install prerequisites:\n```\nsudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove\n```\n2. Install virtualenv (actual [instructions](https://virtualenv.pypa.io/en/latest/installation.html)):\n```\nsudo -H pip install --upgrade pip setuptools wheel\nsudo -H pip install virtualenv\n```\n3. Clone repo, create and activate environment:\n```\ngit clone --recurse-submodules git@github.com:osmr/propainter.git\ncd propainter\nvirtualenv venv\nsource venv/bin/activate\n```\n4. Update preinstalled packages:\n```\npip install --upgrade pip setuptools wheel\n```\n5. Install package:\n```\npip install -e .\n```\n6. Optionally install pytest:\n```\npip install pytest\n```\n\n### Usage\n1. Investigate the `example.py` script.\n2. Investigate pytest scripts in `tests` directory.\n3. Launch the `example.py` script on your data: \n```\npython example.py --frames=<frame_dir> --masks=<mask_dir> --output=<output_dir> --resize_ratio=1.0 --save\n```\n\n### License\nPlease note that ProPainter is subject to a non-commercial [S-Lab license](https://github.com/sczhou/ProPainter/blob/main/LICENSE).\n\n### Acknowledgement\nThis code is based on [ProPainter](https://github.com/sczhou/ProPainter). Thanks for this awesome work.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Streaming ProPainter",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/osmr/propainter"
    },
    "split_keywords": [
        "video-inpaining",
        "propainter",
        "pytorch"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a4c1c9d1aef34e96665e911f028433810f908730b3c001f7aa670bbf7a577fa",
                "md5": "c412db36afa0949a399cd34892b36eba",
                "sha256": "bf7b64c08769cd32c8bee6be7dbaa45df9e47cb76478042766b7b9e1ad368ad7"
            },
            "downloads": -1,
            "filename": "propainter-0.0.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c412db36afa0949a399cd34892b36eba",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 6198,
            "upload_time": "2024-09-18T17:48:42",
            "upload_time_iso_8601": "2024-09-18T17:48:42.753612Z",
            "url": "https://files.pythonhosted.org/packages/9a/4c/1c9d1aef34e96665e911f028433810f908730b3c001f7aa670bbf7a577fa/propainter-0.0.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a10756587ada9d0e2ddd1431bfb93f7180c479883cbe65f3e83313b99f7c907",
                "md5": "aae7b9679c6b702b0331dfed84bf21a4",
                "sha256": "5647ef8a09a1acce1dbe1547a0ad4bb3d6337cde36641833eca875f302f32ac3"
            },
            "downloads": -1,
            "filename": "propainter-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "aae7b9679c6b702b0331dfed84bf21a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6751,
            "upload_time": "2024-09-18T17:48:44",
            "upload_time_iso_8601": "2024-09-18T17:48:44.296681Z",
            "url": "https://files.pythonhosted.org/packages/2a/10/756587ada9d0e2ddd1431bfb93f7180c479883cbe65f3e83313b99f7c907/propainter-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-18 17:48:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "osmr",
    "github_project": "propainter",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "propainter"
}
        
Elapsed time: 0.37872s