A simple captcha solver for Taiwan Stock Exchange's website. The algorithm is based on hhschu's python method.
This project is written in C++, if you want java version, you can take a look at coldnew/twse-captcha-solver-java.
To build this application, you need to install following libraries:
If you use Gentoo Linux, just use following command to install required packages:
emerge media-libs/opencv app-text/tesseract
By default, this application will display the image processing result via opencv's highui function, you can disable this feature by add -DEANBLE_HIGUI=OFF in your cmake build.
If you just want to get the captcha result and don't want do see any GUI display, just use following command to build this application:
mkdir build && cd $_
cmake -DEANBLE_HIGUI=OFF ..
make -j9
You need to download the captcha image manually from website, execute the tool in command line:
./twse-captcha-solver xxx.png
This application ONLY work on captcha like this:
Copyright © 2017 Yen-Chin, Lee <coldnew.tw@gmail.com>
Distributed under the MIT License.