tplprobe

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command tplprobe locates one stored template on a frame across a scale sweep and prints the ranked result.

It answers the question the geometry work keeps running into: "is this button where the mapping says it is, and at what scale is it drawn?" The templates in assets/templates were captured at the 860x732 reference geometry, so on any other geometry the button is rendered at the display scale k — and the tap points in internal/bot's villagePinpoints are a *prediction* that can be wrong by a whole widget. Pointing this at a live frame turns that prediction into a measurement.

Usage:

go run ./cmd/tplprobe -name btn_find_match                       # live frame, coarse sweep
go run ./cmd/tplprobe -img shot.png -name btn_find_match -min 1.2 -max 1.45 -steps 6
go run ./cmd/tplprobe -name btn_battle -roi 900,380,1280,560      # limit the search window

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL