How to remove text from manga page?
I'm working on a projet of colorization of Black and white manga pages and I'm having some troubles with the text in the different areas of the page. Specifically, i'm interested in removing the text in the boxes like the red boxes in the image bellow (the images are open source).
Is there a way to do this quickly for several images? Any suggestions or example codes in OpenCV will be appreciated. Thanks!
I have already consulted this answer, but I don't see how to apply the "Inpainting method" since the text is written in black, and the dominant color in a manga page is BLACK!
and where, exactly is your effort, here ?
@berak sorry but I didn't undertand your question, I'm posting in this forum because I don't see how to approach this problem. I have an idea to train a Pix-2-Pix neural network to remove text, but I think this solution is too complicated for this task and there should be a easier solution.
What he means is, we certainly aren't going to do anything for you. This forum is to answer technical questions about OpenCV. We sometimes do algorithm related stuff because it's kinda related and interesting. Interesting is typically defined as not trivial.
It's up to you to convince us that the problem is interesting. To do that, you need to try things. Lots of things. If you find one that almost works, we can provide suggestions that might improve it. If you can't find anything that works, tell us what you've tried and maybe someone will have another idea.
If you do a really good job, someone might put together a small sample program that works.
However, right now? All I see is "Hey, will you do this for me?" And the answer is no.
@Tetragramm, thanks for your response, now I see. As I told you before, I've done some research but I didn't find a solution to my problem, so I came here hoping that someone has worked on a similar problem and can give me guidance. I will continue to look, and if I can find a solution and I block, I will come back to you for help. Thank you for your attention.
This is comic strip, but there are no background on foreground. The artist who drew comic strip has erased background on foreground. The answer is no. I tried with my other project, but not the one from stackoverflow.