PyPatchMatch icon indicating copy to clipboard operation
PyPatchMatch copied to clipboard

Time reducing

Open siam009 opened this issue 5 years ago • 1 comments

Is it possible to reduce time taken for inpainting?

siam009 avatar Oct 06 '20 09:10 siam009

Almost any change that reduces the runtime will degrade the quality. Options are:

  1. just scale down your input image.
  2. use a smaller patch size (the example uses 5).
  3. 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.

vacancy avatar Oct 30 '22 02:10 vacancy