The OCR (Optical Character Recognition) plugin is a powerful tool that enables you to read barcodes and extract handwritten signatures from .pdf documents with ease.
Before using the OCR service for reading barcodes and extracting signatures, please note the following requirements:
The plugin supports 1D Code 128 barcodes. For more information about this barcode type, please refer to the documentation here.
You can utilize the OCR plugin to process generic document templates by either using a specific flow on FLOWX.AI (HTML template) or any other document editor.
Using a specific flow on FlowX.AI offers several advantages:
The Kafka topic for generating the template must match the topic defined in the KAFKA_TOPIC_DOCUMENT_GENERATE_HTML_IN
variable. DEVELOPER: Refer to the Kafka configuration guide for more details. For additional information, please see the Documents plugin setup guide.
The data
parameters must be defined in the document template beforehand. For more information, check the WYSIWYG editor section.
includeBarCode: true
.includeBarCode: false
and provide the desired data in the data
fieldEnsure that the topic matches the one defined in the KAFKA_TOPIC_DOCUMENT_GENERATE_HTML_OUT
variable.
KAFKA_TOPIC_DOCUMENT_PERSIST_IN
variable) to the storage solution (for example, S3).KAFKA_TOPIC_DOCUMENT_PERSIST_OUT
environment variable through a callback action/subprocess.KAFKA_TOPIC_OCR_IN
variable (representing the path to the S3 file)KAFKA_TOPIC_OCR_OUT
.DEVELOPER: Refer to the OCR plugin setup guide for detailed instructions on setting up the OCR plugin.