Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make possible file processing #4

Open
Moldoteck opened this issue Feb 16, 2022 · 0 comments
Open

Make possible file processing #4

Moldoteck opened this issue Feb 16, 2022 · 0 comments

Comments

@Moldoteck
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant