Do I need to configure something to get that same endpoint that I use in local working in production?

David Muñoz 0 Reputation points
2024-10-19T00:34:52.65+00:00

I am using Form Recognizer to read some forms.

So I've done a lot of testing on my local machine calling my Form Recognizer endpoint and it works great. But I have seen that in production, the results that come back to me are always a little different than locally. What is it due to? Do I need to configure something to get that same endpoint working in production?

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
383 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,746 questions
{count} votes

2 answers

Sort by: Most helpful
  1. David Munoz 0 Reputation points
    2024-10-24T06:40:22.3633333+00:00

    I have thought that the Microsoft team have not considered the case when an image is slightly rotated (For example, when someone scans a document wrong). In these cases your API combines top lines with bottom lines due to the slightly rotated orientation of the sheet. This causes them to sometimes extract a text first and other times to extract it later.


  2. Pavankumar Purilla 1,230 Reputation points Microsoft Vendor
    2024-10-25T07:24:54.7166667+00:00

    Hi David Munoz,
    To handle the issue of slightly rotated images when using the Form Recognizer API, consider implementing preprocessing steps to correct the rotation before sending the images for analysis. Using image processing libraries like OpenCV can help automatically detect and adjust the orientation of scanned documents.

    0 comments No comments

Your answer

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