Detect text with stroke width transform.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead, 4 commits behind aperrau:master.
Latest commit e1f107a Jun 21, 2014



Detect text with stroke width transform.

Dependencies: OpenCV, boost.

To compile:
g++ -o DetectText TextDetection.cpp FeaturesMain.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -I/path/to/current/directory
where /path/to/current/directory is replaced with the absolute path to the current directory.

To run:
./TextDetection input_file output_file dark_on_light
where dark_on_light is 1 or 0, indicating whether the text is darker or lighter than the background.

GitHub repository:

More details on the algorithm can be found in: