GithubHelp home page GithubHelp logo

anthrax3 / twse-captcha-solver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coldnew/twse-captcha-solver

0.0 1.0 0.0 127 KB

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

License: MIT License

CMake 68.17% C++ 31.83%

twse-captcha-solver's Introduction

twse-captcha-solver

GitHub license

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.

Requirement

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

Building

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

Usage

You need to download the captcha image manually from website, execute the tool in command line:

./twse-captcha-solver xxx.png

Screenshot

Screenshot

Note

This application ONLY work on captcha like this:

Sample

License

Copyright © 2017 Yen-Chin, Lee <[email protected]>

Distributed under the MIT License.

twse-captcha-solver's People

Contributors

coldnew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.