page_type | languages | products | urlFragment | ||||
---|---|---|---|---|---|---|---|
sample |
|
|
documentintelligence-java-samples |
Azure Document Intelligence samples are a set of self-contained Java programs that demonstrate interacting with Azure Document Intelligence service/ Document Intelligence using the client library. Each sample focuses on a specific scenario and can be executed independently.
Key concepts are explained in detail here.
Getting started explained in detail here.
The following sections provide code samples covering common scenario operations with the Azure Document Intelligence client library.
All of these samples need the endpoint to your Document Intelligence resource (instructions on how to get endpoint), and your Document Intelligence API key (instructions on how to get key).
File Name | Description |
---|---|
AnalyzeAddOnBarcodes and AnalyzeAddOnBarcodesAsync | Analyze add-on barcode layout |
AnalyzeAddOnFonts and AnalyzeAddOnFontsAsync | Analyze add-on fonts layout |
AnalyzeAddOnFormulas and AnalyzeAddOnFormulasAsync | Analyze add-on formulas layout |
AnalyzeAddOnHighRes and AnalyzeAddOnHighResAsync | Analyze add-on OCR high resolution layout |
AnalyzeAddOnKeyValuePairs and AnalyzeAddOnKeyValuePairsAsync | Analyze add-on key value pairs layout |
AnalyzeAddOnLanguages and AnalyzeAddOnLanguagesAsync | Analyze add-on languages layout |
AnalyzeAddOnQueryFields and AnalyzeAddOnQueryFieldsAsync | Analyze add-on query fields layout |
AnalyzeLayout and AnalyzeLayoutAsync | Analyze document layout, such as tables, lines, words, and selection marks like radio buttons and check boxes from a file stream |
AnalyzeLayoutFromUrl and AnalyzeLayoutFromUrlAsync | Analyze document layout such as tables, lines, words, and selection marks like radio buttons and check boxes from a URL |
AnalyzeLayoutMarkdown and AnalyzeLayoutMarkdownAsync | Analyze document layout in markdown output |
AnalyzeIdentityDocuments and AnalyzeIdentityDocumentsAsync | Analyze data from an identity document like a passport or a US drivers license using a prebuilt model |
AnalyzeIdentityDocumentsFromUrl and AnalyzeIdentityDocumentsFromUrlAsync | Analyze data from a URL of a passport or a US drivers license using a prebuilt model |
AnalyzeInvoices and AnalyzeInvoiceAsync | Analyze invoices from an input stream |
AnalyzeInvoicesFromUrl and AnalyzeInvoicesFromUrlAsync | Analyze invoices from a URL |
AnalyzeReceipts and AnalyzeReceiptsAsync | Analyze data from a file of a US sales receipt using a prebuilt model |
AnalyzeReceiptsFromUrl and AnalyzeReceiptsFromUrlAsync | Analyze data from a URL of a US sales receipt using a prebuilt model |
AnalyzeTaxW2 and AnalyzeTaxW2Async | Analyze data from a file of a US W2 Tax document using a prebuilt model |
AnalyzeCustomDocumentFromUrl and AnalyzeCustomDocumentAsync | Analyze forms with your custom model |
BuildDocumentModel and BuildDocumentModelAsync | Build a custom document analysis model |
ManageCustomModels and ManageCustomModelsAsync | Manage the custom models in your account |
CopyDocumentModel and CopyDocumentModelAsync | Copy custom model from one Document Intelligence resource to another |
ComposeDocumentModel and ComposeDocumentModelAsync | Creates a composed model from a collection of existing built models with labels |
GetOperation and GetOperationAsync | Get/list all document model associated with the Document Intelligence resource |
BuildDocumentClassifier and BuildDocumentClassifierAsync | Build custom classifier models that combine layout and language features |
Troubleshooting steps can be found here.
Check out the API reference documentation to learn more about what you can do with the Azure Document Intelligence client library.
If you would like to become an active contributor to this project please refer to our Contribution Guidelines for more information.