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.4.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for propainter-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf7b64c08769cd32c8bee6be7dbaa45df9e47cb76478042766b7b9e1ad368ad7 |
|
MD5 | c412db36afa0949a399cd34892b36eba |
|
BLAKE2b-256 | 9a4c1c9d1aef34e96665e911f028433810f908730b3c001f7aa670bbf7a577fa |