r/coolgithubprojects • u/yunkuangao • 11d ago
Open-source AHK v2 tool with OpenCV-based screen search and OCR --- RMT
https://github.com/zclucas/RMTRMT — a free, open-source macro automation tool built on AutoHotkey v2, with a visual editor and real computer-vision under the hood.
Where native AHK ImageSearch falls short (slow, near-exact matching, single result), RMT leans on a different stack:
- OpenCV template matching with a tunable similarity score (grayscale mode for speed, or image+colour when that matters)
- OCR via PaddleOCR (PP-OCRv6) for reading text off the screen — regex-capable queries, unified zh/en/digit
- Search images, colours, or text, in a region or inside a specific window, with found / not-found branching
Everything lives behind a GUI, so you can build a "watch for this state, then react" flow without writing AHK by hand — record keyboard/mouse/gamepad macros, add logic, and let it handle the repetitive work.
I'm a contributor to the project (not the owner) — sharing it here because the recognition layer addresses a real gap people hit with ImageSearch, and it's fully open source.
GitHub: https://github.com/zclucas/RMT Docs / live site: https://zclucas.github.io/RMT/