https://store-images.s-microsoft.com/image/apps.4832.4af60590-3426-4f1a-9fa6-8af91908ad16.e1b6966b-c023-4284-8ebf-90830d92f1f4.ae8af020-7109-46d6-bbfc-6aa74d3b3349

OCR-DataExtractor

ASEE Solutions

OCR-DataExtractor

ASEE Solutions

AI all purpose OCR data extractor

This Azure Function provides a seamless solution for processing images, performing OCR, and extracting specific metadata using advanced AI services. Designed for efficiency and scalability, it integrates with Azure Form Recognizer and OpenAI services to deliver high-accuracy text recognition and metadata extraction.

Features:

  1. Image Input Handling:

    • Accepts images in base64 format or as file uploads.
    • Supports various image formats for flexibility.
  2. Metadata Extraction:

    • Processes a set of parameters representing the metadata required for extraction.
    • Utilizes OpenAI's advanced language models to extract precise metadata as per the request.
  3. Full OCR Capability:

    • Employs Azure Form Recognizer for comprehensive Optical Character Recognition (OCR).
    • Extracts text from images with high accuracy, handling complex documents efficiently.
  4. Integration with AI Services:

    • Leverages Azure Form Recognizer for initial OCR processing.
    • Calls OpenAI services to analyze and extract metadata from the recognized text.

Benefits:

  • Automated Document Processing: Streamline your workflow by automating the extraction of text and metadata from images.
  • High Accuracy: Benefit from advanced AI algorithms that ensure precise text recognition and metadata extraction.
  • Scalability: Handle large volumes of documents with Azure's robust cloud infrastructure.
  • Flexibility: Supports various input formats and custom metadata extraction requirements.

Use Cases:

  • Document Digitization: Convert physical documents into digital text for easy storage and retrieval.
  • Data Extraction: Extract specific information from forms, invoices, receipts, and other documents.
  • Compliance and Auditing: Automate the extraction and processing of necessary information for compliance purposes.

How It Works:

  1. Upload Image: Send an image in base64 format or as an uploaded file along with the metadata parameters.
  2. OCR Processing: The Azure Function invokes Azure Form Recognizer to perform OCR on the image.
  3. Metadata Extraction: The recognized text is sent to OpenAI service to extract the specified metadata.
  4. Return Results: The extracted metadata is returned in the response, ready for further processing or integration into your system.
Below is a example of request :

{

"parameters": [

{

"semantic": "TOTAL",

"key": "total"

},

{

"semantic": "Bill To",

"key": "billTo"

},

{

"semantic": "Ship To",

"key": "shipTo"

}

],

"image": "iVBORw0KGgoAAAANSUhE...",

"form_rec_key":"

"form_rec_url":"https://

"openAi_url":"https://

"openAi_key":"

"deploymentName":"logic-app-chat"

}

https://store-images.s-microsoft.com/image/apps.22087.4af60590-3426-4f1a-9fa6-8af91908ad16.e1b6966b-c023-4284-8ebf-90830d92f1f4.48a3f12f-5de0-4f83-b8ba-dc7486ad9ccd
/staticstorage/3f120fb/assets/videoOverlay_7299e00c2e43a32cf9fa.png
https://store-images.s-microsoft.com/image/apps.22087.4af60590-3426-4f1a-9fa6-8af91908ad16.e1b6966b-c023-4284-8ebf-90830d92f1f4.48a3f12f-5de0-4f83-b8ba-dc7486ad9ccd
/staticstorage/3f120fb/assets/videoOverlay_7299e00c2e43a32cf9fa.png
https://store-images.s-microsoft.com/image/apps.63485.4af60590-3426-4f1a-9fa6-8af91908ad16.e1b6966b-c023-4284-8ebf-90830d92f1f4.c7720e33-7277-4de5-81ac-2e9b2725b4eb
/staticstorage/3f120fb/assets/videoOverlay_7299e00c2e43a32cf9fa.png