I'm developing an Android app, recognizing text from video taken with the phone's camera.
I'm using opencv 3.1 for image processing and preparation.
Then I cut out the words from the image, clean them up as much as possible - again with opencv.
Finally I pass small images to tesseract with one, sometimes 2 words when the word detection makes a mistake.
So far I recognize very well all words in a normal font and even on text as small as font 6.
The problem:
Currently I recognize black text on white background us.
I detect the text using a simple method - to put it simple - I "smudge" the words and find the contours then the bounding rects of those contours and so on.
I want to be able to detect text in various scenarios, even when the
background is very colorful and the text is any color. As far as I know the best way to do this is use SWT.
The question: is there any open source implementation of SWT using opencv?
tl;dr; I want to recognize text in various scenes using SWT, how to do it with opencv and tesseract available?