question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUERY] Form Recognizer custom models and JSON

See original GitHub issue

Query/Question I am using Azure Form Recognizer custom model to extract line and table data from PDF files. For few scenarios it’s not able to extract all the rows of a table (i.e. If a table contains 20 rows, it’s extracting 19 rows and not able to extract last one). Is there any way so that I can compare extracted json values and file content to check if Form Recognizer is not able to extract all the rows.

Environment:

  • Name and version of the Library package used: Azure.AI.FormRecognizer 3.1.1
  • Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Windows 10 and .NET 5
  • IDE and version : Microsoft Visual Studio Community 2019

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
biswajitsamal59commented, Nov 2, 2021

Great. So a good way to test that analyzing the custom model is returning what you want is to use the tool to Analyze a new document using your custom model. There is a button where you can download the JSON and see if all the information you need is there.

Let us know if that helps

I have checked that. The PDF file contains a table with 1 header row and 20 data rows. But the downloaded JSON file contains table with 1 header and 19 data rows. Even the Form Recogniser Layout service giving same result (Without using custom model only analysing using Layout service).

0reactions
msftbot[bot]commented, Apr 7, 2022

Hi, we’re sending this friendly reminder because we haven’t heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to guide: create and compose custom models ...
Composed models are useful when you've trained several models and want to group them to analyze similar form types. For example, your composed ......
Read more >
Form recognizer custom model - how to use a python ...
I'm making a solution who extract pdf content through a Form recognizer Custom model and add the result to a SQL server database....
Read more >
Using Form Recognizer to recognize custom forms - NillsF blog
When building a custom model form recognizer, you'll need to do a ... The full JSON document contains a full analysis of the...
Read more >
Train a Form Recognizer model with labels using REST ...
In this quickstart, you'll use the Form Recognizer REST API with Python to train a custom model with manually labeled data. See the...
Read more >
Custom models using Azure Forms Recognizer Cognitive ...
Azure Forms Recognizer uses Machine Learning technology to extract Key/Value pairs from forms. Forms Recognizer is made of the following ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found