Socket
Book a DemoInstallSign in
Socket

github.com/xor22h/rok-monster-ocr-golang

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/xor22h/rok-monster-ocr-golang

Source
Go
Version
v0.13.0
Version published
Created
Source

ROK Monster OCR (GoLang)

Discord License: GPL-3.0 Go Report Card

👋 An idea for this project came from ROK Monster OCR Tools.

👋 Join our Discord for help getting started or show off your results!

Kingdom Statistics

Command line tools to help collect player statistics from Rise of Kingdoms. 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 rewards.

Sample

asciicast

Features

  • Character recognition by Tesseract
  • Easy install with package managers apt-get / yum
  • Fast hash based image comparison
  • Automated pick of best-match template (based on first image in media directory)
  • Easy to use WebUI. Just open localhost:8080, upload files, and get results directly in your browser.
  • Automatic download/update of Tesseract data files.

Future Plans

  • Ability to use multiple templates in single run
  • Discord BOT mode. (Process each image sent to a specific discord channel)
  • Automate screnshot collection using ADB & Memu/LDPLay/real android device

Limitations

  • English language is preferred as coordinate information lines up most accurately with English.
  • No way to merge user information from different screens.
  • Best template is detected automatically, but same template is used for all files in media directory.
  • Requires a template defined for proper device (resolution/acpect-ratio/language)
  • Limited number of predefined templates

Getting started

Read the docs here

Community

Have a question, an idea, or need help getting started? Checkout our Discord!

FAQs

Package last updated on 29 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts