29.06.2024, 08:08 (This post was last modified: 29.06.2024, 08:14 by Selur.)
Ah, okay, I assumed/hoped that they would use another model or analyze the surrounding frames differently. So my previous tests were 'correct'.
As it is, you are correct, adding this to the normal release doesn't change anything, but thanks for looking into it.
So for outpainting atm. something like midjorney would be needed, which really would be overkill.
To be more precise there is some little difference between the inpainting and outpainting mode.
As example consider this frame
Using the inpainting mode with the mask on the edges is obtained this frame
while using the outpainting mode, the lateral edges are a little better
Since this clip is moving only up, ProPainter is able to draw successfully the upper/lower edges, but has not enough information to draw successfully the lateral edges.
I will release a new version with the outpainting mode implemented.
In the new release will be the following functions:
propainter_inpaint() : exactly the same as previous propainter()
propainter_outpaint() : propainter in outpainting mode
propainter() : a wrapper to the 2 functions above (with defaults switching to propainter_inpaint).
Is up to you decide if add the outpainting mode or not.
Argh, integration is trickier than anticipated.
Not sure how I can properly incorporate ProPainers outpainting in Hybrid, output resolution handling gets tricky when a filter can change the resolution and that filter is no resizer,...
=> this will take a while
(atm. Hybrid can rely on a fixed order between Crop < Rotation < Resize < Letterbox, and thus handle PAR&Co properly)