Share via

Form Recognizer - Issue with custom model table dynamic rows

Knox Lam 6 Reputation points
2021-11-18T07:30:43.677+00:00

Hi,

We are currently delivering a solution for our client which involves using form recognizer custom model to scan invoices from different suppliers. The problem is sometimes the invoice may have certain tagged labels stained or they may not be present due to various reasons we cannot control.

We expect the returned results to be NULL for a tagged label if it does not exist on the invoice. However, it would instead return texts on the invoice we did not tag. While we could get around this for regular tags by tagging the labels we don't want, this method doesn't really work for tables with dynamic rows (see image below).

In the image below, when the first column (description) of the 2nd row in the table is empty, FR is unable to recognize this and returned a wrong table.
The layout didn't really change on the invoice, it's just that some elements are omitted and the invoice doesn't look distorted to the human eye.
We used 8 sample docs to train this model.

Is Form Recognizer designed to handle forms correctly when there are elements on the form omitted or some extra elements (like, maybe a small coffee stain or some ink) on the form?
Are there any tricks we can use in this scenario to improve the accuracy of the model?

Thanks!

table-error.png

Azure Document Intelligence in Foundry Tools
0 comments No comments

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,181 Reputation points Moderator
    2021-11-18T18:19:30.687+00:00

    Hi, here are some considerations:

    • As an experiment, try to train the custom model without labels to see if you get better results
    • Ensure your training data set follows the input requirements (pay attention to the additional tips as well)
    • Improve your model accuracy by labeling additional forms and retraining to create a new model (consider adding the prediction file to the training set, label it, and train again)
    • Try using the new Form Recognizer Studio (public preview) to see if you get better results

    --- *Kindly Accept Answer if the information helps. Thanks.*

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.