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
Use the OCR actions below to extract text from an image and assign the returned text to a variable.
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

Description: Automatically extract text from an image file.
Purpose: To extract text from scanned or digitally found documents.
Usage:
Image Path (Required): Specify the path to the image file.
Crop / Grid Crop: Define the capture area or use a grid to select specific regions.
Assign crop value to variable (data table): Link the crop value to a variable.
Path: Specify the path for the captured text.
Trim the captured text: Remove any unnecessary whitespace from the extracted text.
Select locale: Choose the language locale for text recognition.
Assign value to variable: Store the extracted text in a variable for further processing.
Outputs: Extracted text from the image within the defined parameters.
Image to Text

Description: Convert image characters into editable text format.
Purpose: To facilitate the conversion of images containing text into editable text data.
Usage:
Image Path (Required): Specify the path to the image file.
Trim the captured text: Remove any unnecessary whitespace from the extracted text.
Select locale: Choose the language locale for text recognition.
Assign value to variable: Store the converted text in a variable for further processing.
Outputs: Converted text stored in the specified variable.
Additional Tips
Use Cases
FAQ
Worked example: read a synthetic document label
Prepare a small clear image containing the text INVOICE DEMO 001. Use a test resource path reachable by the selected Mate Agent; do not use a customer invoice for this first exercise.
1. Add OCR → Image to Text to an isolated Hyperflow. Set Image Path to the actual test image.
2. Select the installed recognition locale appropriate for the English sample. Enable Trim the captured text if whitespace trimming is intended.
3. Assign the extracted value to a String variable named invoice_label.
4. Run once and inspect the returned text. Compare the recognized words and digits with INVOICE DEMO 001; allow only the whitespace differences your next step is designed to accept.
5. If characters are missing or incorrect, inspect the source image, locale and crop/quality before treating the result as an invoice identifier. A completed OCR action does not establish correct recognition.
Was this helpful?

