Skip to content

Image mode usability: match tolerance, thumbnail preview and clear button #123

Closed

Description

@TMHSDigital

Why it matters

Exact matching breaks on hover states, anti-aliasing, HDR and small rendering differences, so image mode will often appear to "do nothing". Users also cannot see which image is armed.

Evidence

  • core/image_match.py find_template compares exactly. The pixel condition already supports a per-channel tolerance (condition_tolerance), so the concept exists in the app.
  • The Image panel shows only a file label, not the image (gui/features/image.py _refresh_image_label).

Suggested approach

  • image_tolerance (0 to 64 per channel), defaulting to a small value; keep the anchor-row fast path and verify candidates with tolerance.
  • Thumbnail of the capture in the Image panel plus Clear and Recapture buttons.
  • Status shows "Found at (x, y)" / "Waiting for image" while running.

Done when

Tolerance setting with tests (match with small color shifts, no match with large ones), thumbnail and clear button in the UI, docs updated.

Activity

  1. added
    enhancement
    priority: medium
    ux
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: mediumux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions