How to remove text from manga page?

asked 2019-01-09 12:48:53 -0500

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).

Desired boxes

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!

The image

edit retag flag offensive close merge delete

Comments

and where, exactly is your effort, here ?

berak gravatar imageberak ( 2019-01-09 15:20:00 -0500 )edit

@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.

schlodinger gravatar imageschlodinger ( 2019-01-09 17:03:10 -0500 )edit
1

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 gravatar imageTetragramm ( 2019-01-09 21:45:08 -0500 )edit

@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.

schlodinger gravatar imageschlodinger ( 2019-01-10 04:59:59 -0500 )edit

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.

supra56 gravatar imagesupra56 ( 2019-01-10 07:03:07 -0500 )edit