Read Content (OCR)
OCR (Optical Character Recognition) is a technology that enables the conversion of document types such as scanned paper documents, PDF files or pictures taken with a digital camera into editable and searchable data. OCR creates words from letters and sentences from words by selecting and separating letters from images.
With the Read Content OCR action, you can read the texts in the images. This feature is a feature generally used by Documentation Management companies to read and convert the invoices or documents they have issued into text format. With this feature, documents containing keywords from all documents are filtered and the desired documents can be accessed easily.
Read Content (OCR) action features:
Value Area: It is selected to which area the text to be read will be sent.
Remove Lines: There are lines in the picture to be read, and if these lines are to be removed, the Remove Lines feature should be selected as “Yes”. In case of being selected, the text reading speed will slow down as it will check for lines one by one for each line in line-based scanning operations.
OCR Mapping: If you want to read the desired line or the area containing the desired information by mapping on the document, the OCR Mapping field should be used. It transfers only the requested information to the form page, not the entire document. Multiple mapping operations can be performed by pressing the + button. Two different selections can be made from the Type field. Field performs field-based operation and row performs row-based operation. Example usage is included in the document.
It is required to read all the texts on a slip and send this text value to the relevant form field. First, a text box and a button are added to the Form page.
The Read Content(OCR) action is added inside the Read Text(OCR) button. Action and details are as follows.
The text box added to the form page is selected in the Value Area field. The Remove Lines feature is selected as “Yes” so that the line lines on the receipt are removed and not sent to the text box.
After the action is recorded, the client screen is switched.
When the Read Text button is clicked, the file selection screen opens for the selection of the document to be read and the file to be read is selected from here.
The receipt example we have chosen for this example is as follows.
The better the quality of the receipts drawn or scanned, the better the result will be. The images to be used must have a minimum value of 300DPi.
After selecting the relevant image from the file selection area, all text values in the receipt will be added line by line in the text box.
All texts on a picture were read and sent to the relevant area.
Example Usage 2(OCR Mapping):
If you want to retrieve only the desired row or the row where the requested information is displayed, not all the information on a receipt, the Mapping operation is performed.
For this example, the Invoice No, Invoice Date, Total and Received values on the receipt will be sent to the fields on the relevant form page.
Let's design an example form
Read Content(OCR) action should be given to the Read Text (OCR) Mapping button. Action usage and details are as follows.
Read Content(OCR) action details
Type: The type must be selected from this column for the operation to be performed.
Row: It is used to transfer the information of the first scanned row to the relevant field.
Field: It is used to transfer the first line that contains the value entered in the Value field to the relevant field.
Field: The field to be printed on the form page of the line read on the picture is selected.
Value: In row selections, the row number of the desired row should be written here.
In field selections, the searched word value should be written.
For this example, the entire first line read on the Receipt will be printed on the Current field. The entire first line with the text TOTAL will be printed in the Total field. The entire first line containing the text RECEIVED will be printed in the Received field. The entire first line with the text TOTAL will be printed in the Total2 field.
Switching to the client screen and clicking the Read Content (OCR) button, the relevant image file is selected. After the selection is made, the form fields will be filled with the matching information.