Principle:A9T9 RPA Visual Highlighting
| 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