cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rswayne
New Member

Entire process from OCR to Process Extracted Data to Verify Processed Data

Hi. I am a experienced developer (primarily C#) but fairly new to Azure and to OCR. I work for a large insurance company that uses a legacy OCR extraction and processing tool.  We are examining current technology alternatives.  

 

I know this is a long post but I wanted to provide a total picture of what we are trying to accomplish.

 

- We process 100s of 1000s of documents per month, millions of pages.

- Most of our documents contain multiple pages.

- Many of our documents contain multiple document types (Policy, Cancellations, Bills, etc.).

- We service 1000s of clients, and 10s of 1000s of document layouts, and many of the document layouts change often.

- Building and maintaining models (templates) is not an option for us (we gave up on templates a long time ago)

 

We are working on a proof of concept (POC). Currently, we use the Forms Recognizer (FR) API to extract data using the General Document process and save the data to SQL Server tables (keyvalue, pagelines, pagewords, paragraphs, tables) in our data center.  Then we run stored procedures against the extracted data (post-extraction process) to select the specific values we need.  Sometimes the Key/Value pairs give us what we need but often we must further process the extracted data.  For example, parse street address, city, state, zip from a string that contains this information. Or find effective and expiration dates that were not picked up by the Key/Value pair data.

 

Most of the examples I have found deal with Pre-built or Custom Forms FR processes where the structure of the document is known and specific documents may be used to train the extract model.  Any General Document articles/videos only go as far as extracting the data, but not performing any post-extract processing or any decent Verification process. There is a Verify process using Cognitive Services but it is not real usable for documents with dense content, or for multi-page documents. Also, all demos use pristine, single-page documents that produce way-too-clean results.

 

The process we need to replace:

 

- Extract text from documents (mostly pdf and tif), but possibly other image types (jpg, png, etc)

   Data is extracted and saved to on-prem (data centers) SQL Server tables.

   Data contains x/y coordinates that point to the location of the extracted data.

 

- Process the extracted data by searching for "KeyWords" that are mapped (associated) to our FieldNames in extracted text

   Example: Policy Number (FieldName) has many KeyWords mapped to it (Policy No, Policy No:, Policy Nbr, Policy Code etc.).

 

- Verify the "processed" data - a human process

   Our (legacy) OCR application has a module that shows the document and the FieldNames that have been "processed" for the document. 

   When a FieldName is selected (clicked), its source is brought into focus outlined on the document.

   The Verifier (human) may approve the processed data (FieldName) or select a different value from the document by highlighting the desired replacement text (which is now copied) and selecting Replace.

 

We would like to keep this POC to Azure-provide features if possible.

 

If anyone is still reading (😊), I am hoping I can get pointed in the right direction.

 

THANK you.

 

4 REPLIES 4

Hi @rswayne 

Does this helps you ?

 

https://powerautomate.microsoft.com/en-us/blog/automate-document-processing-with-power-automate/

 

This is document processing framework present in power automate

 

Thanks & Regards,

Nived N 🚀

LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel

🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌

@Nived_Nambiar @rswayne 

 

I think that is a good example set up of the general workflow, but I think it may still require training models for different document formats

https://learn.microsoft.com/en-us/ai-builder/form-processing-model-overview

 

If you want something pretty general to any Word, PDF, or image text scenario then you can check over this template to see if it will work for your scenario… https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-G...

This set-up extracts text from any PDF or image, replicates the document text positioning in a text format, then passes the text formatted data to an Azure GPT prompt where you can specify & customize data extraction processing to whatever you need. If Microsoft sticks to charging something in the 1-3x the equivalent credits of $.003 per 4000 GPT prompt characters usually charged for GPT services, then it may be half as expensive as the other AI Builder data extraction methods too. And if they start to charge more than that, then with an Azure account there is still a way to set up a GPT service in Azure to do the same thing for the $.003 per 4000 characters price, it just will take extra work.

Hi Nived.  Thank you for your reply.  I already have the link you sent me and have reviewed it (I may need to spend more time with it).  I found a video of a person actually showing some of this using Power Automate.  It looks like we must use expected document layouts to train models for extraction.  I understand models to be "templates" for known document layouts.  Like I said in my original post, we have given up on templates because there are so many variations of so many document that keeping up with all of them, and their changes, was too much.  I may be mis-understanding what a model is but from what I have been able to research, models are useful when you have a limited number of variations of a known document.  We are dealing with a staggering number of variations of many different document layouts for many different document types from many different clients. I am hoping that further research will show me that I am not looking at the problem the right way !!

 

Also, the example of a validation process (what we call verification) is a step in the right direction but does not  appear to meet our requirements for this feature:

  • Navigate to the area on the displayed document from where the extracted value was retrieved.
  • Highlight the text on the document that was extracted. 
  • Allow the user to change the selected value by selecting a different value from the document

A video I have seen using this feature (also) shows a simple example and it  supports the lack of I just described.

 

We also must be concerned with protecting very personal data.  We really do not want to store out source documents outside of Azure.

 

As I get back to the business with research results some requirements could change.

 

Thank you, again, for your reply.  It is MUCH appreciated. I am back in the office on Tue and will be continuing the research.

Hi @takolota.  Thank you for your reply.  I need to look at the "train your models" requirement.  Like I said earlier, we have so many variations of documents (by document type, by client ...) that maintaining models (I am looking at models being templates for known documents) will be very difficult.  Your suggestion of using Azure GPT is interesting and I will have to look into this more.

 

I have created a POC using C# to call the Forms Recognizer API, saving the extracted data to SQL Server, then executing stored procedures to process the extracted data -- described in my original post in the paragraph starting with "We are working on a proof of concept (POC)."

 

Thanks, again, for your reply.  I am grateful for all the help I can get with this.  I'll update this post as research progresses!

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (534)