# OCR

## **Introduction**

This document serves as a detailed guide to understanding and effectively utilizing the Optical Character Recognition (OCR) integration within the Autom Mate platform.

It provides comprehensive information on how OCR technology seamlessly integrates with Autom Mate, empowering users to extract text from images and scanned documents for various business applications.

## **What is OCR?**

This section provides an in-depth explanation of OCR technology and its significance in business processes.

* **Overview of OCR:** OCR, or Optical Character Recognition, is a powerful library integrated into Autom Mate, designed to automatically recognize and extract text from images and scanned documents.
* **Key Features:** OCR utilizes sophisticated algorithms to convert images or PDF files into editable text format, facilitating document digitization, data extraction, and workflow optimization.

## **Autom Mate Integration with OCR**

Describe how OCR seamlessly integrates with Autom Mate to enhance text extraction capabilities.

* **Overview of Integration:** Autom Mate's integration with OCR empowers users with two key actions: Capture Text From Image and Image to Text, enabling efficient text extraction from various sources.
* **Benefits:** OCR integration in Autom Mate streamlines document digitization, automates data extraction processes, and enhances workflow efficiency.

## **How To Use Actions**

### **Capture Text From Image**

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FNZsDvtt0w57vlLUv7DjO%2Fimage.png?alt=media&#x26;token=bc957f39-5542-4668-921f-401b0af5a5d8" alt=""><figcaption></figcaption></figure>

**Description:** Automatically extract text from an image file.

**Purpose:** To extract text from scanned or digitally found documents.

**Usage:**

* <mark style="color:green;">**Image Path (Required):**</mark> <mark style="color:green;"></mark><mark style="color:green;">Specify the path to the image file.</mark>
* <mark style="color:green;">**Crop / Grid Crop:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Define the capture area or use a grid to select specific regions.</mark>
* <mark style="color:green;">**Assign crop value to variable (data table):**</mark> <mark style="color:green;"></mark><mark style="color:green;">Link the crop value to a variable.</mark>
* <mark style="color:green;">**Path:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Specify the path for the captured text.</mark>
* <mark style="color:green;">**Trim the captured text:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Remove any unnecessary whitespace from the extracted text.</mark>
* <mark style="color:green;">**Select locale:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Choose the language locale for text recognition.</mark>
* <mark style="color:green;">**Assign value to variable:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Store the extracted text in a variable for further processing.</mark>

**Outputs:** Extracted text from the image within the defined parameters.

### **Image to Text**

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2Fz1I1UkoLvFcK1oWhdQGu%2Fimage.png?alt=media&#x26;token=95b3b149-2ec1-4964-9cc9-cc06407269fe" alt=""><figcaption></figcaption></figure>

**Description:** Convert image characters into editable text format.

**Purpose:** To facilitate the conversion of images containing text into editable text data.

**Usage:**

* <mark style="color:green;">**Image Path (Required):**</mark> <mark style="color:green;"></mark><mark style="color:green;">Specify the path to the image file.</mark>
* <mark style="color:green;">**Trim the captured text:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Remove any unnecessary whitespace from the extracted text.</mark>
* <mark style="color:green;">**Select locale:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Choose the language locale for text recognition.</mark>
* <mark style="color:green;">**Assign value to variable:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Store the converted text in a variable for further processing.</mark>

**Outputs:** Converted text stored in the specified variable.

***

## Additional Tips

### [**Use Cases**](https://docs.autommate.com/userguide/use-cases)

### [FAQ](https://docs.autommate.com/userguide/faq)
