Note
Form Recognizer is now Azure AI Document Intelligence!
- Code samples for each language's SDK are in the links below. The first step is to click to choose one (default .NET).
| Python | .NET | Java | JavaScript |
|---|
- The contents of this folder apply to the latest version: v4.0 GA (2024-11-30) .
- You can click v3.1 (2023-07-31-GA) to view earlier versions.
Azure AI Document Intelligence is a cloud-based Azure AI service that enables you to build intelligent document processing solutions. Massive amounts of data, spanning a wide variety of data types, are stored in forms and documents. Document Intelligence enables you to effectively manage the velocity at which data is collected and processed and is key to improved operations, informed data-driven decisions, and enlightened innovation.
This sample program is built based on .Net Console application. It shows common scenario operations with the Azure Document Intelligence client library.
The following prerequisites are necessary to run the sample program. For more details, please visit the Get started with Document Intelligence SDKs.
- Azure subscription - Create one for free.
- Azure AI services or Document Intelligence resource
Create a single-service or multi-service resource. You can use the free pricing tier (F0) to try the service and upgrade to a paid tier for production later. - Get the key and endpoint
1 - After your resource is deployed, select "Go to resource".
2 - In the left navigation menu, select "Keys and Endpoint".
3 - Copy one of the keys and the Endpoint for use in this sample.
- Install the current version of Visual Studio IDE.
- Download this sample code and fill the app.config with the endpoint and key which got from previous steps.
- Below are some sample code guidelines so that you can choose the sample according to your needs.
- Execute the "Build" command in Visual Studio IDE.
- After building successfully, click the "▶"(debug button) or press the F5 keyboard's shortcut to start up.
- Detect Language
- Extract Barcode Property
- Extract Font Property
- Extract Formula
- Extract High Resolution
- Extract Key-Value Pairs
- For more samples, see Azure SDK for .NET.
- Check out the documentation to learn more about what you can do with the Azure Document Intelligence client library.