Change the Masking method for inpainting #16
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Milestone
We want to change the way we mask the original text from the image in order to remove it from the image. Our current approach is as follows:
height - border_size * 2
andwidth - border_size * 2
with each cell containing255
value, (white colour)border_size
with each cell containing0
value, (black colour)cv2.inpaint()
with inpaint radius of7
andINPAINT_NS
.There are few issues with this method.
7
really the best possible value in our cases?cv2.INPAINT_NS
is the fluid mechanic inpainting algorithm from the2001
paper. Is this really the "optimal" algorithm for us? Is there other algorithm that we can use that is better than this?Generative AI
.The text was updated successfully, but these errors were encountered: