Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A9T9 RPA Visual Highlighting

From Leeroopedia
Knowledge Sources
Domains OCR, Visual_Feedback
Last Updated 2026-10-22 00:00 GMT

Overview

Mechanism for drawing colored overlay highlights over OCR-matched text on the page to provide immediate visual feedback to the user.

Description

Visual Highlighting is the user-feedback layer that overlays colored rectangles on the page over the bounding boxes of matched OCR words. When a macro command searches for text via OCR and finds a match, the highlighter draws semi-transparent colored overlays so the user can see exactly which words were matched before the click or verification action is taken.

The overlays are color-coded by match type (full match, partial match, prefix match, etc.) to give the user at-a-glance feedback on match quality. The highlighter provides `update(match)` to draw new highlights and `clear()` to remove all overlays.

Usage

Use this principle when a visual automation system needs to provide visual confirmation of what it found before acting, improving user trust and debuggability.

Theoretical Basis

Highlight(match)=⋃w∈match.wordsOverlay(rect(w),color(type(w)))

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment