hkchengrex/Cutie

Question: How to change dilation radius / padding of mask?

realpixelbard opened this issue ยท 1 comments

Hi Rex and team, thank you for making this useful tool. ๐Ÿ™

May I know how do we change the dilation radius (also known as padding width) of the mask?

Dilation should be done in post-processing -- for ProPainter, you can use the --mask_dilation argument when running ProPainter. In general, you can use OpenCV's cv2.dilate.