vsdpir-ncnn

DPIR function for VapourSynth


Keywords
DPIR, VapourSynth, Vulkan, ncnn
License
Other
Install
pip install vsdpir-ncnn==2.0.0

Documentation

DPIR

Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.

Dependencies

git clone https://github.com/HolyWu/ncnn.git --depth 1
cd ncnn
git submodule update --init --recursive --depth 1
pip install .

Installation

pip install -U vsdpir_ncnn
python -m vsdpir_ncnn

Usage

from vsdpir_ncnn import DPIR

dpir = DPIR(task='deblock')
ret = dpir.run(clip, strength=25)

See __init__.py for the description of the parameters.