Modified Extract text from images Service (Height and Width)

Esteban Picado Larios 0 Reputation points
2024-01-15T19:53:10.1533333+00:00

Hello community. I am using the "Extract text from images" feature of Azure Cognitive Services (through the API call) in the cloud and am having problems with the location points sent through the JSON format response. I have noticed that the height and width values are always:

  • Width: 2550
  • Height: 1650

My issue is that, once I obtain the text extraction analysis from the service, I need to evaluate my local machine to place a mark (dot, square, or any shape) on the image sent for extraction. Since the resolution of my local machine is not the same as the previous values, I wanted to ask if there is any way to modify the resolution used in the analysis performed in the cloud. I haven't found any guidance on this in the available documentation.

  1. https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/concept-ocr
  2. https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/overview-image-analysis?tabs=4-0
  3. https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library?tabs=windows%2Cvisual-studio&pivots=programming-language-csharp#analyze-image
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,107 questions
{count} votes

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.