Can form recogniser also give the bounding box details for the images in the documents?

Malini V 0 Reputation points
2023-10-05T07:51:14.04+00:00

For my use case, I also require the bounding box for the images in the document along with the text, can form recogniser do this? Is there another MS tool that can extract ?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,718 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 17,641 Reputation points
    2023-10-05T21:43:24.1533333+00:00

    Hello @Malini V , Thanks for using Microsoft Q&A Platform.

    As per my knowledge, I don't think that we can retrieve bounding box for images using Document intelligence directly. As we know it does extract the bounding box for the text in the document. You can experiment some postprocessing steps to retrieve the coordinates and see if that helps.

    However, maybe you can try the Computer Vision API where we have services like image analysis. Please refer to this for more information: https://learn.microsoft.com/en-us/python/api/azure-ai-vision/azure.ai.vision.imageanalysisresult?view=azure-python-preview

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    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.