How to extract images from a document using Azure Document Intelligence?
Haritha Maturi
5
Reputation points
As per the documentation for prebuilt-layout model they are saying
But I couldn't understand how exactly I can access the cropped images when I trying to do it in python
like below:
result = documentintelligenceclient.begin_analyze_document( "prebuilt-layout",AnalyzeDocumentRequest(bytes_source=document),output=['figures'])
If I use UI I can see the download option to download the images
But I want the images accessible while doing things in python either the image itself or the bytes of image would also help.
Please help me.
Thanks Haritha
Sign in to answer