---
title: Optical Character Recognition (OCR)
slug: singleconnect-reference-guide-3-1-0/optical-character-recognition-ocr
description: Learn how to configure Optical Character Recognition (OCR) for data extraction from scanned documents or image files with this comprehensive document. Discover how Single Connect utilizes OCR technology for automatic login by extracting text from the comp
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 Single Connect extracts texts from the computer screen and processes / uses it for autologin.
To configure OCR:

1. Navigate to **Administration&#x20;**> **Remote Desktop App**.
2. Add the name and path of the application to be logged into automatically during an RDP session, and **Save**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/JOmjvzo_lhrRHzxB0YW7J_image.png" size="76" width="539" height="360" 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 **wait 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
:::VerticalSplitItem
**AllownAssigned Credentials**






***

**Allow Session User**











***

**Username**



***

**Password**

***

**Timeout**

***

**Device IP**


:::

:::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 Single Connect 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 Single Connect and the application, or if the same username and password is used for Single Connect and the application.

***

Username to log in to application with.



***

Password to log in to application with.

***

Time window to detect the login page.

***

IP address of the remote application.
:::
::::
