{"id":20405899,"url":"https://github.com/coldnew/twse-captcha-solver","last_synced_at":"2026-03-18T02:31:46.886Z","repository":{"id":66659004,"uuid":"86657063","full_name":"coldnew/twse-captcha-solver","owner":"coldnew","description":"A simple captcha solver for http://bsr.twse.com.tw/bshtm/","archived":false,"fork":false,"pushed_at":"2017-05-23T21:06:59.000Z","size":127,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-31T03:32:55.496Z","etag":null,"topics":["captcha","captcha-solver","opencv","stock","taiwan","tesseract-ocr","twse"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coldnew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-30T03:58:10.000Z","updated_at":"2023-08-03T09:15:42.000Z","dependencies_parsed_at":"2023-04-04T03:02:24.686Z","dependency_job_id":null,"html_url":"https://github.com/coldnew/twse-captcha-solver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coldnew/twse-captcha-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Ftwse-captcha-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Ftwse-captcha-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Ftwse-captcha-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Ftwse-captcha-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldnew","download_url":"https://codeload.github.com/coldnew/twse-captcha-solver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldnew%2Ftwse-captcha-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30642995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T01:41:58.583Z","status":"online","status_checked_at":"2026-03-18T02:00:07.824Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["captcha","captcha-solver","opencv","stock","taiwan","tesseract-ocr","twse"],"created_at":"2024-11-15T05:13:49.077Z","updated_at":"2026-03-18T02:31:46.857Z","avatar_url":"https://github.com/coldnew.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twse-captcha-solver\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/coldnew/twse-captcha-solver/master/LICENSE)\n\nA 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.\n\nThis project is written in C++, if you want java version, you can take a look at [coldnew/twse-captcha-solver-java](https://github.com/coldnew/twse-captcha-solver-java).\n\n## Requirement\n\nTo build this application, you need to install following libraries:\n\n- [OpenCV](https://opencv.org) 2.x\n- [Tesseract](https://github.com/tesseract-ocr/tesseract)\n\nIf you use Gentoo Linux, just use following command to install required packages:\n\n```sh\nemerge media-libs/opencv app-text/tesseract\n```\n\n## Building\n\nBy 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.\n\nIf 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:\n\n```sh\nmkdir build \u0026\u0026 cd $_\ncmake -DEANBLE_HIGUI=OFF ..\nmake -j9\n```\n\n## Usage\n\nYou need to download the captcha image manually from [website](http://bsr.twse.com.tw/bshtm/), execute the tool in command line:\n\n```sh\n./twse-captcha-solver xxx.png\n```\n\n## Screenshot\n\n![Screenshot](https://github.com/coldnew/twse-captcha-solver/raw/master/screenshot.png)\n\n## Note\n\nThis application **ONLY** work on captcha like this:\n\n![Sample](https://github.com/coldnew/twse-captcha-solver/raw/master/sample.png)\n\n## License\n\nCopyright © 2017 Yen-Chin, Lee \u003c\u003ccoldnew.tw@gmail.com\u003e\u003e\n\nDistributed under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldnew%2Ftwse-captcha-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldnew%2Ftwse-captcha-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldnew%2Ftwse-captcha-solver/lists"}