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
2 | No.2 Revision |
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
when the option is text white in dark background
i think you can merge the two images and extract the required text
but first you should find the sure correct implementation for SWT
3 | No.3 Revision |
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
when the option is text white in dark background
i think you can merge the two images and extract the required text
but first you should find the sure correct implementation for SWT
4 | No.4 Revision |
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
when the option is text white in dark background
i think you can merge the two images and extract the required text
but first you should find the sure correct implementation for SWT