---
title: Optical Character Recognition (OCR)
slug: kronpam-reference-guide-legacy-ui-3-4-0/optical-character-recognition-ocr
description: Learn how to configure Optical Character Recognition (OCR) in Kron PAM with this helpful document. Extract text from scanned documents or images and convert it into a machine-readable format for efficient data processing. Discover step-by-step instruction
docTags: 
createdAt: 2022-07-27T15:32:50.000Z
---

Optical Character Recognition is the data extraction from printed or written text from a scanned document or image file and then converting the text into a machine-readable form to be used for data processing like editing or searching. Based on OCR technology Kron PAM extracts texts from the computer screen and processes / uses it for autologin.

To configure OCR:

1. Navigate t&#x6F;**&#x20;Device Management&#x20;**> **Device Group.**
2. Right-click the device group you want to edit and select **Allow Remote Application.**
3. Check both the **Allow&#x20;**&#x61;nd **Auto Login&#x20;**&#x63;heckboxes.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/eeahjyww2GYMF_KXwdhFN_image.png" size="52" width="570" height="381" caption="Allow Remote App Window" position="center" showCaption="true"}

- Click the **Set Auto Login Properties** button and fill in the required fields with the information shown in the image above.
- Select **Use OCR** then configure accordingly.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Mwe71FvXfKfQJ7Iz2k0HG_image.png" size="66" width="529" height="343" caption="Auto Login Parameters Window for OCR" position="center" showCaption="true"}

OCR text and Key template fields should be entered according to the application, as configurations will be different for every application.&#x20;

::::VerticalSplit{layout="left"}
:::VerticalSplitItem
**OCR text**





***

**Key Template**

****
:::

:::VerticalSplitItem
Text to recognize if the login page has loaded successfully. OCR scans the screen and looks for this text. When it finds it, it starts to enter the Key Template.



***

Text to recognize if the login page has loaded successfully. OCR scans the screen and looks for this text. When it finds it, it starts to enter the Key Template.

Login key template to insert username and password. Consists of key and character combinations. The special keys are written consecutively in **\[Tab]**, **\[Enter]**, etc. format. The Username and Password are sent with $&#x7B;username} and $&#x7B;password} placeholders. A standby time can be set in milliseconds and added to the key template in a regular format as well. For example, if \[wait-3000] is added to the key template, it means **waiting for 3 seconds** before the execution of the next key.
:::
::::


Special keys should be written in the following format:

| \[Alt]    | \[F10] | \[F8]         | \[Print]        |
| --------- | ------ | ------------- | --------------- |
| \[Begin]  | \[F11] | \[F9]         | \[Right]        |
| \[Break]  | \[F12] | \[Home]       | \[Scroll\_Lock] |
| \[Ctrl]   | \[F2]  | \[Insert]     | \[Shift]        |
| \[Delete] | \[F3]  | \[Left]       | \[Shift\_Lock]  |
| \[Down]   | \[F4]  | \[Num\_Lock]  | \[Tab]          |
| \[End]    | \[F5]  | \[Page\_Down] | \[Up]           |
| \[Escape] | \[F6]  | \[Page\_Up]   |                 |
| \[F1]     | \[F7]  | \[Pause]      |                 |



::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
**Allow Assigned Credentials**






***



**Allow Session User**




***



**Username**

***

**Password**

***

**Timeout**

***

**Device IP/Hostname**


:::

:::VerticalSplitItem
Allows assigned credentials for the current user to be selected in the user selection at the beginning of the session. If enabled, SAPM configuration needs to be in place for the user.

***

Allows the current Kron PAM user to be selected from the user options at the start of the session. This can be used for LDAP connections for applications if LDAP is integrated with Kron PAM and the application, or if the same username and password is used for Kron PAM and the application.

***

Username to log in to the application with.

***

Password to log in to the application with.

***

The time window to detect the login page.

***

The IP address of the remote application can also be a hostname or a DNS record.
:::
::::









