Streaming ProPainter
Project description
Streaming Video Inpainting via ProPainter
A package for using ProPainter in streaming mode (e.g. for a very long video).
Prerequisites
python >= 3.10
Deployment
pip install propainter
Deployment for testing from repo
- Install prerequisites:
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove
- Install virtualenv (actual instructions):
sudo -H pip install --upgrade pip setuptools wheel
sudo -H pip install virtualenv
- Clone repo, create and activate environment:
git clone --recurse-submodules git@github.com:osmr/propainter.git
cd propainter
virtualenv venv
source venv/bin/activate
- Update preinstalled packages:
pip install --upgrade pip setuptools wheel
- Install package:
pip install -e .
- Optionally install pytest:
pip install pytest
Usage
- Investigate the
example.py
script. - Investigate pytest scripts in
tests
directory. - 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.
Acknowledgement
This code is based on ProPainter. Thanks for this awesome work.
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
propainter-0.0.3.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file propainter-0.0.3.tar.gz
.
File metadata
- Download URL: propainter-0.0.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a826841c13e4e1fed51603e5db27a15b7b1397b9ba82482ef7a2e7621c3211f6 |
|
MD5 | fa92c478fb0700a98d5103169af27c46 |
|
BLAKE2b-256 | b0483bf35b48db34867edb72dc1f2d256425bf1c7496d4e4ef8d498a4b3d2ac1 |
File details
Details for the file propainter-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: propainter-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca416829934fd354676e8f9c09539278429d322c9c1a8e43d7ec4daa21e61d52 |
|
MD5 | 58d153a3283543928cf83816fd059468 |
|
BLAKE2b-256 | 5af11886752e9dec8e95f1862c44f5d3d17f9d5fe3115f8053f1414838fcf8dd |