How do I extract images from a document

David Downing 706 Reputation points
2025-02-26T15:20:15.96+00:00

I'm using:

"Operation< AnalyzeResult > operation = client.AnalyzeDocumentAsync(WaitUntil.Completed, "prebuilt-read", fileUri).GetAwaiter().GetResult();"

to obtain a documents text and OCR text.

Is it possible to also obtain the images associated with the OCR extraction as well.
If so, any sample code available?
NOTE: I'm using .Net.

THX

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,317 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.