{"id":36549296,"url":"https://github.com/rokmonster/ocr","last_synced_at":"2026-01-12T06:30:38.366Z","repository":{"id":37510636,"uuid":"458882342","full_name":"rokmonster/ocr","owner":"rokmonster","description":"OCR Engine for Rise Of Kingdoms","archived":false,"fork":false,"pushed_at":"2025-11-29T11:22:32.000Z","size":7001,"stargazers_count":23,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-01T12:49:04.939Z","etag":null,"topics":["game","golang-application","lilith","ocr","ocr-recognition","rise-of-kingdoms","riseofkingdoms"],"latest_commit_sha":null,"homepage":"https://docs.rokmonster.dev","language":"Go","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/rokmonster.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-13T17:35:15.000Z","updated_at":"2025-11-29T11:20:39.000Z","dependencies_parsed_at":"2023-02-16T21:46:07.371Z","dependency_job_id":"a936885e-dbd2-4c3d-af4b-a2a7b7ecb223","html_url":"https://github.com/rokmonster/ocr","commit_stats":null,"previous_names":["xor22h/rok-monster-ocr-golang"],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/rokmonster/ocr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokmonster%2Focr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokmonster%2Focr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokmonster%2Focr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokmonster%2Focr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokmonster","download_url":"https://codeload.github.com/rokmonster/ocr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokmonster%2Focr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["game","golang-application","lilith","ocr","ocr-recognition","rise-of-kingdoms","riseofkingdoms"],"created_at":"2026-01-12T06:30:38.253Z","updated_at":"2026-01-12T06:30:38.360Z","avatar_url":"https://github.com/rokmonster.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROK Monster OCR (GoLang)\n\n[![Discord](https://img.shields.io/discord/768180228710465598?label=Discord\u0026logo=discord\u0026logoColor=%23ffffff)](https://discord.gg/drhxwVQ) \n[![License: GPL-3.0](https://img.shields.io/github/license/rokmonster/ocr)](https://opensource.org/licenses/GPL-3.0)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rokmonster/ocr?style=flat-square)](https://goreportcard.com/report/github.com/rokmonster/ocr)\n\n\n---\n\n👋 An idea for this project came from [ROK Monster OCR Tools](https://github.com/carmelosantana/rok-monster-ocr).\n\n---\n\n👋 Join our [Discord](https://discord.gg/drhxwVQ) for help getting started or show off your results!\n\n---\n\n## Kingdom Statistics\n\nCommand line tools to help collect player statistics from [Rise of Kingdoms](https://rok.lilithgames.com/en). By analyzing screenshots we can extract various data points such as governor power, deaths, kills and more. This can help with various kingdom statistics or fairly distributing [KvK](https://rok.guide/the-lost-kingdom-kvk/) rewards.\n\n![Sample](./media/sample.png)\n\n[![asciicast](https://asciinema.org/a/gYerprrrw0DVOXZbitOfHrPqg.svg)](https://asciinema.org/a/gYerprrrw0DVOXZbitOfHrPqg)\n\n## Features\n\n- Character recognition by [Tesseract](https://github.com/tesseract-ocr/tesseract)\n- Easy install with package managers `apt-get` / `yum`\n- Fast hash based image comparison\n- Automated pick of best-match template (based on first image in media directory)\n- Easy to use WebUI. Just open [localhost:8080](http://localhost:8080/), upload files, and get results directly in your browser.\n- Automatic download/update of Tesseract data files.\n\n## Future Plans\n\n- Ability to use multiple templates in single run\n- Discord BOT mode. (Process each image sent to a specific discord channel)\n- Automate screnshot collection using ADB \u0026 Memu/LDPLay/real android device\n\n## Limitations\n\n- English language is preferred as coordinate information lines up most accurately with English.\n- No way to merge user information from different screens.\n- Best template is detected automatically, but same template is used for all files in media directory.\n- Requires a template defined for proper device (resolution/acpect-ratio/language)\n- Limited number of predefined templates\n\n## Getting started\n\n[Read the docs here](https://rokmonster.github.io/ocr/)\n\n## Community\n\nHave a question, an idea, or need help getting started? Checkout our [Discord](https://discord.gg/drhxwVQ)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokmonster%2Focr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokmonster%2Focr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokmonster%2Focr/lists"}