PyPatchMatch
PyPatchMatch copied to clipboard
Time reducing
Is it possible to reduce time taken for inpainting?
Almost any change that reduces the runtime will degrade the quality. Options are:
- just scale down your input image.
- use a smaller patch size (the example uses 5).
- use a less dense pyramid (it's somehow hardcoded in the c++ code so might be a bit hard to change)
There are some other options, e.g., use vector instruction sets to accelerate the code. But this is beyond the scope of this project, which is primarily for research purposes.