{"id":21040986,"url":"https://github.com/chfoo/tppocr2","last_synced_at":"2025-03-13T21:23:59.111Z","repository":{"id":145909879,"uuid":"224695807","full_name":"chfoo/tppocr2","owner":"chfoo","description":"Tesseract OCR of Pokemon dialog text on streaming video (modern version).","archived":false,"fork":false,"pushed_at":"2020-05-26T03:03:44.000Z","size":7691,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T12:37:22.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chfoo.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}},"created_at":"2019-11-28T16:52:16.000Z","updated_at":"2020-05-26T03:03:46.000Z","dependencies_parsed_at":"2023-05-03T09:00:50.319Z","dependency_job_id":null,"html_url":"https://github.com/chfoo/tppocr2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppocr2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppocr2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppocr2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppocr2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chfoo","download_url":"https://codeload.github.com/chfoo/tppocr2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243483167,"owners_count":20297948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-19T13:49:34.189Z","updated_at":"2025-03-13T21:23:59.105Z","avatar_url":"https://github.com/chfoo.png","language":"C++","readme":"# tppocr2\n\nTesseract OCR of Pokemon (or video game) dialog text on streaming video (modern version).\n\nThis project reads streaming video and runs OCR on defined regions for streams such as TwitchPlaysPokemon. For previous\ninformation, see [version 1](https://github.com/chfoo/tppocr) of this project.\n\nNote: **work in progress**\n\n## Quick start\n\n### Requirements\n\n* [Tesseract](https://github.com/tesseract-ocr/tesseract) 4\n* [tessdata_best](https://github.com/tesseract-ocr/tessdata_best) or [tessdata_fast](https://github.com/tesseract-ocr/tessdata_fast)\n  * Which should contain: eng jpn chi_sim chi_tra kor spa deu ita\n* [Leptonica](http://www.leptonica.org/)\n* [ffmpeg](https://ffmpeg.org/download.html)\n* [OpenCV](https://docs.opencv.org/master/df/d65/tutorial_table_of_content_introduction.html) 4\n* [EAST](https://github.com/argman/EAST) trained model\n  * Download the Tensorflow trained model from [this link](https://www.dropbox.com/s/r2ingd0l3zt8hxs/frozen_east_text_detection.tar.gz?dl=1)\n\nCompiling:\n\n* C++17 compiler and associated C++ runtime\n* CMake 1.15 or newer\n* [tomlplusplus](https://marzer.github.io/tomlplusplus/) headers\n\n### Building\n\n    mkdir -p build\n    cd build\n    cmake .. -D CMAKE_BUILD_TYPE=Release\n    cmake --build . --config Release\n\nOptional:\n\n    cmake --install --config Release --prefix install_prefix\n\n### Running\n\nBasic usage:\n\n    ./build/tppocr --help\n    ./build/tppocr CONFIG_FILE URL_OR_FILE_PATH\n\nExample:\n\n    ./build/tppocr --debug-window --frame-stepping data/tpp-sword-720p.toml sample_images/sword_720p_narrator_dialog.png\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftppocr2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchfoo%2Ftppocr2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftppocr2/lists"}