Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coldnew/twse-captcha-solver-java

A simple captcha solver for http://bsr.twse.com.tw/bshtm/
https://github.com/coldnew/twse-captcha-solver-java

captcha captcha-solver opencv stock taiwan tesseract-ocr twse

Last synced: about 8 hours ago
JSON representation

A simple captcha solver for http://bsr.twse.com.tw/bshtm/

Awesome Lists containing this project

README

        

# twse-captcha-solver-java
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/coldnew/twse-captcha-solver/master/LICENSE)

A simple captcha solver for Taiwan Stock Exchange's [website](http://bsr.twse.com.tw/bshtm/). The algorithm is based on [hhschu](https://github.com/hhschu/Captcha_OCR)'s python method.

This project is written in Java, if you want C++ version, you can take a look at [coldnew/twse-captcha-solver](https://github.com/coldnew/twse-captcha-solver).

If you want a more accurate captcha solver based on [deeplearning4j](https://deeplearning4j.org/), you can see my another project: [coldnew/twse-captcha-solver-dl4j](https://github.com/coldnew/twse-captcha-solver-dl4j).

## Usage

You need to download the captcha image manually from [website](http://bsr.twse.com.tw/bshtm/), execute the tool in command line:

```sh
mvn compile exec:java -Dexec.mainClass="twse.brs.CaptchaSolver" -Dexec.args="xxx.png"
```

## Screenshot

![Screenshot](https://github.com/coldnew/twse-captcha-solver-java/raw/master/screenshot.png)

## Note

This application **ONLY** work on captcha like this:

![Sample](https://github.com/coldnew/twse-captcha-solver-java/raw/master/sample.png)

## License

Copyright © 2017 Yen-Chin, Lee <>

Distributed under the [MIT License](http://opensource.org/licenses/MIT).