Documentation Index
Fetch the complete documentation index at: https://askui-docs-on-premise-architecture.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Misspellings of Words
Problem: The OCR model sometimes misreads characters, especially in certain fonts or noisy images. This can result in words being misclassified or misspelled, which then causes the automation to fail when it searches for exact matches. Example:click().text("Hallo")HaII0 โclick().text("Hallo"). Because of recognition issues. (l->Iand o -> 0)Solutions
Re-Teach Sentence-Level OCR Model
Re-Teach Sentence-Level OCR Model
-
Start the AskUI shell:
-
Launch the OCR Teaching App:
- Upload a screenshot containing the misclassified word (e.g., โHalloโ).
- Switch to Trained Model for precise corrections.
-
Select the wrongly detected word (
HaII0) and replace it with the correct label:Hallo. - Press the Train Correction
- Click โCopy Modelโ to copy the newly trained model ID.
- In your automation code, update on model config on global level or on step level to use the new model:
Text Detection Issues
1. Icon Text Merging
Problem: Sometimes, Text Detector/annotation tool, merges an icon and texts into one, even though they look merged on screen. Example: Say you want to click just the name โAlice Johnsonโ field or just the position field in a interface - but OCR detects them as one long string:
click().text("Name") or click().text("Name")
๐ง Name โ ๐ค Role โ
click().text("Name").Solution
Re-Teach Sentence-Level OCR Model
Re-Teach Sentence-Level OCR Model
-
Start the AskUI shell:
-
Launch the OCR Teaching App:
- Upload a screenshot containing the misclassified word (e.g., โHalloโ).
- Switch to Trained Model for precise corrections.
-
Select the wrongly detected word (
HaII0) and replace it with the correct label:Hallo. - Press the Train Correction
- Click โCopy Modelโ to copy the newly trained model ID.
- In your automation code, update on model config on global level or on step level to use the new model:
Use Custom Model Word-Level Detection
Use Custom Model Word-Level Detection
2. Merged Texts
Problem: Sometimes, Text Detector/ annotation tool, merges two separate texts into one, even though they look clearly split on screen. Example: Say you want to click just the name โAlice Johnsonโ field or just the position field in a interface - but OCR detects them as one long string:
Alice Johnson โ
Software Engineer โ
text("Alice Johnson") or text("Software Engineer")
Alice Johnson Software EngineerโSolutions
Use Default Word-Level Detection (Best Practice)
Use Default Word-Level Detection (Best Practice)
Use Custom Model Word-Level Detection
Use Custom Model Word-Level Detection
Use relative anchore Element
Use relative anchore Element
3.Text Separation
Problem: Sometimes, Text Detector/ annotation tool, septerates a text into two texts, even though they look clearly merged on screen. Example: Say you want to click just the name โAlice Johnsonโ field or just the position field in a interface - but OCR detects them as two words:
Alice Johnson โ
text("Alice Johnson")
Aliceโ Johnsonโtext("Alice Johnson") on its own.Solution
Use Default Word-Level Detection (Best Practice)
Use Default Word-Level Detection (Best Practice)
Use Custom Model Word-Level Detection
Use Custom Model Word-Level Detection
4. Vertical Text Merging
Problem: Sometimes, Text Detector/ annotation tool, merges two lines to one text, even though they look clearly as two lines on screen. Example: Say you want to click just the name โAlice Johnsonโ field or just the position field in a interface - but OCR detects them as one:
Alice Johnson โ
text("Alice Johnson")
<no words recognized>โtext("Alice Johnson") on its own.Solution
Use Default Word-Level Detection (Best Practice)
Use Default Word-Level Detection (Best Practice)
Use Custom Model Word-Level Detection
Use Custom Model Word-Level Detection
5. Single Character not Detected
Problem: Sometimes, Text Detector/ annotation tool, does not detect single charactors, even though they look clearly on screen. Example: Say you want to click **just the character โ2โ - but OCR does not detects them:
1 โ
2 โ
3 โ
text("2")
1 โ
2 โ 3 โ
text("2") on its own.Solution
Use AI Element
Use AI Element
- Open AskUI Shell
- Create a new AI Element
- Use captured AI Elements in your code:
AskUI-ImportExperimentalCommands in your terminal.6. Text not Detected
Problem: Sometimes, for no apparent reason, Text Detector/ annotation tool does not detect a text, even though you can see it clearly on screen. Example: Say you want to click just the name โAlice Johnsonโ field - but OCR does not detects the text at all:
Alice Johnson โ
text("Alice Johnson")
Alice Johnsonโtext("Alice Johnson") on its own.Solution
Use AI Element
Use AI Element
- Open AskUI Shell
- Create a new AI Element
- Use captured AI Elements in your code:
AskUI-ImportExperimentalCommands in your terminal.Element Detection Issues
7. Checkbox not Detected
Problem: The element detection model does not detect checkboxes as interactive elements. This means you cannot directly target a checkbox using element detection. Example:

Solutions
Use Relative Click to an Anchor Element (Best Practice)
Use Relative Click to an Anchor Element (Best Practice)
Use Custom AI Element
Use Custom AI Element
- Open AskUI Shell
- Create a new AI Element
- Use captured AI Elements in your code:
AskUI-ImportExperimentalCommands in your terminal.