P.S.
If you look in more detail your file "mask.png" (by opening it with PIL and converting it to np.ndarray) you will discover that mask_np.min()=1. So in your file the black is represented by the number 1 and not 0 as should be (while mask_np.max()=255 is correct). This anomaly prevented the filter from correctly recognizing the mask hedges. The new added option will fix also this issue.
please find attached the new RC version of ProPainter v1.2.5.
Main changes:
1) all clip formats are supported (*) no need of RGB24 conversion before calling the script.
2) the filter misc. SCDetect () is automatically loaded, non need of loading code inside the script.
Dan
(*) in case of high big depth formats they are converted in YUV444PS before the RGB24 conversion to preserve the high bit depth on luma.
SCDetect: But the dependency is still there?
Since it seems like miscfilters are likely to be dropped soon, you might want to try https://pastebin.com/Bn2qBT8d instead. (also here)
created a test dev which does support the new version, did two quick tests which worked fine, will test some more tomorrow.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.