For this to work on low hardware, should try to apply inpainting only to sub-parts of image:
1- detect where should do inpainting with find contours or something similar
2-crop with some border(50-100px) that parts
3-perform inpainting
4-insert inpainted parts back into original image
5-reply with result
Will not work if contour is too big and will give OOM
For this to work on low hardware, should try to apply inpainting only to sub-parts of image:
1- detect where should do inpainting with find contours or something similar
2-crop with some border(50-100px) that parts
3-perform inpainting
4-insert inpainted parts back into original image
5-reply with result
Will not work if contour is too big and will give OOM