Skip to content

Release: round-13 batch 4 (3 features, v178-v180)#396

Merged
JE-Chen merged 6 commits into
mainfrom
dev
Jun 23, 2026
Merged

Release: round-13 batch 4 (3 features, v178-v180)#396
JE-Chen merged 6 commits into
mainfrom
dev

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jun 23, 2026

Copy link
Copy Markdown
Member

Release — multi-template / colour / stability

Ships 3 net-new features (#393#395, docs v178–v180) to main, all merged to dev CI-green (SonarCloud + Codacy issues=0 + Actions matrices + Docker headless). Each ships the full 5-layer surface + headless test + EN/Zh docs + changelog.

  • match_ensemble (v178) — multi-template consensus matching (vote several reference crops onto one location).
  • color_match (v179) — colour-aware (HSV) template matching (red vs green, not grayscale).
  • match_stability (v180) — pre-match settle gating + match persistence over a frame sequence.

This completes the round-13 vision-robustness sub-lane (match_trust / match_autothresh / edge_match / subpixel_match / match_ensemble / color_match / match_stability). Merge with --merge (no branch delete; dev stays the working branch).

JE-Chen added 6 commits June 24, 2026 07:03
A button renders in several states (default/hover/pressed) but is one logical
target; ab_locator picks one strategy and match_template(scales=) sweeps one
template - neither fuses multiple references. Match each reference, cluster the
hit centres, and accept only when >= min_votes agree within agree_px, returning
the consensus point. Reuses visual_match.match_template + grounding_consensus;
vote_centers is the pure voting core.
…le-batch

Add match_ensemble: multi-template consensus matching
Every visual_match matcher grayscales first, so red vs green of identical shape
is indistinguishable; color_region finds known-colour blobs but can't
template-match a multi-colour glyph. Match on HSV hue/saturation with a
colour-distance metric (TM_SQDIFF_NORMED, not correlation which normalises away
the absolute hue). Reuses color_region's RGB loaders and visual_match's
resize/NMS/Match.
…batch

Add color_match: colour-aware (HSV) template matching
Matching mid-animation is a top flakiness source; wait_until_screen_stable
gates a live loop with a boolean and can't score an injectable frame sequence
or check a match held steady. region_stability scores consecutive-frame SSIM;
match_persistence confirms a template is found in every frame with the centres
agreeing within agree_px. Reuses ssim + visual_match + grounding_consensus.
…ity-batch

Add match_stability: pre-match settle gating + match persistence
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 60 complexity · 1 duplication

Metric Results
Complexity 60
Duplication 1

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen JE-Chen merged commit f744be7 into main Jun 23, 2026
31 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant