Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need smart method from text extraction , normal binarization method will not work because there are text with different colors , so you need SWT SWT PDF , SWT Video or read this paper Text detection

Also refer to the following answer Text detection Answer

You need smart method from text extraction , normal binarization method will not work because there are text with different colors , so you need SWT SWT PDF , SWT Video or read this paper Text detection

Also refer to the following answer Text detection Answer

I found and implementation for SWT and here it the result i had multiplied the size by 3

when option text dark on white image description

when the option is text white in dark background image description

i think you can merge the two images and extract the required text

but first you should find the sure correct implementation for SWT

You need smart method from text extraction , normal binarization method will not work because there are text with different colors , so you need SWT SWT PDF , SWT Video or read this paper Text detection

Also refer to the following answer Text detection Answer

I found and an implementation for SWT i'm not sure if it's correct or not , because there are some thin lines not exist in the original image , and here it the result result :

note: i had multiplied the size by 3

when option text dark on white image description

when the option is text white in dark background image description

i think you can merge the two images and extract the required text

but first you should find the sure correct implementation for SWT

You need smart method from text extraction , normal binarization method will not work because there are text with different colors , so you need SWT SWT PDF , SWT Video or read this paper Text detection

Also refer to the following answer Text detection Answer

I found an implementation for SWT i'm not sure if it's correct or not , because there are some thin lines not exist in the original image , Here it's the code link text i used the code in file called SWT.cpp because it needs only OpenCV , there is another implemenation code in the same project in file called "TextDetection.cpp" but it needs another library called BOOST beside OpenCV , i did not try the second code

and here it the result for the code exsit in SWT.CPP :

note: i had multiplied the size by 3

when option text dark on white image description

when the option is text white in dark background image description

i think you can merge the two images and extract the required text

but first you should find the sure correct implementation for SWT