From c9eaaf488f79bc2a53570ba09001fff40f8bae6c Mon Sep 17 00:00:00 2001 From: Mariana Rios Flores Date: Mon, 2 Nov 2020 11:19:19 -0800 Subject: [PATCH 1/4] add invoices --- .../Azure.AI.FormRecognizer/CHANGELOG.md | 1 + .../Azure.AI.FormRecognizer.netstandard2.0.cs | 25 + .../src/FormRecognizerClient.cs | 138 ++ .../src/OperationExtensions.cs | 13 + .../src/RecognizeInvoicesOperation.cs | 216 +++ .../src/RecognizeInvoicesOptions.cs | 35 + .../FormRecognizerClientLiveTests.cs | 339 ++++ .../FormRecognizerClientMockTests.cs | 93 + .../FormRecognizerClientTests.cs | 43 + .../tests/Models/OperationsLiveTests.cs | 18 + ...artRecognizeInvoicesCanParseBlankPage.json | 275 +++ ...cognizeInvoicesCanParseBlankPageAsync.json | 245 +++ ...eInvoicesCanParseMultipageForm(False).json | 161 ++ ...icesCanParseMultipageForm(False)Async.json | 276 +++ ...zeInvoicesCanParseMultipageForm(True).json | 304 ++++ ...oicesCanParseMultipageForm(True)Async.json | 274 +++ ...cesFromUriThrowsForNonExistingContent.json | 48 + ...omUriThrowsForNonExistingContentAsync.json | 48 + ...RecognizeInvoicesIncludeFieldElements.json | 1513 ++++++++++++++++ ...nizeInvoicesIncludeFieldElementsAsync.json | 1513 ++++++++++++++++ ...eInvoicesPopulatesExtractedPdf(False).json | 619 +++++++ ...icesPopulatesExtractedPdf(False)Async.json | 619 +++++++ ...zeInvoicesPopulatesExtractedPdf(True).json | 617 +++++++ ...oicesPopulatesExtractedPdf(True)Async.json | 617 +++++++ ...InvoicesPopulatesExtractedTiff(False).json | 576 ++++++ ...cesPopulatesExtractedTiff(False)Async.json | 606 +++++++ ...eInvoicesPopulatesExtractedTiff(True).json | 604 +++++++ ...icesPopulatesExtractedTiff(True)Async.json | 604 +++++++ ...RecognizeInvoicesThrowsForDamagedFile.json | 46 + ...nizeInvoicesThrowsForDamagedFileAsync.json | 46 + ...ognizeInvoicesWithSupportedLocale(%%).json | 1513 ++++++++++++++++ ...eInvoicesWithSupportedLocale(%%)Async.json | 1543 +++++++++++++++++ ...eInvoicesWithSupportedLocale(%en-US%).json | 1513 ++++++++++++++++ ...icesWithSupportedLocale(%en-US%)Async.json | 1513 ++++++++++++++++ ...StartRecognizeInvoicesWithWrongLocale.json | 48 + ...RecognizeInvoicesWithWrongLocaleAsync.json | 48 + ...eInoicesOperationCanPollFromNewObject.json | 396 +++++ ...cesOperationCanPollFromNewObjectAsync.json | 246 +++ .../Sample13_RecognizeInvoicesFromFile.cs | 131 ++ .../Sample13_RecognizeInvoicesFromUri.cs | 127 ++ 40 files changed, 17610 insertions(+) create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOptions.cs create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPage.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPageAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContent.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContentAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElements.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElementsAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFile.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFileAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%).json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%)Async.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocale.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocaleAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObject.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObjectAsync.json create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromFile.cs create mode 100644 sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromUri.cs diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/CHANGELOG.md b/sdk/formrecognizer/Azure.AI.FormRecognizer/CHANGELOG.md index beb36b21f79f..4706f52ad926 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/CHANGELOG.md @@ -7,6 +7,7 @@ ### New Features - Added support for pre-built business card recognition. +- Added support for pre-built invoices recognition. - Added support for providing locale info when recognizing receipts and business cards. Supported locales include support EN-US, EN-AU, EN-CA, EN-GB, EN-IN. - Added support to train and recognize custom forms with selection marks such as check boxes and radio buttons. This functionality is only available in train with labels scenarios. - Added ability to create a composed model from the `FormTrainingClient` by calling method `StartCreateComposedModel`. diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs index 60304fc6e3e7..7d20dbb5bbc0 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs @@ -28,6 +28,10 @@ public FormRecognizerClient(System.Uri endpoint, Azure.Core.TokenCredential cred public virtual System.Threading.Tasks.Task StartRecognizeCustomFormsAsync(string modelId, System.IO.Stream form, Azure.AI.FormRecognizer.RecognizeCustomFormsOptions recognizeCustomFormsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation StartRecognizeCustomFormsFromUri(string modelId, System.Uri formUri, Azure.AI.FormRecognizer.RecognizeCustomFormsOptions recognizeCustomFormsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartRecognizeCustomFormsFromUriAsync(string modelId, System.Uri formUri, Azure.AI.FormRecognizer.RecognizeCustomFormsOptions recognizeCustomFormsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation StartRecognizeInvoices(System.IO.Stream invoice, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRecognizeInvoicesAsync(System.IO.Stream invoice, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(System.Uri invoicesUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRecognizeInvoicesFromUriAsync(System.Uri invoicesUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceipts(System.IO.Stream receipt, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartRecognizeReceiptsAsync(System.IO.Stream receipt, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceiptsFromUri(System.Uri receiptUri, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -47,6 +51,7 @@ public static partial class OperationExtensions public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.Task> WaitForCompletionAsync(this System.Threading.Tasks.Task operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -70,6 +75,13 @@ public RecognizeCustomFormsOptions() { } public Azure.AI.FormRecognizer.FormContentType? ContentType { get { throw null; } set { } } public bool IncludeFieldElements { get { throw null; } set { } } } + public partial class RecognizeInvoicesOptions + { + public RecognizeInvoicesOptions() { } + public Azure.AI.FormRecognizer.FormContentType? ContentType { get { throw null; } set { } } + public bool IncludeFieldElements { get { throw null; } set { } } + public string Locale { get { throw null; } set { } } + } public partial class RecognizeReceiptsOptions { public RecognizeReceiptsOptions() { } @@ -316,6 +328,19 @@ public partial class RecognizedFormCollection : System.Collections.ObjectModel.R { internal RecognizedFormCollection() : base (default(System.Collections.Generic.IList)) { } } + public partial class RecognizeInvoicesOperation : Azure.Operation + { + public RecognizeInvoicesOperation(string operationId, Azure.AI.FormRecognizer.FormRecognizerClient client) { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.AI.FormRecognizer.Models.RecognizedFormCollection Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class RecognizeReceiptsOperation : Azure.Operation { public RecognizeReceiptsOperation(string operationId, Azure.AI.FormRecognizer.FormRecognizerClient client) { } diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs index 5d8b5d937cca..1cd59877100b 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs @@ -524,6 +524,144 @@ public virtual RecognizeBusinessCardsOperation StartRecognizeBusinessCardsFromUr #endregion + #region Invoices + + /// + /// Recognizes values from one or more invoices. + /// See for a list of available fields on an invoice. + /// + /// The stream containing the one or more invoices to recognize values from. + /// A set of options available for configuring the recognize request. + /// A controlling the request lifetime. + /// A to wait on this long-running operation. Its upon successful + /// completion will contain the extracted invoices. + public virtual async Task StartRecognizeInvoicesAsync(Stream invoice, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(invoice, nameof(invoice)); + + recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); + + using DiagnosticScope scope = Diagnostics.CreateScope($"{nameof(FormRecognizerClient)}.{nameof(StartRecognizeInvoices)}"); + scope.Start(); + + try + { + FormContentType contentType = recognizeInvoicesOptions.ContentType ?? DetectContentType(invoice, nameof(invoice)); + + Response response = await ServiceClient.AnalyzeInvoiceAsyncAsync(contentType, invoice, recognizeInvoicesOptions.IncludeFieldElements, recognizeInvoicesOptions.Locale, cancellationToken).ConfigureAwait(false); + string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); + + return new RecognizeInvoicesOperation(ServiceClient, Diagnostics, location); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Recognizes values from one or more invoices. + /// See for a list of available fields on an invoice. + /// + /// The stream containing the one or more invoices to recognize values from. + /// A set of options available for configuring the recognize request. + /// A controlling the request lifetime. + /// A to wait on this long-running operation. Its upon successful + /// completion will contain the extracted invoices. + public virtual RecognizeInvoicesOperation StartRecognizeInvoices(Stream invoice, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(invoice, nameof(invoice)); + + recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); + + using DiagnosticScope scope = Diagnostics.CreateScope($"{nameof(FormRecognizerClient)}.{nameof(StartRecognizeInvoices)}"); + scope.Start(); + + try + { + FormContentType contentType = recognizeInvoicesOptions.ContentType ?? DetectContentType(invoice, nameof(invoice)); + + Response response = ServiceClient.AnalyzeInvoiceAsync(contentType, invoice, recognizeInvoicesOptions.IncludeFieldElements, recognizeInvoicesOptions.Locale, cancellationToken); + string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); + + return new RecognizeInvoicesOperation(ServiceClient, Diagnostics, location); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Recognizes values from one or more invoices. + /// See for a list of available fields on an invoice. + /// + /// The absolute URI of the remote file to recognize values from. + /// A set of options available for configuring the recognize request. + /// A controlling the request lifetime. + /// A to wait on this long-running operation. Its upon successful + /// completion will contain the extracted invoices. + public virtual async Task StartRecognizeInvoicesFromUriAsync(Uri invoicesUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(invoicesUri, nameof(invoicesUri)); + + recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); + + using DiagnosticScope scope = Diagnostics.CreateScope($"{nameof(FormRecognizerClient)}.{nameof(StartRecognizeInvoicesFromUri)}"); + scope.Start(); + + try + { + SourcePath sourcePath = new SourcePath() { Source = invoicesUri.AbsoluteUri }; + Response response = await ServiceClient.AnalyzeInvoiceAsyncAsync(includeTextDetails: recognizeInvoicesOptions.IncludeFieldElements, locale: recognizeInvoicesOptions.Locale, fileStream: sourcePath, cancellationToken).ConfigureAwait(false); + string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); + + return new RecognizeInvoicesOperation(ServiceClient, Diagnostics, location); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Recognizes values from one or more invoices. + /// See for a list of available fields on an invoice. + /// + /// The absolute URI of the remote file to recognize values from. + /// A set of options available for configuring the recognize request. + /// A controlling the request lifetime. + /// A to wait on this long-running operation. Its upon successful + /// completion will contain the extracted invoices. + public virtual RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(Uri invoicesUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(invoicesUri, nameof(invoicesUri)); + + recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); + + using DiagnosticScope scope = Diagnostics.CreateScope($"{nameof(FormRecognizerClient)}.{nameof(StartRecognizeInvoicesFromUri)}"); + scope.Start(); + + try + { + SourcePath sourcePath = new SourcePath() { Source = invoicesUri.AbsoluteUri }; + Response response = ServiceClient.AnalyzeInvoiceAsync(includeTextDetails: recognizeInvoicesOptions.IncludeFieldElements, locale: recognizeInvoicesOptions.Locale, fileStream: sourcePath, cancellationToken); + string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); + + return new RecognizeInvoicesOperation(ServiceClient, Diagnostics, location); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + #endregion + + #region Custom Forms /// diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/OperationExtensions.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/OperationExtensions.cs index 4bdf5132a15a..0ae8e8196037 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/OperationExtensions.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/OperationExtensions.cs @@ -40,6 +40,19 @@ public static async Task> WaitForCompletionAs return await o.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); } + /// + /// Periodically calls the server until the long-running operation completes. + /// + /// The instance that this method was invoked on. + /// A controlling the request lifetime. + /// A representing the result of the operation. It can be cast to a + /// containing the recognized business cards. + public static async Task> WaitForCompletionAsync(this Task operation, CancellationToken cancellationToken = default) + { + var o = await operation.ConfigureAwait(false); + return await o.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + /// /// Periodically calls the server until the long-running operation completes. /// diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs new file mode 100644 index 000000000000..ab4cd334658f --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs @@ -0,0 +1,216 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.AI.FormRecognizer.Models +{ + /// + /// Tracks the status of a long-running operation for recognizing values from business cards. + /// + public class RecognizeInvoicesOperation : Operation + { + /// Provides communication with the Form Recognizer Azure Cognitive Service through its REST API. + private readonly FormRecognizerRestClient _serviceClient; + + /// Provides tools for exception creation in case of failure. + private readonly ClientDiagnostics _diagnostics; + + private RequestFailedException _requestFailedException; + + /// The last HTTP response received from the server. null until the first response is received. + private Response _response; + + /// The result of the long-running operation. null until result is received on status update. + private RecognizedFormCollection _value; + + /// true if the long-running operation has completed. Otherwise, false. + private bool _hasCompleted; + + /// + /// Gets an ID representing the operation that can be used to poll for the status + /// of the long-running operation. + /// + public override string Id { get; } + + /// + /// Final result of the long-running operation. + /// + /// + /// This property can be accessed only after the operation completes successfully (HasValue is true). + /// + public override RecognizedFormCollection Value + { + get + { + if (HasCompleted && !HasValue) +#pragma warning disable CA1065 // Do not raise exceptions in unexpected locations + throw _requestFailedException; +#pragma warning restore CA1065 // Do not raise exceptions in unexpected locations + else + return OperationHelpers.GetValue(ref _value); + } + } + + /// + /// Returns true if the long-running operation completed. + /// + public override bool HasCompleted => _hasCompleted; + + /// + /// Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property). + /// + public override bool HasValue => _value != null; + + /// + /// The last HTTP response received from the server. + /// + /// + /// The last response returned from the server during the lifecycle of this instance. + /// An instance of sends requests to a server in UpdateStatusAsync, UpdateStatus, and other methods. + /// Responses from these requests can be accessed using GetRawResponse. + /// + public override Response GetRawResponse() => _response; + + /// + /// Initializes a new instance of the class. + /// + /// The ID of this operation. + /// The client used to check for completion. + public RecognizeInvoicesOperation(string operationId, FormRecognizerClient client) + { + // TODO: Add argument validation here. + + Id = operationId; + _serviceClient = client.ServiceClient; + _diagnostics = client.Diagnostics; + } + + /// + /// Initializes a new instance of the class. + /// + /// The client for communicating with the Form Recognizer Azure Cognitive Service through its REST API. + /// The client diagnostics for exception creation in case of failure. + /// The address of the long-running operation. It can be obtained from the response headers upon starting the operation. + internal RecognizeInvoicesOperation(FormRecognizerRestClient serviceClient, ClientDiagnostics diagnostics, string operationLocation) + { + _serviceClient = serviceClient; + _diagnostics = diagnostics; + + // TODO: Add validation here + // https://github.com/Azure/azure-sdk-for-net/issues/10385 + Id = operationLocation.Split('/').Last(); + } + + /// + /// Periodically calls the server till the long-running operation completes. + /// + /// A used for the periodical service calls. + /// The last HTTP response received from the server. + /// + /// This method will periodically call UpdateStatusAsync till HasCompleted is true, then return the final result of the operation. + /// + public override ValueTask> WaitForCompletionAsync(CancellationToken cancellationToken = default) => + this.DefaultWaitForCompletionAsync(cancellationToken); + + /// + /// Periodically calls the server till the long-running operation completes. + /// + /// + /// The interval between status requests to the server. + /// The interval can change based on information returned from the server. + /// For example, the server might communicate to the client that there is not reason to poll for status change sooner than some time. + /// + /// A used for the periodical service calls. + /// The last HTTP response received from the server. + /// + /// This method will periodically call UpdateStatusAsync till HasCompleted is true, then return the final result of the operation. + /// + public override ValueTask> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => + this.DefaultWaitForCompletionAsync(pollingInterval, cancellationToken); + + /// + /// Calls the server to get updated status of the long-running operation. + /// + /// A used for the service call. + /// The HTTP response received from the server. + /// + /// This operation will update the value returned from GetRawResponse and might update HasCompleted, HasValue, and Value. + /// + public override Response UpdateStatus(CancellationToken cancellationToken = default) => + UpdateStatusAsync(false, cancellationToken).EnsureCompleted(); + + /// + /// Calls the server to get updated status of the long-running operation. + /// + /// A used for the service call. + /// The HTTP response received from the server. + /// + /// This operation will update the value returned from GetRawResponse and might update HasCompleted, HasValue, and Value. + /// + public override async ValueTask UpdateStatusAsync(CancellationToken cancellationToken = default) => + await UpdateStatusAsync(true, cancellationToken).ConfigureAwait(false); + + /// + /// Calls the server to get updated status of the long-running operation. + /// + /// When true, the method will be executed asynchronously; otherwise, it will execute synchronously. + /// A used for the service call. + /// The HTTP response received from the server. + private async ValueTask UpdateStatusAsync(bool async, CancellationToken cancellationToken) + { + if (!_hasCompleted) + { + using DiagnosticScope scope = _diagnostics.CreateScope($"{nameof(RecognizeInvoicesOperation)}.{nameof(UpdateStatus)}"); + scope.Start(); + + try + { + Response update = async + ? await _serviceClient.GetAnalyzeInvoiceResultAsync(new Guid(Id), cancellationToken).ConfigureAwait(false) + : _serviceClient.GetAnalyzeInvoiceResult(new Guid(Id), cancellationToken); + + _response = update.GetRawResponse(); + + if (update.Value.Status == OperationStatus.Succeeded) + { + // We need to first assign a value and then mark the operation as completed to avoid a race condition with the getter in Value + _value = ConvertToRecognizedForms(update.Value.AnalyzeResult); + _hasCompleted = true; + } + else if (update.Value.Status == OperationStatus.Failed) + { + _requestFailedException = await ClientCommon + .CreateExceptionForFailedOperationAsync(async, _diagnostics, _response, update.Value.AnalyzeResult.Errors) + .ConfigureAwait(false); + _hasCompleted = true; + throw _requestFailedException; + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + return GetRawResponse(); + } + + private static RecognizedFormCollection ConvertToRecognizedForms(AnalyzeResult analyzeResult) + { + List invoices = new List(); + for (int i = 0; i < analyzeResult.DocumentResults.Count; i++) + { + invoices.Add(new RecognizedForm(analyzeResult.DocumentResults[i], analyzeResult.PageResults, analyzeResult.ReadResults, default)); + } + return new RecognizedFormCollection(invoices); + } + } +} diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOptions.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOptions.cs new file mode 100644 index 000000000000..b2691cf9da36 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOptions.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.AI.FormRecognizer +{ + /// + /// The set of options that can be specified when calling a recognize invoices method + /// to configure the behavior of the request. + /// + public class RecognizeInvoicesOptions + { + /// + /// Initializes a new instance of the class. + /// + public RecognizeInvoicesOptions() + { + } + + /// + /// Whether or not to include form elements such as lines and words in addition to form fields. + /// + public bool IncludeFieldElements { get; set; } = false; + + /// + /// When set, specifies the content type for uploaded streams and skips automatic + /// content type detection. + /// + public FormContentType? ContentType { get; set; } = null; + + /// + /// Locale value. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US. + /// + public string Locale { get; set; } + } +} diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs index 29cc581708f1..a772a4849ed1 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs @@ -1254,6 +1254,345 @@ public async Task StartRecognizeBusinessCardsCanParseMultipageForm(bool useStrea #endregion + #region StartRecognizeInvoices + + [Test] + [TestCase(true)] + [TestCase(false)] + public async Task StartRecognizeInvoicesPopulatesExtractedPdf(bool useStream) + { + var client = CreateFormRecognizerClient(); + RecognizeInvoicesOperation operation; + + if (useStream) + { + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoicePdf); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream); + } + } + else + { + var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.InvoicePdf); + operation = await client.StartRecognizeInvoicesFromUriAsync(uri); + } + + await operation.WaitForCompletionAsync(PollingInterval); + + Assert.IsTrue(operation.HasValue); + + var form = operation.Value.Single(); + + Assert.NotNull(form); + + // The expected values are based on the values returned by the service, and not the actual + // values present in the invoice. We are not testing the service here, but the SDK. + + Assert.AreEqual("prebuilt:invoice", form.FormType); + Assert.AreEqual(1, form.PageRange.FirstPageNumber); + Assert.AreEqual(1, form.PageRange.LastPageNumber); + + Assert.NotNull(form.Fields); + + Assert.True(form.Fields.ContainsKey("VendorName")); + Assert.True(form.Fields.ContainsKey("CustomerAddressRecipient")); + Assert.True(form.Fields.ContainsKey("VendorAddress")); + Assert.True(form.Fields.ContainsKey("CustomerAddress")); + Assert.True(form.Fields.ContainsKey("InvoiceId")); + Assert.True(form.Fields.ContainsKey("InvoiceDate")); + Assert.True(form.Fields.ContainsKey("DueDate")); + Assert.True(form.Fields.ContainsKey("InvoiceTotal")); + Assert.True(form.Fields.ContainsKey("CustomerName")); + + Assert.AreEqual("Contoso", form.Fields["VendorName"].Value.AsString()); + Assert.AreEqual("Microsoft", form.Fields["CustomerAddressRecipient"].Value.AsString()); + Assert.AreEqual("1 Redmond way Suite 6000 Redmond, WA 99243", form.Fields["VendorAddress"].Value.AsString()); + Assert.AreEqual("1020 Enterprise Way Sunnayvale, CA 87659", form.Fields["CustomerAddress"].Value.AsString()); + Assert.AreEqual("Microsoft", form.Fields["CustomerName"].Value.AsString()); + + Assert.That(form.Fields["InvoiceTotal"].Value.AsFloat(), Is.EqualTo(56651.49f).Within(0.0001)); + + var invoiceDate = form.Fields["InvoiceDate"].Value.AsDate(); + Assert.AreEqual(18, invoiceDate.Day); + Assert.AreEqual(6, invoiceDate.Month); + Assert.AreEqual(2017, invoiceDate.Year); + + var dueDate = form.Fields["DueDate"].Value.AsDate(); + Assert.AreEqual(24, dueDate.Day); + Assert.AreEqual(6, dueDate.Month); + Assert.AreEqual(2017, dueDate.Year); + } + + [Test] + [TestCase(true)] + [TestCase(false)] + public async Task StartRecognizeInvoicesPopulatesExtractedTiff(bool useStream) + { + var client = CreateFormRecognizerClient(); + RecognizeInvoicesOperation operation; + + if (useStream) + { + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream); + } + } + else + { + var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.InvoiceLeTiff); + operation = await client.StartRecognizeInvoicesFromUriAsync(uri); + } + + await operation.WaitForCompletionAsync(PollingInterval); + + Assert.IsTrue(operation.HasValue); + + var form = operation.Value.Single(); + + Assert.NotNull(form); + + ValidatePrebuiltForm( + form, + includeFieldElements: false, + expectedFirstPageNumber: 1, + expectedLastPageNumber: 1); + + // The expected values are based on the values returned by the service, and not the actual + // values present in the invoice. We are not testing the service here, but the SDK. + + Assert.AreEqual("prebuilt:invoice", form.FormType); + Assert.AreEqual(1, form.PageRange.FirstPageNumber); + Assert.AreEqual(1, form.PageRange.LastPageNumber); + + Assert.NotNull(form.Fields); + + Assert.True(form.Fields.ContainsKey("VendorName")); + Assert.True(form.Fields.ContainsKey("CustomerAddressRecipient")); + Assert.True(form.Fields.ContainsKey("VendorAddress")); + Assert.True(form.Fields.ContainsKey("CustomerAddress")); + Assert.True(form.Fields.ContainsKey("InvoiceId")); + Assert.True(form.Fields.ContainsKey("InvoiceDate")); + Assert.True(form.Fields.ContainsKey("DueDate")); + Assert.True(form.Fields.ContainsKey("InvoiceTotal")); + Assert.True(form.Fields.ContainsKey("CustomerName")); + + Assert.AreEqual("Contoso", form.Fields["VendorName"].Value.AsString()); + Assert.AreEqual("Microsoft", form.Fields["CustomerAddressRecipient"].Value.AsString()); + Assert.AreEqual("1 Redmond way Suite 6000 Redmond, WA 99243", form.Fields["VendorAddress"].Value.AsString()); + Assert.AreEqual("1020 Enterprise Way Sunnayvale, CA 87659", form.Fields["CustomerAddress"].Value.AsString()); + Assert.AreEqual("Microsoft", form.Fields["CustomerName"].Value.AsString()); + + Assert.That(form.Fields["InvoiceTotal"].Value.AsFloat(), Is.EqualTo(56651.49f).Within(0.0001)); + + var invoiceDate = form.Fields["InvoiceDate"].Value.AsDate(); + Assert.AreEqual(18, invoiceDate.Day); + Assert.AreEqual(6, invoiceDate.Month); + Assert.AreEqual(2017, invoiceDate.Year); + + var dueDate = form.Fields["DueDate"].Value.AsDate(); + Assert.AreEqual(24, dueDate.Day); + Assert.AreEqual(6, dueDate.Month); + Assert.AreEqual(2017, dueDate.Year); + } + + [Test] + public async Task StartRecognizeInvoicesIncludeFieldElements() + { + var client = CreateFormRecognizerClient(); + var options = new RecognizeInvoicesOptions() { IncludeFieldElements = true }; + RecognizeInvoicesOperation operation; + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream, options); + } + + RecognizedFormCollection recognizedForms = await operation.WaitForCompletionAsync(PollingInterval); + + var invoicesform = recognizedForms.Single(); + + ValidatePrebuiltForm( + invoicesform, + includeFieldElements: true, + expectedFirstPageNumber: 1, + expectedLastPageNumber: 1); + } + + [Test] + public async Task StartRecognizeInvoicesCanParseBlankPage() + { + var client = CreateFormRecognizerClient(); + RecognizeInvoicesOperation operation; + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.Blank); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream); + } + + RecognizedFormCollection recognizedForms = await operation.WaitForCompletionAsync(PollingInterval); + + var blankForm = recognizedForms.Single(); + + ValidatePrebuiltForm( + blankForm, + includeFieldElements: false, + expectedFirstPageNumber: 1, + expectedLastPageNumber: 1); + + Assert.AreEqual(0, blankForm.Fields.Count); + + var blankPage = blankForm.Pages.Single(); + + Assert.AreEqual(0, blankPage.Lines.Count); + Assert.AreEqual(0, blankPage.Tables.Count); + Assert.AreEqual(0, blankPage.SelectionMarks.Count); + } + + [Test] + [TestCase(true)] + [TestCase(false)] + public async Task StartRecognizeInvoicesCanParseMultipageForm(bool useStream) + { + var client = CreateFormRecognizerClient(); + var options = new RecognizeInvoicesOptions() { IncludeFieldElements = true }; + RecognizeInvoicesOperation operation; + + if (useStream) + { + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceMultipage); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream, options); + } + } + else + { + var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.InvoiceMultipage); + operation = await client.StartRecognizeInvoicesFromUriAsync(uri, options); + } + + RecognizedFormCollection recognizedForms = await operation.WaitForCompletionAsync(PollingInterval); + + var form = recognizedForms.Single(); + + Assert.NotNull(form); + + // The expected values are based on the values returned by the service, and not the actual + // values present in the invoice. We are not testing the service here, but the SDK. + + Assert.AreEqual("prebuilt:invoice", form.FormType); + Assert.AreEqual(1, form.PageRange.FirstPageNumber); + Assert.AreEqual(2, form.PageRange.LastPageNumber); + + Assert.NotNull(form.Fields); + + Assert.True(form.Fields.ContainsKey("VendorName")); + Assert.True(form.Fields.ContainsKey("RemittanceAddressRecipient")); + Assert.True(form.Fields.ContainsKey("RemittanceAddress")); + + FormField vendorName = form.Fields["VendorName"]; + Assert.AreEqual(2, vendorName.ValueData.PageNumber); + Assert.AreEqual("Southridge Video", vendorName.Value.AsString()); + + FormField addressRecepient = form.Fields["RemittanceAddressRecipient"]; + Assert.AreEqual(1, addressRecepient.ValueData.PageNumber); + Assert.AreEqual("Contoso Ltd.", addressRecepient.Value.AsString()); + + FormField address = form.Fields["RemittanceAddress"]; + Assert.AreEqual(1, address.ValueData.PageNumber); + Assert.AreEqual("2345 Dogwood Lane Birch, Kansas 98123", address.Value.AsString()); + + // Disabled until issue is fixed: https://app.zenhub.com/workspaces/azure-sdk-team-5bdca72c4b5806bc2bf0aab2/issues/azure/azure-sdk-for-net/16514 + //ValidatePrebuiltForm( + // form, + // includeFieldElements: false, + // expectedFirstPageNumber: 1, + // expectedLastPageNumber: 2); + } + + [Test] + public void StartRecognizeInvoicesThrowsForDamagedFile() + { + var client = CreateFormRecognizerClient(); + + // First 4 bytes are PDF signature, but fill the rest of the "file" with garbage. + + var damagedFile = new byte[] { 0x25, 0x50, 0x44, 0x46, 0x55, 0x55, 0x55 }; + using var stream = new MemoryStream(damagedFile); + + RequestFailedException ex = Assert.ThrowsAsync(async () => await client.StartRecognizeInvoicesAsync(stream)); + Assert.AreEqual("BadArgument", ex.ErrorCode); + } + + /// + /// Verifies that the is able to connect to the Form + /// Recognizer cognitive service and handle returned errors. + /// + [Test] + public void StartRecognizeInvoicesFromUriThrowsForNonExistingContent() + { + var client = CreateFormRecognizerClient(); + var invalidUri = new Uri("https://idont.ex.ist"); + + RequestFailedException ex = Assert.ThrowsAsync(async () => await client.StartRecognizeInvoicesFromUriAsync(invalidUri)); + Assert.AreEqual("FailedToDownloadImage", ex.ErrorCode); + } + + [Test] + [TestCase("en-US")] + [TestCase("")] + public async Task StartRecognizeInvoicesWithSupportedLocale(string locale) + { + var client = CreateFormRecognizerClient(); + var options = new RecognizeInvoicesOptions() + { + IncludeFieldElements = true, + Locale = locale + }; + RecognizeInvoicesOperation operation; + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + using (Recording.DisableRequestBodyRecording()) + { + operation = await client.StartRecognizeInvoicesAsync(stream, options); + } + + RecognizedFormCollection recognizedForms = await operation.WaitForCompletionAsync(PollingInterval); + + var invoice = recognizedForms.Single(); + + ValidatePrebuiltForm( + invoice, + includeFieldElements: true, + expectedFirstPageNumber: 1, + expectedLastPageNumber: 1); + + Assert.Greater(invoice.Fields.Count, 0); + + var receiptPage = invoice.Pages.Single(); + + Assert.Greater(receiptPage.Lines.Count, 0); + Assert.AreEqual(0, receiptPage.SelectionMarks.Count); + Assert.AreEqual(1, receiptPage.Tables.Count); + } + + [Test] + public void StartRecognizeInvoicesWithWrongLocale() + { + var client = CreateFormRecognizerClient(); + + var receiptUri = FormRecognizerTestEnvironment.CreateUri(TestFile.ReceiptJpg); + RequestFailedException ex = Assert.ThrowsAsync(async () => await client.StartRecognizeInvoicesFromUriAsync(receiptUri, new RecognizeInvoicesOptions() { Locale = "not-locale" })); + Assert.AreEqual("UnsupportedLocale", ex.ErrorCode); + } + + #endregion + #region StartRecognizeCustomForms /// diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientMockTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientMockTests.cs index 662d151fd85c..d6234eb50b8f 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientMockTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientMockTests.cs @@ -300,6 +300,99 @@ public async Task StartRecognizeBusinessCardsSendsUserSpecifiedLocale(string loc #endregion + #region Recognize Invoices + [Test] + public async Task StartRecognizesInvoicesSendsUserSpecifiedContentType() + { + var mockResponse = new MockResponse(202); + mockResponse.AddHeader(new HttpHeader(Constants.OperationLocationHeader, "host/prebuilt/invoice/analyzeResults/00000000000000000000000000000000")); + + var mockTransport = new MockTransport(new[] { mockResponse, mockResponse }); + var options = new FormRecognizerClientOptions() { Transport = mockTransport }; + var client = CreateInstrumentedClient(options); + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + var recognizeOptions = new RecognizeInvoicesOptions { ContentType = FormContentType.Jpeg }; + await client.StartRecognizeInvoicesAsync(stream, recognizeOptions); + + var request = mockTransport.Requests.Single(); + + Assert.True(request.Headers.TryGetValue("Content-Type", out var contentType)); + Assert.AreEqual("image/jpeg", contentType); + } + + [Test] + public async Task StartRecognizeInvoicesSendsAutoDetectedContentType() + { + var mockResponse = new MockResponse(202); + mockResponse.AddHeader(new HttpHeader(Constants.OperationLocationHeader, "host/prebuilt/invoice/analyzeResults/00000000000000000000000000000000")); + + var mockTransport = new MockTransport(new[] { mockResponse, mockResponse }); + var options = new FormRecognizerClientOptions() { Transport = mockTransport }; + var client = CreateInstrumentedClient(options); + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + await client.StartRecognizeInvoicesAsync(stream); + + var request = mockTransport.Requests.Single(); + + Assert.True(request.Headers.TryGetValue("Content-Type", out var contentType)); + Assert.AreEqual("image/tiff", contentType); + } + + [Test] + public async Task StartRecognizeInvoicesFromUriEncodesBlankSpaces() + { + var mockResponse = new MockResponse(202); + mockResponse.AddHeader(new HttpHeader(Constants.OperationLocationHeader, "host/prebuilt/invoice/analyzeResults/00000000000000000000000000000000")); + + var mockTransport = new MockTransport(new[] { mockResponse, mockResponse }); + var options = new FormRecognizerClientOptions() { Transport = mockTransport }; + var client = CreateInstrumentedClient(options); + + var encodedUriString = "https://fakeuri.com/blank%20space"; + var decodedUriString = "https://fakeuri.com/blank space"; + + await client.StartRecognizeInvoicesFromUriAsync(new Uri(encodedUriString)); + await client.StartRecognizeInvoicesFromUriAsync(new Uri(decodedUriString)); + + Assert.AreEqual(2, mockTransport.Requests.Count); + + foreach (var request in mockTransport.Requests) + { + var requestBody = GetString(request.Content); + + Assert.True(requestBody.Contains(encodedUriString)); + Assert.False(requestBody.Contains(decodedUriString)); + } + } + + [Test] + [TestCase("")] + [TestCase("en-US")] + public async Task StartRecognizeInvoicesSendsUserSpecifiedLocale(string locale) + { + var mockResponse = new MockResponse(202); + mockResponse.AddHeader(new HttpHeader(Constants.OperationLocationHeader, "host/prebuilt/invoice/analyzeResults/00000000000000000000000000000000")); + + var mockTransport = new MockTransport(new[] { mockResponse, mockResponse }); + var options = new FormRecognizerClientOptions() { Transport = mockTransport }; + var client = CreateInstrumentedClient(options); + + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceLeTiff); + var recognizeOptions = new RecognizeInvoicesOptions { Locale = locale }; + await client.StartRecognizeInvoicesAsync(stream, recognizeOptions); + + var requestUriQuery = mockTransport.Requests.Single().Uri.Query; + + var localeQuery = "locale="; + var index = requestUriQuery.IndexOf(localeQuery); + var length = requestUriQuery.Length - (index + localeQuery.Length); + Assert.AreEqual(locale, requestUriQuery.Substring(index + localeQuery.Length, length)); + } + + #endregion + #region Recognize Custom Forms [Test] diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs index c66e9632c5d0..79b68aa85b32 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs @@ -281,6 +281,49 @@ public void StartRecognizeBusinessCardsFromUriRespectsTheCancellationToken() #endregion + #region Recognize Invoices + + [Test] + public void StartRecognizeInvoicesRequiresTheFileStream() + { + var client = CreateInstrumentedClient(); + Assert.ThrowsAsync(async () => await client.StartRecognizeInvoicesAsync(null)); + } + + [Test] + public void StartRecognizeInvoicesRespectsTheCancellationToken() + { + var client = CreateInstrumentedClient(); + var options = new RecognizeInvoicesOptions { ContentType = FormContentType.Pdf }; + + using var stream = new MemoryStream(Array.Empty()); + using var cancellationSource = new CancellationTokenSource(); + cancellationSource.Cancel(); + + Assert.ThrowsAsync(Is.InstanceOf(), async () => await client.StartRecognizeInvoicesAsync(stream, recognizeInvoicesOptions: options, cancellationToken: cancellationSource.Token)); + } + + [Test] + public void StartRecognizeInvoicesFromUriRequiresTheFileUri() + { + var client = CreateInstrumentedClient(); + Assert.ThrowsAsync(async () => await client.StartRecognizeInvoicesFromUriAsync(null)); + } + + [Test] + public void StartRecognizeInvoicesFromUriRespectsTheCancellationToken() + { + var client = CreateInstrumentedClient(); + var fakeUri = new Uri("http://localhost"); + + using var cancellationSource = new CancellationTokenSource(); + cancellationSource.Cancel(); + + Assert.ThrowsAsync(Is.InstanceOf(), async () => await client.StartRecognizeInvoicesFromUriAsync(fakeUri, cancellationToken: cancellationSource.Token)); + } + + #endregion + #region Recognize Custom Forms /// diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Models/OperationsLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Models/OperationsLiveTests.cs index 5c3d41b821cc..e843a18d32db 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Models/OperationsLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Models/OperationsLiveTests.cs @@ -64,6 +64,24 @@ public async Task RecognizeReceiptsOperationCanPollFromNewObject() Assert.AreEqual(1, sameOperation.Value.Count); } + [Test] + public async Task RecognizeInoicesOperationCanPollFromNewObject() + { + // Skip instrumenting here because the internal service client passed to the operation object would be made null otherwise, + // making the test fail. + + var client = CreateFormRecognizerClient(skipInstrumenting: true); + + var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.Blank); + var operation = await client.StartRecognizeInvoicesFromUriAsync(uri); + + var sameOperation = new RecognizeInvoicesOperation(operation.Id, client); + await sameOperation.WaitForCompletionAsync(PollingInterval); + + Assert.IsTrue(sameOperation.HasValue); + Assert.AreEqual(1, sameOperation.Value.Count); + } + [Test] public async Task RecognizeCustomFormsOperationCanPollFromNewObject() { diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPage.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPage.json new file mode 100644 index 000000000000..457acb3d2268 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPage.json @@ -0,0 +1,275 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "25662", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-dd56e906db0bfb4da3223bfc9010dcfb-704b9a98c6b26847-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "eff9e3c9b01ae618222943dd9ceba30f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4b67ba48-5b8c-4556-aac5-856beeb92908", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:36:56 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fe8ceb7ce1291c9d97620b61e226cbdf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a509ecbd-df73-4613-a5c7-093175ef7b94", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:36:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7a6a56a51f65927bd4865ea2e1ec4bd1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "edea4f84-54f2-4e4e-900f-8a4ebf6aed5c", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:36:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c4bf270c621ee72345dc57b8a4b603fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a9836345-bfe8-4980-aba0-ccef3e8b87a2", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:36:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4638635d29815ca96ffa29a282fb3aab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8f732a78-8297-400b-9ab4-7e4b72dcf306", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ba553916076643c132823488c7c3ed1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d307559-23eb-4856-8105-b312b2df2692", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7e44618305b3e24f7e6254233880654a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "96884367-1056-4f97-8812-dd8694fdd4ea", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:36:57Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4b67ba48-5b8c-4556-aac5-856beeb92908", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6aa1aca149615595a1f513fff52094ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73f0b463-f6b2-4016-b823-7527d97b32e2", + "Content-Length": "327", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:36:57Z", + "lastUpdatedDateTime": "2020-11-02T21:37:02Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1 + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": {} + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "161034418" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPageAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPageAsync.json new file mode 100644 index 000000000000..926a7bd569fd --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseBlankPageAsync.json @@ -0,0 +1,245 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "25662", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-4e110369ed191e45880ff3bd512d10d4-a32af9743baf9d49-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "654d24305e0253b2c332843502e975d5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d5ad1d43-6017-4dd5-96c8-8159907ae699", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:57 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "754eb6e471d9bce0aa1bdb6192741e73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "59638680-9fd4-4a86-847f-37bca392e68b", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:37:58Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9b3f29e8cc6ace7e697c5e14fb378d26", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "98f45d1a-b39a-4c2b-832f-8ab03a0afe99", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:37:58Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f9b82edfc3a0be854391bbe78351c14e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "485c0ed9-aa4e-4329-829b-9a2b306be7d9", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:37:58Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d94d1013daa9186a37800b5c13ccc072", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "78236af0-8dba-4d0d-b76b-242aeccffdb3", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:37:58Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6381b48d25bb25d3a48057d911974a18", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f71d3431-2aca-4162-ad74-a23c1a024a35", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:37:58Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/d5ad1d43-6017-4dd5-96c8-8159907ae699", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ea000fbbb4ea057cc3a0c11fb728aa76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d5c29c06-b3f0-4511-95bb-3081b5a3ecd7", + "Content-Length": "327", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:58Z", + "lastUpdatedDateTime": "2020-11-02T21:38:03Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1 + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": {} + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1159890126" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False).json new file mode 100644 index 000000000000..9ca864b44ad9 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False).json @@ -0,0 +1,161 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "Request-Id": "00-451307eaed65094e855f50b2eae04215-afc0b5bc75a3a545-00", + "traceparent": "00-451307eaed65094e855f50b2eae04215-afc0b5bc75a3a545-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0f4e3be601d75c21348a7289dd5782ad", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 22:28:49 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "624" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "Request-Id": "|5c57472-449ae981e984793d.", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "476c2113060076f8a5657f65c8237e36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f53d80f8-dfbc-4fc2-9c9d-5df89f75ff18", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:28:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T22:28:49Z", + "lastUpdatedDateTime": "2020-11-02T22:28:49Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "Request-Id": "|5c57473-449ae981e984793d.", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1dada8b7b83e5a28c35eba094430b4ba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1c5bdbdb-1803-48db-a244-9f7f8006d12b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:28:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:28:49Z", + "lastUpdatedDateTime": "2020-11-02T22:28:49Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "Request-Id": "|5c57474-449ae981e984793d.", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "38e0f78959cee0ca42d76a7281bb9411", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3ea9504f-251e-43ab-a82c-1357c6ec329f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:28:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:28:49Z", + "lastUpdatedDateTime": "2020-11-02T22:28:49Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6c786e1d-e3a2-4224-bc2c-ceee62f66840", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "Request-Id": "|5c57475-449ae981e984793d.", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "35d23b0c64aa5a6ff81284a14bef3175", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e1641bd4-0827-496c-8737-ec8dee8b2c3c", + "Content-Length": "37110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:28:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222020-11-02T22:28:49Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222020-11-02T22:28:57Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022pageResults\u0022:[{\u0022page\u0022:1,\u0022tables\u0022:[{\u0022rows\u0022:13,\u0022columns\u0022:4,\u0022cells\u0022:[{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[0.9975,4.6436,2.6168,4.6436,2.6168,4.8578,0.9975,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/10/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.6168,4.6436,5.7422,4.6436,5.7422,4.8578,2.6168,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/11/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.7422,4.6436,7.4882,4.6436,7.4882,4.8513,5.7422,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/12/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,4.8578,2.6168,4.8578,2.6168,5.0849,0.9975,5.0914],\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,4.8578,3.15,4.8578,3.15,5.0849,2.6168,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/14/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.15,4.8578,5.7422,4.8578,5.7422,5.0849,3.15,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/15/words/0\u0022,\u0022#/readResults/0/lines/15/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.7422,4.8578,7.4882,4.8513,7.4882,5.0849,5.7422,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:3,\u0022boundingBox\u0022:[0.9975,5.0914,2.6168,5.0849,2.6168,5.9222,0.9975,5.9222]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.0849,3.15,5.0849,3.15,5.5198,2.6168,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/17/words/0\u0022,\u0022#/readResults/0/lines/19/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Pre-keynote thank you Logo on poster\u0022,\u0022boundingBox\u0022:[3.15,5.0849,5.7422,5.0849,5.7489,5.5133,3.15,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/18/words/0\u0022,\u0022#/readResults/0/lines/18/words/1\u0022,\u0022#/readResults/0/lines/18/words/2\u0022,\u0022#/readResults/0/lines/20/words/0\u0022,\u0022#/readResults/0/lines/20/words/1\u0022,\u0022#/readResults/0/lines/20/words/2\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7422,5.0849,7.4882,5.0849,7.4882,5.5198,5.7489,5.5133]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full page ad in program guide\u0022,\u0022boundingBox\u0022:[2.6168,5.5198,5.7489,5.5133,5.7489,5.7404,2.6168,5.7534],\u0022elements\u0022:[\u0022#/readResults/0/lines/21/words/0\u0022,\u0022#/readResults/0/lines/22/words/0\u0022,\u0022#/readResults/0/lines/22/words/1\u0022,\u0022#/readResults/0/lines/22/words/2\u0022,\u0022#/readResults/0/lines/22/words/3\u0022,\u0022#/readResults/0/lines/22/words/4\u0022,\u0022#/readResults/0/lines/22/words/5\u0022]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.5133,7.4882,5.5198,7.4882,5.7469,5.7489,5.7404]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.7534,5.7489,5.7404,5.7489,5.9222,2.6168,5.9222],\u0022elements\u0022:[\u0022#/readResults/0/lines/23/words/0\u0022]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.7404,7.4882,5.7469,7.4948,5.9222,5.7489,5.9222]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,5.9222,2.6168,5.9222,2.6168,6.7853,0.9975,6.7788],\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 \uF0B7 \uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.9222,3.15,5.9222,3.15,6.7853,2.6168,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/25/words/0\u0022,\u0022#/readResults/0/lines/28/words/0\u0022,\u0022#/readResults/0/lines/30/words/0\u0022,\u0022#/readResults/0/lines/32/words/0\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Post-keynote thank you Logo on poster Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.15,5.9222,5.7489,5.9222,5.7489,6.7853,3.15,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/26/words/0\u0022,\u0022#/readResults/0/lines/26/words/1\u0022,\u0022#/readResults/0/lines/29/words/0\u0022,\u0022#/readResults/0/lines/29/words/1\u0022,\u0022#/readResults/0/lines/29/words/2\u0022,\u0022#/readResults/0/lines/31/words/0\u0022,\u0022#/readResults/0/lines/31/words/1\u0022,\u0022#/readResults/0/lines/31/words/2\u0022,\u0022#/readResults/0/lines/33/words/0\u0022,\u0022#/readResults/0/lines/33/words/1\u0022,\u0022#/readResults/0/lines/33/words/2\u0022,\u0022#/readResults/0/lines/33/words/3\u0022,\u0022#/readResults/0/lines/33/words/4\u0022,\u0022#/readResults/0/lines/33/words/5\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.7489,5.9222,7.4948,5.9222,7.4948,6.7788,5.7489,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,6.7788,2.6168,6.7853,2.6168,7.6355,0.9975,7.629],\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,6.7853,3.15,6.7853,3.15,7.019,2.6168,7.019],\u0022elements\u0022:[\u0022#/readResults/0/lines/35/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Logo on poster 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[3.15,6.7853,5.7489,6.7853,5.7489,7.6355,3.1433,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/36/words/0\u0022,\u0022#/readResults/0/lines/36/words/1\u0022,\u0022#/readResults/0/lines/39/words/0\u0022,\u0022#/readResults/0/lines/39/words/1\u0022,\u0022#/readResults/0/lines/39/words/2\u0022,\u0022#/readResults/0/lines/41/words/0\u0022,\u0022#/readResults/0/lines/41/words/1\u0022,\u0022#/readResults/0/lines/41/words/2\u0022,\u0022#/readResults/0/lines/41/words/3\u0022,\u0022#/readResults/0/lines/41/words/4\u0022,\u0022#/readResults/0/lines/42/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.7489,6.7853,7.4948,6.7788,7.4948,7.6355,5.7489,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]},{\u0022rowIndex\u0022:8,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,7.019,3.15,7.019,3.1433,7.6355,2.6168,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/38/words/0\u0022,\u0022#/readResults/0/lines/40/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[0.9975,7.629,2.6168,7.6355,2.6102,8.2651,0.9975,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6168,7.6355,5.7489,7.6355,5.7489,8.2651,2.6102,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/44/words/0\u0022,\u0022#/readResults/0/lines/45/words/0\u0022,\u0022#/readResults/0/lines/45/words/1\u0022,\u0022#/readResults/0/lines/47/words/0\u0022,\u0022#/readResults/0/lines/48/words/0\u0022,\u0022#/readResults/0/lines/48/words/1\u0022,\u0022#/readResults/0/lines/48/words/2\u0022,\u0022#/readResults/0/lines/48/words/3\u0022,\u0022#/readResults/0/lines/48/words/4\u0022,\u0022#/readResults/0/lines/49/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.7489,7.6355,7.4948,7.6355,7.4948,8.2651,5.7489,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[0.9975,8.2651,2.6102,8.2651,2.6102,8.9011,0.9975,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 25% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6102,8.2651,5.7489,8.2651,5.7489,8.9011,2.6102,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/51/words/0\u0022,\u0022#/readResults/0/lines/52/words/0\u0022,\u0022#/readResults/0/lines/52/words/1\u0022,\u0022#/readResults/0/lines/54/words/0\u0022,\u0022#/readResults/0/lines/55/words/0\u0022,\u0022#/readResults/0/lines/55/words/1\u0022,\u0022#/readResults/0/lines/55/words/2\u0022,\u0022#/readResults/0/lines/55/words/3\u0022,\u0022#/readResults/0/lines/55/words/4\u0022,\u0022#/readResults/0/lines/56/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.7489,8.2651,7.4948,8.2651,7.4948,8.9011,5.7489,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}],\u0022boundingBox\u0022:[0.994,4.6469,7.4953,4.6454,7.4964,8.9061,0.9936,8.9066]}]},{\u0022page\u0022:2}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:invoice\u0022,\u0022pageRange\u0022:[1,2],\u0022fields\u0022:{\u0022VendorName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Southridge Video\u0022,\u0022text\u0022:\u0022Southridge Video\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,3.3477,2.7686,3.3477,2.9128,2.1925,2.9128],\u0022page\u0022:2,\u0022confidence\u0022:0.969,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/2\u0022,\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022RemittanceAddressRecipient\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022page\u0022:1,\u0022confidence\u0022:0.954,\u0022elements\u0022:[\u0022#/readResults/0/lines/6/words/0\u0022,\u0022#/readResults/0/lines/6/words/1\u0022]},\u0022RemittanceAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022text\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,4.1518,1.0093,4.1518],\u0022page\u0022:1,\u0022confidence\u0022:0.952,\u0022elements\u0022:[\u0022#/readResults/0/lines/7/words/0\u0022,\u0022#/readResults/0/lines/7/words/1\u0022,\u0022#/readResults/0/lines/7/words/2\u0022,\u0022#/readResults/0/lines/8/words/0\u0022,\u0022#/readResults/0/lines/8/words/1\u0022,\u0022#/readResults/0/lines/8/words/2\u0022]}}}]}}" + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "834105274" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False)Async.json new file mode 100644 index 000000000000..331f3f9999af --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(False)Async.json @@ -0,0 +1,276 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-c7402b54092fca409bfefe54c8cb3de6-3cded93e585be24c-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d00caf68d51f635e494eddfa7830b79a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 22:26:59 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "785" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "92f1d9c19d2e6a267a4307a1f5d3e6cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3a13718e-7567-4b9b-bca9-f033e640b014", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c60ef366f2cfb7c8179e3b0550667e8b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "efceee0d-1324-4a5e-a445-bee46c145bbb", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "acab5dd965e1cab589a255dccebc6d75", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "515558db-4500-48e1-9171-492ec8e8a18f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "85931167f021cfca11397b9062201a13", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "255c090f-438e-48a2-9a71-dbc4dfcd3585", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "98c87bc43a2701eb3e443c2d9cece95a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d1496e40-529b-4666-9e67-4991212fa521", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3f9dc530f9d3e86a93dc9ba7e9256868", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5302c5de-482c-42dc-8ca2-7a537ccb7d97", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "53174287d4f32d4d259246ddb49d3225", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "83fad683-e0da-4101-94a0-48c4740f6d6b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1034" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:27:00Z", + "lastUpdatedDateTime": "2020-11-02T22:27:00Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/cb99253a-e6a9-40e0-bf22-6a4888a3f60a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9c5f2050da82cb4011df054b9e431719", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e72ffadf-7e4c-4927-a6ff-90b3890d01d4", + "Content-Length": "37110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:27:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222020-11-02T22:27:00Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222020-11-02T22:27:07Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022pageResults\u0022:[{\u0022page\u0022:1,\u0022tables\u0022:[{\u0022rows\u0022:13,\u0022columns\u0022:4,\u0022cells\u0022:[{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[0.9975,4.6436,2.6168,4.6436,2.6168,4.8578,0.9975,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/10/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.6168,4.6436,5.7422,4.6436,5.7422,4.8578,2.6168,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/11/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.7422,4.6436,7.4882,4.6436,7.4882,4.8513,5.7422,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/12/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,4.8578,2.6168,4.8578,2.6168,5.0849,0.9975,5.0914],\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,4.8578,3.15,4.8578,3.15,5.0849,2.6168,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/14/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.15,4.8578,5.7422,4.8578,5.7422,5.0849,3.15,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/15/words/0\u0022,\u0022#/readResults/0/lines/15/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.7422,4.8578,7.4882,4.8513,7.4882,5.0849,5.7422,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:3,\u0022boundingBox\u0022:[0.9975,5.0914,2.6168,5.0849,2.6168,5.9222,0.9975,5.9222]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.0849,3.15,5.0849,3.15,5.5198,2.6168,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/17/words/0\u0022,\u0022#/readResults/0/lines/19/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Pre-keynote thank you Logo on poster\u0022,\u0022boundingBox\u0022:[3.15,5.0849,5.7422,5.0849,5.7489,5.5133,3.15,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/18/words/0\u0022,\u0022#/readResults/0/lines/18/words/1\u0022,\u0022#/readResults/0/lines/18/words/2\u0022,\u0022#/readResults/0/lines/20/words/0\u0022,\u0022#/readResults/0/lines/20/words/1\u0022,\u0022#/readResults/0/lines/20/words/2\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7422,5.0849,7.4882,5.0849,7.4882,5.5198,5.7489,5.5133]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full page ad in program guide\u0022,\u0022boundingBox\u0022:[2.6168,5.5198,5.7489,5.5133,5.7489,5.7404,2.6168,5.7534],\u0022elements\u0022:[\u0022#/readResults/0/lines/21/words/0\u0022,\u0022#/readResults/0/lines/22/words/0\u0022,\u0022#/readResults/0/lines/22/words/1\u0022,\u0022#/readResults/0/lines/22/words/2\u0022,\u0022#/readResults/0/lines/22/words/3\u0022,\u0022#/readResults/0/lines/22/words/4\u0022,\u0022#/readResults/0/lines/22/words/5\u0022]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.5133,7.4882,5.5198,7.4882,5.7469,5.7489,5.7404]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.7534,5.7489,5.7404,5.7489,5.9222,2.6168,5.9222],\u0022elements\u0022:[\u0022#/readResults/0/lines/23/words/0\u0022]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.7404,7.4882,5.7469,7.4948,5.9222,5.7489,5.9222]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,5.9222,2.6168,5.9222,2.6168,6.7853,0.9975,6.7788],\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 \uF0B7 \uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.9222,3.15,5.9222,3.15,6.7853,2.6168,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/25/words/0\u0022,\u0022#/readResults/0/lines/28/words/0\u0022,\u0022#/readResults/0/lines/30/words/0\u0022,\u0022#/readResults/0/lines/32/words/0\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Post-keynote thank you Logo on poster Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.15,5.9222,5.7489,5.9222,5.7489,6.7853,3.15,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/26/words/0\u0022,\u0022#/readResults/0/lines/26/words/1\u0022,\u0022#/readResults/0/lines/29/words/0\u0022,\u0022#/readResults/0/lines/29/words/1\u0022,\u0022#/readResults/0/lines/29/words/2\u0022,\u0022#/readResults/0/lines/31/words/0\u0022,\u0022#/readResults/0/lines/31/words/1\u0022,\u0022#/readResults/0/lines/31/words/2\u0022,\u0022#/readResults/0/lines/33/words/0\u0022,\u0022#/readResults/0/lines/33/words/1\u0022,\u0022#/readResults/0/lines/33/words/2\u0022,\u0022#/readResults/0/lines/33/words/3\u0022,\u0022#/readResults/0/lines/33/words/4\u0022,\u0022#/readResults/0/lines/33/words/5\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.7489,5.9222,7.4948,5.9222,7.4948,6.7788,5.7489,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,6.7788,2.6168,6.7853,2.6168,7.6355,0.9975,7.629],\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,6.7853,3.15,6.7853,3.15,7.019,2.6168,7.019],\u0022elements\u0022:[\u0022#/readResults/0/lines/35/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Logo on poster 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[3.15,6.7853,5.7489,6.7853,5.7489,7.6355,3.1433,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/36/words/0\u0022,\u0022#/readResults/0/lines/36/words/1\u0022,\u0022#/readResults/0/lines/39/words/0\u0022,\u0022#/readResults/0/lines/39/words/1\u0022,\u0022#/readResults/0/lines/39/words/2\u0022,\u0022#/readResults/0/lines/41/words/0\u0022,\u0022#/readResults/0/lines/41/words/1\u0022,\u0022#/readResults/0/lines/41/words/2\u0022,\u0022#/readResults/0/lines/41/words/3\u0022,\u0022#/readResults/0/lines/41/words/4\u0022,\u0022#/readResults/0/lines/42/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.7489,6.7853,7.4948,6.7788,7.4948,7.6355,5.7489,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]},{\u0022rowIndex\u0022:8,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,7.019,3.15,7.019,3.1433,7.6355,2.6168,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/38/words/0\u0022,\u0022#/readResults/0/lines/40/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[0.9975,7.629,2.6168,7.6355,2.6102,8.2651,0.9975,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6168,7.6355,5.7489,7.6355,5.7489,8.2651,2.6102,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/44/words/0\u0022,\u0022#/readResults/0/lines/45/words/0\u0022,\u0022#/readResults/0/lines/45/words/1\u0022,\u0022#/readResults/0/lines/47/words/0\u0022,\u0022#/readResults/0/lines/48/words/0\u0022,\u0022#/readResults/0/lines/48/words/1\u0022,\u0022#/readResults/0/lines/48/words/2\u0022,\u0022#/readResults/0/lines/48/words/3\u0022,\u0022#/readResults/0/lines/48/words/4\u0022,\u0022#/readResults/0/lines/49/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.7489,7.6355,7.4948,7.6355,7.4948,8.2651,5.7489,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[0.9975,8.2651,2.6102,8.2651,2.6102,8.9011,0.9975,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 25% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6102,8.2651,5.7489,8.2651,5.7489,8.9011,2.6102,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/51/words/0\u0022,\u0022#/readResults/0/lines/52/words/0\u0022,\u0022#/readResults/0/lines/52/words/1\u0022,\u0022#/readResults/0/lines/54/words/0\u0022,\u0022#/readResults/0/lines/55/words/0\u0022,\u0022#/readResults/0/lines/55/words/1\u0022,\u0022#/readResults/0/lines/55/words/2\u0022,\u0022#/readResults/0/lines/55/words/3\u0022,\u0022#/readResults/0/lines/55/words/4\u0022,\u0022#/readResults/0/lines/56/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.7489,8.2651,7.4948,8.2651,7.4948,8.9011,5.7489,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}],\u0022boundingBox\u0022:[0.994,4.6469,7.4953,4.6454,7.4964,8.9061,0.9936,8.9066]}]},{\u0022page\u0022:2}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:invoice\u0022,\u0022pageRange\u0022:[1,2],\u0022fields\u0022:{\u0022VendorName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Southridge Video\u0022,\u0022text\u0022:\u0022Southridge Video\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,3.3477,2.7686,3.3477,2.9128,2.1925,2.9128],\u0022page\u0022:2,\u0022confidence\u0022:0.969,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/2\u0022,\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022RemittanceAddressRecipient\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022page\u0022:1,\u0022confidence\u0022:0.954,\u0022elements\u0022:[\u0022#/readResults/0/lines/6/words/0\u0022,\u0022#/readResults/0/lines/6/words/1\u0022]},\u0022RemittanceAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022text\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,4.1518,1.0093,4.1518],\u0022page\u0022:1,\u0022confidence\u0022:0.952,\u0022elements\u0022:[\u0022#/readResults/0/lines/7/words/0\u0022,\u0022#/readResults/0/lines/7/words/1\u0022,\u0022#/readResults/0/lines/7/words/2\u0022,\u0022#/readResults/0/lines/8/words/0\u0022,\u0022#/readResults/0/lines/8/words/1\u0022,\u0022#/readResults/0/lines/8/words/2\u0022]}}}]}}" + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "2109360091" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True).json new file mode 100644 index 000000000000..1dd7c7f79490 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True).json @@ -0,0 +1,304 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "711607", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-bdf796a977dcc34983443765ba0aee7b-6741390691c3b742-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8a3fd3b93fa133f42427d53a59e56865", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c437e257-dd5e-4d1b-84bb-be8403128f74", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 22:26:31 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9ddddebe064839bd1bb07ac1147ec489", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "26ff3e19-8c33-4b34-a1f4-2319debbc47c", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c6420b8c097eb2bed9c66894cd29e93b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "514dc06e-ebec-4adf-a52d-759f7db1b2fe", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "411c4942a3d8b2ec15066ef0c4331ea6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ed001d5e-58f6-4936-bdc1-2f7f4bd7e97f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4eae4c63a1a2b5e6202bc3829e286cf2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2bd705b9-88d4-4fe5-bb19-7f112d4ddef4", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "cb7f3fc68361e9b11e90b0789acdeda6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a71bece5-c475-4233-a678-da74d01a961c", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8030c2a89b7ba098626720acdf6913ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "05d0b6cd-e18a-4cb8-a8df-6d21c065541c", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "85297c9952b4e0449ac42f12f06e1b52", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c56728a6-3117-4aae-8754-91aa51ce04c1", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "dcda1d3eebf72b77a6de68fa62050ab4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6747bf9b-d6c5-4009-b59b-9c89ebe1ac76", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:31Z", + "lastUpdatedDateTime": "2020-11-02T22:26:31Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c437e257-dd5e-4d1b-84bb-be8403128f74", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1ddfc37c68a455f27d50e6b66c86aff4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bdedaa51-9d1d-4719-8a83-b811429fbd01", + "Content-Length": "37110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222020-11-02T22:26:31Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222020-11-02T22:26:40Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022pageResults\u0022:[{\u0022page\u0022:1,\u0022tables\u0022:[{\u0022rows\u0022:13,\u0022columns\u0022:4,\u0022cells\u0022:[{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[0.9975,4.6436,2.6168,4.6436,2.6168,4.8578,0.9975,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/10/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.6168,4.6436,5.7422,4.6436,5.7422,4.8578,2.6168,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/11/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.7422,4.6436,7.4882,4.6436,7.4882,4.8513,5.7422,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/12/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,4.8578,2.6168,4.8578,2.6168,5.0849,0.9975,5.0914],\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,4.8578,3.15,4.8578,3.15,5.0849,2.6168,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/14/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.15,4.8578,5.7422,4.8578,5.7422,5.0849,3.15,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/15/words/0\u0022,\u0022#/readResults/0/lines/15/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.7422,4.8578,7.4882,4.8513,7.4882,5.0849,5.7422,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:3,\u0022boundingBox\u0022:[0.9975,5.0914,2.6168,5.0849,2.6168,5.9222,0.9975,5.9222]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.0849,3.15,5.0849,3.15,5.5198,2.6168,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/17/words/0\u0022,\u0022#/readResults/0/lines/19/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Pre-keynote thank you Logo on poster\u0022,\u0022boundingBox\u0022:[3.15,5.0849,5.7422,5.0849,5.7489,5.5133,3.15,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/18/words/0\u0022,\u0022#/readResults/0/lines/18/words/1\u0022,\u0022#/readResults/0/lines/18/words/2\u0022,\u0022#/readResults/0/lines/20/words/0\u0022,\u0022#/readResults/0/lines/20/words/1\u0022,\u0022#/readResults/0/lines/20/words/2\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7422,5.0849,7.4882,5.0849,7.4882,5.5198,5.7489,5.5133]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full page ad in program guide\u0022,\u0022boundingBox\u0022:[2.6168,5.5198,5.7489,5.5133,5.7489,5.7404,2.6168,5.7534],\u0022elements\u0022:[\u0022#/readResults/0/lines/21/words/0\u0022,\u0022#/readResults/0/lines/22/words/0\u0022,\u0022#/readResults/0/lines/22/words/1\u0022,\u0022#/readResults/0/lines/22/words/2\u0022,\u0022#/readResults/0/lines/22/words/3\u0022,\u0022#/readResults/0/lines/22/words/4\u0022,\u0022#/readResults/0/lines/22/words/5\u0022]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.5133,7.4882,5.5198,7.4882,5.7469,5.7489,5.7404]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.7534,5.7489,5.7404,5.7489,5.9222,2.6168,5.9222],\u0022elements\u0022:[\u0022#/readResults/0/lines/23/words/0\u0022]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.7404,7.4882,5.7469,7.4948,5.9222,5.7489,5.9222]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,5.9222,2.6168,5.9222,2.6168,6.7853,0.9975,6.7788],\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 \uF0B7 \uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.9222,3.15,5.9222,3.15,6.7853,2.6168,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/25/words/0\u0022,\u0022#/readResults/0/lines/28/words/0\u0022,\u0022#/readResults/0/lines/30/words/0\u0022,\u0022#/readResults/0/lines/32/words/0\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Post-keynote thank you Logo on poster Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.15,5.9222,5.7489,5.9222,5.7489,6.7853,3.15,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/26/words/0\u0022,\u0022#/readResults/0/lines/26/words/1\u0022,\u0022#/readResults/0/lines/29/words/0\u0022,\u0022#/readResults/0/lines/29/words/1\u0022,\u0022#/readResults/0/lines/29/words/2\u0022,\u0022#/readResults/0/lines/31/words/0\u0022,\u0022#/readResults/0/lines/31/words/1\u0022,\u0022#/readResults/0/lines/31/words/2\u0022,\u0022#/readResults/0/lines/33/words/0\u0022,\u0022#/readResults/0/lines/33/words/1\u0022,\u0022#/readResults/0/lines/33/words/2\u0022,\u0022#/readResults/0/lines/33/words/3\u0022,\u0022#/readResults/0/lines/33/words/4\u0022,\u0022#/readResults/0/lines/33/words/5\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.7489,5.9222,7.4948,5.9222,7.4948,6.7788,5.7489,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,6.7788,2.6168,6.7853,2.6168,7.6355,0.9975,7.629],\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,6.7853,3.15,6.7853,3.15,7.019,2.6168,7.019],\u0022elements\u0022:[\u0022#/readResults/0/lines/35/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Logo on poster 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[3.15,6.7853,5.7489,6.7853,5.7489,7.6355,3.1433,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/36/words/0\u0022,\u0022#/readResults/0/lines/36/words/1\u0022,\u0022#/readResults/0/lines/39/words/0\u0022,\u0022#/readResults/0/lines/39/words/1\u0022,\u0022#/readResults/0/lines/39/words/2\u0022,\u0022#/readResults/0/lines/41/words/0\u0022,\u0022#/readResults/0/lines/41/words/1\u0022,\u0022#/readResults/0/lines/41/words/2\u0022,\u0022#/readResults/0/lines/41/words/3\u0022,\u0022#/readResults/0/lines/41/words/4\u0022,\u0022#/readResults/0/lines/42/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.7489,6.7853,7.4948,6.7788,7.4948,7.6355,5.7489,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]},{\u0022rowIndex\u0022:8,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,7.019,3.15,7.019,3.1433,7.6355,2.6168,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/38/words/0\u0022,\u0022#/readResults/0/lines/40/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[0.9975,7.629,2.6168,7.6355,2.6102,8.2651,0.9975,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6168,7.6355,5.7489,7.6355,5.7489,8.2651,2.6102,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/44/words/0\u0022,\u0022#/readResults/0/lines/45/words/0\u0022,\u0022#/readResults/0/lines/45/words/1\u0022,\u0022#/readResults/0/lines/47/words/0\u0022,\u0022#/readResults/0/lines/48/words/0\u0022,\u0022#/readResults/0/lines/48/words/1\u0022,\u0022#/readResults/0/lines/48/words/2\u0022,\u0022#/readResults/0/lines/48/words/3\u0022,\u0022#/readResults/0/lines/48/words/4\u0022,\u0022#/readResults/0/lines/49/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.7489,7.6355,7.4948,7.6355,7.4948,8.2651,5.7489,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[0.9975,8.2651,2.6102,8.2651,2.6102,8.9011,0.9975,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 25% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6102,8.2651,5.7489,8.2651,5.7489,8.9011,2.6102,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/51/words/0\u0022,\u0022#/readResults/0/lines/52/words/0\u0022,\u0022#/readResults/0/lines/52/words/1\u0022,\u0022#/readResults/0/lines/54/words/0\u0022,\u0022#/readResults/0/lines/55/words/0\u0022,\u0022#/readResults/0/lines/55/words/1\u0022,\u0022#/readResults/0/lines/55/words/2\u0022,\u0022#/readResults/0/lines/55/words/3\u0022,\u0022#/readResults/0/lines/55/words/4\u0022,\u0022#/readResults/0/lines/56/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.7489,8.2651,7.4948,8.2651,7.4948,8.9011,5.7489,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}],\u0022boundingBox\u0022:[0.994,4.6469,7.4953,4.6454,7.4964,8.9061,0.9936,8.9066]}]},{\u0022page\u0022:2}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:invoice\u0022,\u0022pageRange\u0022:[1,2],\u0022fields\u0022:{\u0022VendorName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Southridge Video\u0022,\u0022text\u0022:\u0022Southridge Video\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,3.3477,2.7686,3.3477,2.9128,2.1925,2.9128],\u0022page\u0022:2,\u0022confidence\u0022:0.969,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/2\u0022,\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022RemittanceAddressRecipient\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022page\u0022:1,\u0022confidence\u0022:0.954,\u0022elements\u0022:[\u0022#/readResults/0/lines/6/words/0\u0022,\u0022#/readResults/0/lines/6/words/1\u0022]},\u0022RemittanceAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022text\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,4.1518,1.0093,4.1518],\u0022page\u0022:1,\u0022confidence\u0022:0.952,\u0022elements\u0022:[\u0022#/readResults/0/lines/7/words/0\u0022,\u0022#/readResults/0/lines/7/words/1\u0022,\u0022#/readResults/0/lines/7/words/2\u0022,\u0022#/readResults/0/lines/8/words/0\u0022,\u0022#/readResults/0/lines/8/words/1\u0022,\u0022#/readResults/0/lines/8/words/2\u0022]}}}]}}" + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1060016095" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True)Async.json new file mode 100644 index 000000000000..34896fa10a32 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesCanParseMultipageForm(True)Async.json @@ -0,0 +1,274 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "711607", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-6347956372c30342a50f153a239d5762-38ea50443183dc45-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "60befd157dc1d7ff7b354b3134a7bc1a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6d28392f-f67a-4df4-881c-3f20b40b0f99", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 22:26:50 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "259" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3e90fe77f68b4414905f2a6670a4c389", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fb4503fa-0016-4181-8647-68587665388b", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f2062753079cde3d2eff68daf8a85e39", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3d6a2608-875f-4b25-8ca3-527c5df70391", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5dcccad9d0441eafe87acf62539866d6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5d6abbf3-2820-4ebf-ba09-06dc99d48dba", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0ddec172c9a06f7dc0b20f8c8d394be8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "54958124-9daf-4b67-a776-b0afd532d21e", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a58df10166d8824577e7092237db8b95", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "65e5b1e9-229b-47bb-8fd2-2fb5fe5e811d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3768929851c90f994c5c9c92c12391af", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5019007a-e8f8-472c-a5cc-dab18ad0c578", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6160e72ec10b0cfe7b5b95b8c05b37e5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "77c1af1e-4ab4-4bd0-bf4a-10aa81e149a3", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T22:26:51Z", + "lastUpdatedDateTime": "2020-11-02T22:26:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6d28392f-f67a-4df4-881c-3f20b40b0f99", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fbf37a2614d1af1e587d587bcab3c153", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3d61e86d-b64f-46bb-9ac8-7be745a6e75e", + "Content-Length": "37110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 22:26:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222020-11-02T22:26:51Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222020-11-02T22:26:58Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022pageResults\u0022:[{\u0022page\u0022:1,\u0022tables\u0022:[{\u0022rows\u0022:13,\u0022columns\u0022:4,\u0022cells\u0022:[{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[0.9975,4.6436,2.6168,4.6436,2.6168,4.8578,0.9975,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/10/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.6168,4.6436,5.7422,4.6436,5.7422,4.8578,2.6168,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/11/words/0\u0022]},{\u0022rowIndex\u0022:0,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.7422,4.6436,7.4882,4.6436,7.4882,4.8513,5.7422,4.8578],\u0022elements\u0022:[\u0022#/readResults/0/lines/12/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:0,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,4.8578,2.6168,4.8578,2.6168,5.0849,0.9975,5.0914],\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,4.8578,3.15,4.8578,3.15,5.0849,2.6168,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/14/words/0\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.15,4.8578,5.7422,4.8578,5.7422,5.0849,3.15,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/15/words/0\u0022,\u0022#/readResults/0/lines/15/words/1\u0022]},{\u0022rowIndex\u0022:1,\u0022columnIndex\u0022:3,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.7422,4.8578,7.4882,4.8513,7.4882,5.0849,5.7422,5.0849],\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:3,\u0022boundingBox\u0022:[0.9975,5.0914,2.6168,5.0849,2.6168,5.9222,0.9975,5.9222]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.0849,3.15,5.0849,3.15,5.5198,2.6168,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/17/words/0\u0022,\u0022#/readResults/0/lines/19/words/0\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:2,\u0022text\u0022:\u0022Pre-keynote thank you Logo on poster\u0022,\u0022boundingBox\u0022:[3.15,5.0849,5.7422,5.0849,5.7489,5.5133,3.15,5.5198],\u0022elements\u0022:[\u0022#/readResults/0/lines/18/words/0\u0022,\u0022#/readResults/0/lines/18/words/1\u0022,\u0022#/readResults/0/lines/18/words/2\u0022,\u0022#/readResults/0/lines/20/words/0\u0022,\u0022#/readResults/0/lines/20/words/1\u0022,\u0022#/readResults/0/lines/20/words/2\u0022]},{\u0022rowIndex\u0022:2,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7422,5.0849,7.4882,5.0849,7.4882,5.5198,5.7489,5.5133]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full page ad in program guide\u0022,\u0022boundingBox\u0022:[2.6168,5.5198,5.7489,5.5133,5.7489,5.7404,2.6168,5.7534],\u0022elements\u0022:[\u0022#/readResults/0/lines/21/words/0\u0022,\u0022#/readResults/0/lines/22/words/0\u0022,\u0022#/readResults/0/lines/22/words/1\u0022,\u0022#/readResults/0/lines/22/words/2\u0022,\u0022#/readResults/0/lines/22/words/3\u0022,\u0022#/readResults/0/lines/22/words/4\u0022,\u0022#/readResults/0/lines/22/words/5\u0022]},{\u0022rowIndex\u0022:3,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.5133,7.4882,5.5198,7.4882,5.7469,5.7489,5.7404]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:1,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.7534,5.7489,5.7404,5.7489,5.9222,2.6168,5.9222],\u0022elements\u0022:[\u0022#/readResults/0/lines/23/words/0\u0022]},{\u0022rowIndex\u0022:4,\u0022columnIndex\u0022:3,\u0022boundingBox\u0022:[5.7489,5.7404,7.4882,5.7469,7.4948,5.9222,5.7489,5.9222]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,5.9222,2.6168,5.9222,2.6168,6.7853,0.9975,6.7788],\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 \uF0B7 \uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,5.9222,3.15,5.9222,3.15,6.7853,2.6168,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/25/words/0\u0022,\u0022#/readResults/0/lines/28/words/0\u0022,\u0022#/readResults/0/lines/30/words/0\u0022,\u0022#/readResults/0/lines/32/words/0\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Post-keynote thank you Logo on poster Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.15,5.9222,5.7489,5.9222,5.7489,6.7853,3.15,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/26/words/0\u0022,\u0022#/readResults/0/lines/26/words/1\u0022,\u0022#/readResults/0/lines/29/words/0\u0022,\u0022#/readResults/0/lines/29/words/1\u0022,\u0022#/readResults/0/lines/29/words/2\u0022,\u0022#/readResults/0/lines/31/words/0\u0022,\u0022#/readResults/0/lines/31/words/1\u0022,\u0022#/readResults/0/lines/31/words/2\u0022,\u0022#/readResults/0/lines/33/words/0\u0022,\u0022#/readResults/0/lines/33/words/1\u0022,\u0022#/readResults/0/lines/33/words/2\u0022,\u0022#/readResults/0/lines/33/words/3\u0022,\u0022#/readResults/0/lines/33/words/4\u0022,\u0022#/readResults/0/lines/33/words/5\u0022]},{\u0022rowIndex\u0022:5,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.7489,5.9222,7.4948,5.9222,7.4948,6.7788,5.7489,6.7853],\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[0.9975,6.7788,2.6168,6.7853,2.6168,7.6355,0.9975,7.629],\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,6.7853,3.15,6.7853,3.15,7.019,2.6168,7.019],\u0022elements\u0022:[\u0022#/readResults/0/lines/35/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:2,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full booth Logo on poster 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[3.15,6.7853,5.7489,6.7853,5.7489,7.6355,3.1433,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/36/words/0\u0022,\u0022#/readResults/0/lines/36/words/1\u0022,\u0022#/readResults/0/lines/39/words/0\u0022,\u0022#/readResults/0/lines/39/words/1\u0022,\u0022#/readResults/0/lines/39/words/2\u0022,\u0022#/readResults/0/lines/41/words/0\u0022,\u0022#/readResults/0/lines/41/words/1\u0022,\u0022#/readResults/0/lines/41/words/2\u0022,\u0022#/readResults/0/lines/41/words/3\u0022,\u0022#/readResults/0/lines/41/words/4\u0022,\u0022#/readResults/0/lines/42/words/0\u0022]},{\u0022rowIndex\u0022:7,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.7489,6.7853,7.4948,6.7788,7.4948,7.6355,5.7489,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]},{\u0022rowIndex\u0022:8,\u0022columnIndex\u0022:1,\u0022text\u0022:\u0022\uF0B7 \uF0B7\u0022,\u0022boundingBox\u0022:[2.6168,7.019,3.15,7.019,3.1433,7.6355,2.6168,7.6355],\u0022elements\u0022:[\u0022#/readResults/0/lines/38/words/0\u0022,\u0022#/readResults/0/lines/40/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[0.9975,7.629,2.6168,7.6355,2.6102,8.2651,0.9975,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 50% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6168,7.6355,5.7489,7.6355,5.7489,8.2651,2.6102,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/44/words/0\u0022,\u0022#/readResults/0/lines/45/words/0\u0022,\u0022#/readResults/0/lines/45/words/1\u0022,\u0022#/readResults/0/lines/47/words/0\u0022,\u0022#/readResults/0/lines/48/words/0\u0022,\u0022#/readResults/0/lines/48/words/1\u0022,\u0022#/readResults/0/lines/48/words/2\u0022,\u0022#/readResults/0/lines/48/words/3\u0022,\u0022#/readResults/0/lines/48/words/4\u0022,\u0022#/readResults/0/lines/49/words/0\u0022]},{\u0022rowIndex\u0022:9,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.7489,7.6355,7.4948,7.6355,7.4948,8.2651,5.7489,8.2651],\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:0,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[0.9975,8.2651,2.6102,8.2651,2.6102,8.9011,0.9975,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:1,\u0022rowSpan\u0022:2,\u0022columnSpan\u0022:2,\u0022text\u0022:\u0022\uF0B7 Full booth \uF0B7 25% discount on program guide advertisements\u0022,\u0022boundingBox\u0022:[2.6102,8.2651,5.7489,8.2651,5.7489,8.9011,2.6102,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/51/words/0\u0022,\u0022#/readResults/0/lines/52/words/0\u0022,\u0022#/readResults/0/lines/52/words/1\u0022,\u0022#/readResults/0/lines/54/words/0\u0022,\u0022#/readResults/0/lines/55/words/0\u0022,\u0022#/readResults/0/lines/55/words/1\u0022,\u0022#/readResults/0/lines/55/words/2\u0022,\u0022#/readResults/0/lines/55/words/3\u0022,\u0022#/readResults/0/lines/55/words/4\u0022,\u0022#/readResults/0/lines/56/words/0\u0022]},{\u0022rowIndex\u0022:11,\u0022columnIndex\u0022:3,\u0022rowSpan\u0022:2,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.7489,8.2651,7.4948,8.2651,7.4948,8.9011,5.7489,8.9011],\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}],\u0022boundingBox\u0022:[0.994,4.6469,7.4953,4.6454,7.4964,8.9061,0.9936,8.9066]}]},{\u0022page\u0022:2}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:invoice\u0022,\u0022pageRange\u0022:[1,2],\u0022fields\u0022:{\u0022VendorName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Southridge Video\u0022,\u0022text\u0022:\u0022Southridge Video\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,3.3477,2.7686,3.3477,2.9128,2.1925,2.9128],\u0022page\u0022:2,\u0022confidence\u0022:0.969,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/2\u0022,\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022RemittanceAddressRecipient\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022page\u0022:1,\u0022confidence\u0022:0.954,\u0022elements\u0022:[\u0022#/readResults/0/lines/6/words/0\u0022,\u0022#/readResults/0/lines/6/words/1\u0022]},\u0022RemittanceAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022text\u0022:\u00222345 Dogwood Lane Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,4.1518,1.0093,4.1518],\u0022page\u0022:1,\u0022confidence\u0022:0.952,\u0022elements\u0022:[\u0022#/readResults/0/lines/7/words/0\u0022,\u0022#/readResults/0/lines/7/words/1\u0022,\u0022#/readResults/0/lines/7/words/2\u0022,\u0022#/readResults/0/lines/8/words/0\u0022,\u0022#/readResults/0/lines/8/words/1\u0022,\u0022#/readResults/0/lines/8/words/2\u0022]}}}]}}" + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "761756107" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContent.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContent.json new file mode 100644 index 000000000000..aa2da6dfe374 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContent.json @@ -0,0 +1,48 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-443db46413f0494ea07aec7099eb67f0-4b0fa0d9526a9e49-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "12b73e4b7489b764d48ae8b4959852ec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "1714e4fe-7d82-4873-b80b-b5169be818b3", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4229" + }, + "ResponseBody": { + "error": { + "code": "FailedToDownloadImage", + "innerError": { + "requestId": "1714e4fe-7d82-4873-b80b-b5169be818b3" + }, + "message": "Failed to download image from input URL." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1254441428" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContentAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContentAsync.json new file mode 100644 index 000000000000..81220c462344 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesFromUriThrowsForNonExistingContentAsync.json @@ -0,0 +1,48 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-764416bcb6ea4c4d9cd0b29c89fa83d3-bab28be285302f4f-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2c6d1007564505ff61a5f78cc93cfd9c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "faace623-ce07-4610-94af-ed6020df13c4", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3688" + }, + "ResponseBody": { + "error": { + "code": "FailedToDownloadImage", + "innerError": { + "requestId": "faace623-ce07-4610-94af-ed6020df13c4" + }, + "message": "Failed to download image from input URL." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1511021704" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElements.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElements.json new file mode 100644 index 000000000000..30044d39ac4c --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElements.json @@ -0,0 +1,1513 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-9703aa19a73d1044af66a5ecb11b64ea-f2ea7b14564c344f-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a3cb79382b942c6a321067929ebe1167", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f55355d2-fdef-4309-bc77-a63c9813774c", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:07 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "63d9a9de3b0b8d651d21f9d524f6eb61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73986b02-3e69-447d-abff-0785930dcc9a", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e920feaf69ff22eca4e34ee30796627b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "182fdbcb-54ae-4f16-9dc1-9aaa700b4d24", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f81b4d6cb05afded143d85723294073b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f35b8a98-ffae-428f-ad45-8ab5089cbbf8", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9fe30625289d7467bcb7be27ec828687", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9733f324-a03c-4f77-ade8-944bb16990ac", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d7697ebef2daff061123d4c2e479ef10", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c565e598-5ba0-484a-b34c-1c0e59047a4b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "00bd13dbc2b343dde5a63ba3f1c51092", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c72608ec-74b3-48df-a95c-f8b6931ba7ed", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f55355d2-fdef-4309-bc77-a63c9813774c", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b4b4feb7302a336000e48e7a54a59043", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c48bc0c7-4bcb-4015-a05c-80ea17adbaf2", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:08Z", + "lastUpdatedDateTime": "2020-11-02T21:37:15Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "410565291" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElementsAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElementsAsync.json new file mode 100644 index 000000000000..684b443896e1 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesIncludeFieldElementsAsync.json @@ -0,0 +1,1513 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-41f13afe1e28e4418d27d5c8fc67e675-6233680e4ceb6243-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "71101375407e7d1e56f7271cdc27296b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "72c1df74-ca0a-46d6-af58-bfd942e66615", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:07 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "208" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8dc8f64f4e395f9cac8a1cb3a4e6954b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cfba261e-3475-4e2d-9e28-f8caf37589b9", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e00ffe568ec160606adee4f535905308", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ba05d12d-2073-4653-94fe-cd1aa091ed86", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3cd5eba7ac62278576b0c5f3246ad870", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d7e4aa7-c1fa-4b99-94cb-96de3cf4187d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "dec5dc624918c0a99568225a69a72a1b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "677b1b9c-08b2-4d63-88b4-efb0e65b2ee5", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b80b14375810a9e979e76911c96d3bff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "93778384-84df-4f5c-bea4-c5cc2f94f238", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5992740575cb5eef4214a6f9892abdcf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "444e582b-be10-4af2-bed0-052a3b9bfa21", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:07Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/72c1df74-ca0a-46d6-af58-bfd942e66615", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "10bba9851f5f095ff21b6430e098f728", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8f04d677-a1ae-4d94-b5b6-669133d9772b", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:07Z", + "lastUpdatedDateTime": "2020-11-02T21:38:14Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "281397379" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False).json new file mode 100644 index 000000000000..c50e38ee21e6 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False).json @@ -0,0 +1,619 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-481bf698f6717a41883d76c7677c6ad9-00a717d0b3712a43-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "da7db40c756b4a121e42bdf31eecf124", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:22 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "623" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "62bc3de93b4c4bae2b91506fdadb1eae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "07a182d6-dfc6-4e65-8d43-a54a39476f4e", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "89877ee078fbff1bcff87063abe95cc7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "13302502-8af8-4237-a62a-3974e7c24375", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e36603dcd724d19a0532aed925a36f42", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1535acf9-3d2e-41a4-9cec-021251ad9d36", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9f120f236765712921bd9253cb4ba042", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5e29544f-b69b-414a-9149-38dafe26fff8", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d79289353b740989e3b583c8c941da2c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bcf0876e-3a3a-4514-8cf0-10cb05ccb9a6", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9c402d89bcd77461d9f5c167444706ba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c7a55e8-3df0-4da1-b468-6d699b418797", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/8ecb65d8-9ef4-4107-9ddd-70cb1fa36597", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9ca46c929810e8ce8508bbafe460a7e0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0cf98940-2331-43fc-9f30-695216e6f805", + "Content-Length": "3516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:23Z", + "lastUpdatedDateTime": "2020-11-02T21:37:29Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 0.5136, + 2.7829, + 1.8978, + 2.79, + 1.8978, + 3.311, + 0.5136, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 1.8978, + 2.79, + 3.2964, + 2.79, + 3.3036, + 3.311, + 1.8978, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 3.2964, + 2.79, + 4.7022, + 2.79, + 4.7094, + 3.311, + 3.3036, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 4.7022, + 2.79, + 6.1079, + 2.7829, + 6.1079, + 3.311, + 4.7094, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 6.1079, + 2.7829, + 7.485, + 2.7829, + 7.4922, + 3.311, + 6.1079, + 3.311 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 0.5136, + 3.311, + 1.8978, + 3.311, + 1.8978, + 3.8534, + 0.5136, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 1.8978, + 3.311, + 3.3036, + 3.311, + 3.3036, + 3.8534, + 1.8978, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 3.3036, + 3.311, + 4.7094, + 3.311, + 4.7165, + 3.8534, + 3.3036, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 4.7094, + 3.311, + 6.1079, + 3.311, + 6.1079, + 3.8534, + 4.7165, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "text": "PT", + "boundingBox": [ + 6.1079, + 3.311, + 7.4922, + 3.311, + 7.4922, + 3.6393, + 6.1079, + 3.6393 + ] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "boundingBox": [ + 6.1079, + 3.6393, + 7.4922, + 3.6393, + 7.4922, + 3.8534, + 6.1079, + 3.8534 + ] + } + ], + "boundingBox": [ + 0.4985, + 2.7802, + 7.4933, + 2.7816, + 7.4913, + 3.8459, + 0.4966, + 3.8447 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 0.5384, + 1.1583, + 1.4466, + 1.1583, + 1.4466, + 1.3534, + 0.5384, + 1.3534 + ], + "page": 1, + "confidence": 0.948 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 0.8019, + 1.7033, + 2.1445, + 1.7033, + 2.1445, + 2.1911, + 0.8019, + 2.1911 + ], + "page": 1, + "confidence": 0.908 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 5.196, + 1.716, + 6.6526, + 1.716, + 6.6526, + 2.0359, + 5.196, + 2.0359 + ], + "page": 1, + "confidence": 0.991 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 0.5397, + 3.411, + 1.1457, + 3.411, + 1.1457, + 3.5144, + 0.5397, + 3.5144 + ], + "page": 1, + "confidence": 0.879 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 1.9455, + 3.41, + 2.551, + 3.41, + 2.551, + 3.5144, + 1.9455, + 3.5144 + ], + "page": 1, + "confidence": 0.929 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 3.346, + 3.41, + 3.9514, + 3.41, + 3.9514, + 3.5144, + 3.346, + 3.5144 + ], + "page": 1, + "confidence": 0.992 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 5.3871, + 3.4047, + 6.0702, + 3.4047, + 6.0702, + 3.5321, + 5.3871, + 3.5321 + ], + "page": 1, + "confidence": 0.895 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "2006331907" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False)Async.json new file mode 100644 index 000000000000..b98755678d88 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(False)Async.json @@ -0,0 +1,619 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-941a229bfcbdca469c3cbd96f4bc4ad5-d2c1754522fae140-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c478e7ace022b5944421a2b7c8a8069e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:23 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "502" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "344402aeea58d68b8a3c056006987ca5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d3c6535-7544-49ee-9796-da18befdd43f", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:23Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0716ef4624c956c2846f44a5b580b396", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e60178aa-6c9d-4345-b4f5-5f320832604b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:24Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f8bd2ca6381cc2ff5ca13ae5da34afab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4ffea90b-7187-4a35-8d6f-b311326d5291", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:24Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d871fda5fe928ad53feeb0e9a6e52109", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "be5d7677-1f9f-423c-b4ce-b305e80cef48", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:24Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d9b96f8984db0e88f053ab27e9dd7b4f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9973f5ff-094a-4e2d-b0de-7d165d7df330", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:24Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b7ff98c0db0ea7045633b82d87161b76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6f2db60a-d703-4d7d-a99a-2009b9c8178d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:24Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7ea69d76-59bf-4f35-8eb6-8be54db29c52", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6b5c307fd57a20d07462e73e53ada062", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ca163408-eb05-4ba4-9234-e0bc6b6064cf", + "Content-Length": "3516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:23Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 0.5136, + 2.7829, + 1.8978, + 2.79, + 1.8978, + 3.311, + 0.5136, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 1.8978, + 2.79, + 3.2964, + 2.79, + 3.3036, + 3.311, + 1.8978, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 3.2964, + 2.79, + 4.7022, + 2.79, + 4.7094, + 3.311, + 3.3036, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 4.7022, + 2.79, + 6.1079, + 2.7829, + 6.1079, + 3.311, + 4.7094, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 6.1079, + 2.7829, + 7.485, + 2.7829, + 7.4922, + 3.311, + 6.1079, + 3.311 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 0.5136, + 3.311, + 1.8978, + 3.311, + 1.8978, + 3.8534, + 0.5136, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 1.8978, + 3.311, + 3.3036, + 3.311, + 3.3036, + 3.8534, + 1.8978, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 3.3036, + 3.311, + 4.7094, + 3.311, + 4.7165, + 3.8534, + 3.3036, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 4.7094, + 3.311, + 6.1079, + 3.311, + 6.1079, + 3.8534, + 4.7165, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "text": "PT", + "boundingBox": [ + 6.1079, + 3.311, + 7.4922, + 3.311, + 7.4922, + 3.6393, + 6.1079, + 3.6393 + ] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "boundingBox": [ + 6.1079, + 3.6393, + 7.4922, + 3.6393, + 7.4922, + 3.8534, + 6.1079, + 3.8534 + ] + } + ], + "boundingBox": [ + 0.4985, + 2.7802, + 7.4933, + 2.7816, + 7.4913, + 3.8459, + 0.4966, + 3.8447 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 0.5384, + 1.1583, + 1.4466, + 1.1583, + 1.4466, + 1.3534, + 0.5384, + 1.3534 + ], + "page": 1, + "confidence": 0.948 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 0.8019, + 1.7033, + 2.1445, + 1.7033, + 2.1445, + 2.1911, + 0.8019, + 2.1911 + ], + "page": 1, + "confidence": 0.908 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 5.196, + 1.716, + 6.6526, + 1.716, + 6.6526, + 2.0359, + 5.196, + 2.0359 + ], + "page": 1, + "confidence": 0.991 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 0.5397, + 3.411, + 1.1457, + 3.411, + 1.1457, + 3.5144, + 0.5397, + 3.5144 + ], + "page": 1, + "confidence": 0.879 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 1.9455, + 3.41, + 2.551, + 3.41, + 2.551, + 3.5144, + 1.9455, + 3.5144 + ], + "page": 1, + "confidence": 0.929 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 3.346, + 3.41, + 3.9514, + 3.41, + 3.9514, + 3.5144, + 3.346, + 3.5144 + ], + "page": 1, + "confidence": 0.992 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 5.3871, + 3.4047, + 6.0702, + 3.4047, + 6.0702, + 3.5321, + 5.3871, + 3.5321 + ], + "page": 1, + "confidence": 0.895 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "778001911" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True).json new file mode 100644 index 000000000000..159ec141855e --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True).json @@ -0,0 +1,617 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "147362", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-8e41fc9f84262449ba1b9940eebc4c59-525f6d571a807d43-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2ad39e2214f60a5027072696c0c8bd22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:15 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "186" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "62f5eb1ee94e7833e76d02ec93b4381a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "da20ce5d-b2a4-4adf-b9e9-b575d486e6ab", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "866e55783e929c6778575d11f3edcc49", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "01646a85-7881-475c-9c44-49760e5b966b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "49bda047fa0e39746a5a438811637772", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "85a17a8a-1f2b-4391-9a60-bf4e672f6335", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6a1e0bce375ae08f8358e9f78b2285f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "955c807e-b786-448e-9fb3-9c495f5e1d41", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f2a5b8a1eef77d0be0351b37fadf8a15", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "42c1b78e-66b7-4a7e-a7db-bfa4f8477f1b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e742ebdf61cf10ef10ddc6b5107dad48", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b0fe14fd-e1f7-4b4d-b18f-100e99a11a98", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ae91b5d3-ea45-43bf-b9ba-4cc8832e3943", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "59e749d584bedf7bffa08a251b58e5a4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4fb8d163-823a-457b-b296-b503c06be816", + "Content-Length": "3516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:16Z", + "lastUpdatedDateTime": "2020-11-02T21:37:22Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 0.5136, + 2.7829, + 1.8978, + 2.79, + 1.8978, + 3.311, + 0.5136, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 1.8978, + 2.79, + 3.2964, + 2.79, + 3.3036, + 3.311, + 1.8978, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 3.2964, + 2.79, + 4.7022, + 2.79, + 4.7094, + 3.311, + 3.3036, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 4.7022, + 2.79, + 6.1079, + 2.7829, + 6.1079, + 3.311, + 4.7094, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 6.1079, + 2.7829, + 7.485, + 2.7829, + 7.4922, + 3.311, + 6.1079, + 3.311 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 0.5136, + 3.311, + 1.8978, + 3.311, + 1.8978, + 3.8534, + 0.5136, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 1.8978, + 3.311, + 3.3036, + 3.311, + 3.3036, + 3.8534, + 1.8978, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 3.3036, + 3.311, + 4.7094, + 3.311, + 4.7165, + 3.8534, + 3.3036, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 4.7094, + 3.311, + 6.1079, + 3.311, + 6.1079, + 3.8534, + 4.7165, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "text": "PT", + "boundingBox": [ + 6.1079, + 3.311, + 7.4922, + 3.311, + 7.4922, + 3.6393, + 6.1079, + 3.6393 + ] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "boundingBox": [ + 6.1079, + 3.6393, + 7.4922, + 3.6393, + 7.4922, + 3.8534, + 6.1079, + 3.8534 + ] + } + ], + "boundingBox": [ + 0.4985, + 2.7802, + 7.4933, + 2.7816, + 7.4913, + 3.8459, + 0.4966, + 3.8447 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 0.5384, + 1.1583, + 1.4466, + 1.1583, + 1.4466, + 1.3534, + 0.5384, + 1.3534 + ], + "page": 1, + "confidence": 0.948 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 0.8019, + 1.7033, + 2.1445, + 1.7033, + 2.1445, + 2.1911, + 0.8019, + 2.1911 + ], + "page": 1, + "confidence": 0.908 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 5.196, + 1.716, + 6.6526, + 1.716, + 6.6526, + 2.0359, + 5.196, + 2.0359 + ], + "page": 1, + "confidence": 0.991 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 0.5397, + 3.411, + 1.1457, + 3.411, + 1.1457, + 3.5144, + 0.5397, + 3.5144 + ], + "page": 1, + "confidence": 0.879 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 1.9455, + 3.41, + 2.551, + 3.41, + 2.551, + 3.5144, + 1.9455, + 3.5144 + ], + "page": 1, + "confidence": 0.929 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 3.346, + 3.41, + 3.9514, + 3.41, + 3.9514, + 3.5144, + 3.346, + 3.5144 + ], + "page": 1, + "confidence": 0.992 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 5.3871, + 3.4047, + 6.0702, + 3.4047, + 6.0702, + 3.5321, + 5.3871, + 3.5321 + ], + "page": 1, + "confidence": 0.895 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "227896141" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True)Async.json new file mode 100644 index 000000000000..fe48dcc02c26 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedPdf(True)Async.json @@ -0,0 +1,617 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "147362", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-621ee7276231fc488c5f459eb5f98f57-cd9076991b224d44-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b10f36f7c16093e54701186e0982c25f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7aac8fb3-179e-4984-b436-b0fa4b005faa", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:16 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "160" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "078fa61030e5cd78b916aed319422beb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "386f4f57-9edd-4f15-aadd-7ed720a7e282", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f8ce4bac45e8682ffd89140aa26b0969", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56ece492-8874-482d-96c1-0c5336a4f98b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ec6e1f2b19f8c7b7be41f74913127904", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "412b9aad-8798-4bdf-8640-b6b30d94388f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "bec22cd5c9b3ca777727095c1b6d2b4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c1a7fd16-94f7-48b9-9f04-5ecb4273c119", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "faa7440d3ed393f294063aa64ee554eb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "490a87e3-c590-4102-8c44-1c4bd968807d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "75350f0f4ba862b5a8a475d10f5aac50", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c5f45ae4-b33c-4f95-97ee-d005ca613236", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:16Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7aac8fb3-179e-4984-b436-b0fa4b005faa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ce3ca8167f6a9630392e2aad8ed07b91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5e102226-6eda-44dd-8703-cfb4043548e3", + "Content-Length": "3516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:16Z", + "lastUpdatedDateTime": "2020-11-02T21:38:23Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 0.5136, + 2.7829, + 1.8978, + 2.79, + 1.8978, + 3.311, + 0.5136, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 1.8978, + 2.79, + 3.2964, + 2.79, + 3.3036, + 3.311, + 1.8978, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 3.2964, + 2.79, + 4.7022, + 2.79, + 4.7094, + 3.311, + 3.3036, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 4.7022, + 2.79, + 6.1079, + 2.7829, + 6.1079, + 3.311, + 4.7094, + 3.311 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 6.1079, + 2.7829, + 7.485, + 2.7829, + 7.4922, + 3.311, + 6.1079, + 3.311 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 0.5136, + 3.311, + 1.8978, + 3.311, + 1.8978, + 3.8534, + 0.5136, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 1.8978, + 3.311, + 3.3036, + 3.311, + 3.3036, + 3.8534, + 1.8978, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 3.3036, + 3.311, + 4.7094, + 3.311, + 4.7165, + 3.8534, + 3.3036, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 4.7094, + 3.311, + 6.1079, + 3.311, + 6.1079, + 3.8534, + 4.7165, + 3.8534 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "text": "PT", + "boundingBox": [ + 6.1079, + 3.311, + 7.4922, + 3.311, + 7.4922, + 3.6393, + 6.1079, + 3.6393 + ] + }, + { + "rowIndex": 2, + "columnIndex": 5, + "boundingBox": [ + 6.1079, + 3.6393, + 7.4922, + 3.6393, + 7.4922, + 3.8534, + 6.1079, + 3.8534 + ] + } + ], + "boundingBox": [ + 0.4985, + 2.7802, + 7.4933, + 2.7816, + 7.4913, + 3.8459, + 0.4966, + 3.8447 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 0.5384, + 1.1583, + 1.4466, + 1.1583, + 1.4466, + 1.3534, + 0.5384, + 1.3534 + ], + "page": 1, + "confidence": 0.948 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 0.8019, + 1.7033, + 2.1445, + 1.7033, + 2.1445, + 2.1911, + 0.8019, + 2.1911 + ], + "page": 1, + "confidence": 0.908 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 5.196, + 1.716, + 6.6526, + 1.716, + 6.6526, + 2.0359, + 5.196, + 2.0359 + ], + "page": 1, + "confidence": 0.991 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 0.5397, + 3.411, + 1.1457, + 3.411, + 1.1457, + 3.5144, + 0.5397, + 3.5144 + ], + "page": 1, + "confidence": 0.879 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 1.9455, + 3.41, + 2.551, + 3.41, + 2.551, + 3.5144, + 1.9455, + 3.5144 + ], + "page": 1, + "confidence": 0.929 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 3.346, + 3.41, + 3.9514, + 3.41, + 3.9514, + 3.5144, + 3.346, + 3.5144 + ], + "page": 1, + "confidence": 0.992 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 5.3871, + 3.4047, + 6.0702, + 3.4047, + 6.0702, + 3.5321, + 5.3871, + 3.5321 + ], + "page": 1, + "confidence": 0.895 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 5.2045, + 1.5114, + 5.8155, + 1.5114, + 5.8155, + 1.6151, + 5.2045, + 1.6151 + ], + "page": 1, + "confidence": 0.986 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "468552705" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False).json new file mode 100644 index 000000000000..1dc83ab3f219 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False).json @@ -0,0 +1,576 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-8f3da8525eba404e85724a6c4c0b5c0b-04d8d6ad6c4d7847-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c8d9262433d8850622c1301ac1aabb5d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:37 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "486" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "58159f2ecd5ffc83031f01032064b87e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "292ed672-2568-4720-b24b-364c930dcce5", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:37Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9a4c6fd32830bb4d61fe5063f19253b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e1bbbac-5683-484f-b8f4-e534cdbbd2ad", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:37Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7e2324573f265628a3ddc4b8320264be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5b02d7e9-63be-4f12-8b63-7387a619502e", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:37Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5247b108205d062d525af7617d1f0a70", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1a749f82-b6a0-4fea-af48-2eac9e48e989", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "833" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:37Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fbab4bcb3a40935847f5f7526394895e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "082a97bf-0ea4-4b84-8145-49af8b68e593", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:37Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7df84501-b3d9-4b30-bf0a-f2e1bb417b68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "405a9299004b3659f61d2ccb48c6d983", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7128cd13-2fd2-4fa9-8492-b539733371cb", + "Content-Length": "3042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:37Z", + "lastUpdatedDateTime": "2020-11-02T21:37:43Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "267191210" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False)Async.json new file mode 100644 index 000000000000..95c1f8b4494a --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(False)Async.json @@ -0,0 +1,606 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-470719c484fe084981b3fb1da39c9247-099b24049d8b9c48-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b3f8e6d3e01eecdab01d1e9e9d59fc4f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:37 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "375" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "81ab5b3251c27482d026575d0d0bc534", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d4f4c21b-a6e4-4703-8366-62f17603822c", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8d2588459c7854dfe6910aa05672ed37", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "edb5a533-fc2e-444d-9630-b6fc2a9e5669", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b2837f68eb1182e16383e3f8897cdea5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56732734-464d-4d32-8d4d-86e55ab1b748", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1558e9586f3396d67b569a3046e21d5d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b955804b-db50-40bd-bad6-e9854495ed50", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8ef51f3812875a23a6a329f5b9e7cb6a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b19d178-eddf-4f30-a231-800d33c307fc", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6d4765b3d71af803a8ed37ba50b03b81", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f07d9d7-e763-4573-843d-e8ee3b73b39b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:38Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/6e9dab9e-6d7f-4a70-926a-08bc505b7050", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "69bf85654f86461dc6fd6e9045e1dd94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "97a70257-d394-41e2-aeff-da6ca0a77fa8", + "Content-Length": "3042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:38Z", + "lastUpdatedDateTime": "2020-11-02T21:38:44Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1127833428" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True).json new file mode 100644 index 000000000000..9cb7424265ea --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True).json @@ -0,0 +1,604 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-b3db49c2c712c946823fdc658a6decfe-98ead405d3816344-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a2659589021ce6361699ad906e224e49", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f51b7361-d951-4464-a695-7cc400bac6ae", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:29 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "67" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "847b7bf8acb9c509c1890e92d4344a05", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6096c3dd-7cb8-45ab-8088-f7327d4f2519", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "afa34d6dda0fa8a61cc2a8e5f05d20dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f57a69e8-f2cb-44ff-93d2-dafe7596b514", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2b8d388492fedc458b9fe192f4a411e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ed5c29ea-5c91-47b6-802e-07f50e90524b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2122a84e9f7f1e3ad5d268f60324d564", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "20e92bbd-6044-4d62-b253-aa032143dfa5", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9b0d30681fa7db0707c6236ff913b478", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a0bef3c4-d199-4c68-8688-b9a8b839feec", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4796c6b0ff3ae55efe6e552b2a4ed966", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1983ce9f-b0e6-47e9-8f02-2db3f0f8443d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f51b7361-d951-4464-a695-7cc400bac6ae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c3297dc975962f3aa14719b87bca25c2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "af563e3f-bfcc-4fe8-a359-f0c418b3983b", + "Content-Length": "3042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:30Z", + "lastUpdatedDateTime": "2020-11-02T21:37:36Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1186178963" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True)Async.json new file mode 100644 index 000000000000..c3f4c4389f30 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesPopulatesExtractedTiff(True)Async.json @@ -0,0 +1,604 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-760111d3a550bf4fa3d17d06f641b91c-beabea70441dcd48-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "47778e0217a2cf78dda075e62f04c86f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "3149a55a-eb39-4294-b5a5-46fd4928c296", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:30 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "96" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fb2f1da21cc13771b72eff1091ac0956", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cf8069fe-74e0-4b64-894f-6ac48e601877", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3bb65f11ad500d81b9fa6b33c7d73d9e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "df4dbeb4-49a3-4558-9517-4debb2d9bb5a", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5c8fa10019d9e5f11d3f907318673e31", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "750edc5f-692d-4827-8a83-4a111844e5cf", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "cfd51f968d4ef41e9b2241c6b13d6fdf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "11bf5ab1-24d5-4d66-add5-bc331bc28ea8", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ef1061f1ac1cf77d6ed01e101c0df451", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "88fe74bf-3103-4748-9cce-d638ef6b7bf5", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a89d3abb6d01734f829ac0b6d82a34df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3abf7fe8-d566-4ddd-8878-33803436d549", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:30Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/3149a55a-eb39-4294-b5a5-46fd4928c296", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b681b0cf4f57e914a2de617e6e0dd78e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "de3a05b1-383e-46f3-a501-68c3b1746636", + "Content-Length": "3042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:30Z", + "lastUpdatedDateTime": "2020-11-02T21:38:36Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel" + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921 + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907 + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995 + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768 + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89 + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988 + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847 + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993 + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1410774667" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFile.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFile.json new file mode 100644 index 000000000000..2649f554c59d --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFile.json @@ -0,0 +1,46 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "7", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-71095d645d1511408c9cd15e0809ce84-44b7b5731c025f4c-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f401fd1d1000ce0a7d9dc501a8808f22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "JVBERlVVVQ==", + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "134f885a-9f91-42f4-b99c-13c925eb4819", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "error": { + "code": "BadArgument", + "innerError": { + "requestId": "134f885a-9f91-42f4-b99c-13c925eb4819" + }, + "message": "Bad or unrecognizable request JSON or binary file." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "554916987" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFileAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFileAsync.json new file mode 100644 index 000000000000..b00757157da9 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesThrowsForDamagedFileAsync.json @@ -0,0 +1,46 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "7", + "Content-Type": "application/pdf", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-bdb57dcd8d1ace419c78c9239c23a94d-e34fd0247d8fe74c-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f665c8650efc3979c6ab01c79d138f8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "JVBERlVVVQ==", + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "bfe4d8da-0f8b-4e7b-b1f3-06819c8f5f0d", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "error": { + "code": "BadArgument", + "innerError": { + "requestId": "bfe4d8da-0f8b-4e7b-b1f3-06819c8f5f0d" + }, + "message": "Bad or unrecognizable request JSON or binary file." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1785139377" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%).json new file mode 100644 index 000000000000..dc89a42b8172 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%).json @@ -0,0 +1,1513 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true\u0026locale=", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-d83ac52d436f7342b92beda4ba46d667-87617faaaa1b674b-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d09b2a9e700dc0dbfd984090eae7f123", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "018f73b7-e193-40f3-b616-4eaa8a02d33d", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:50 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "86" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a0fa73b1a5f8bdc1166af26cc899e030", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d1703bc3-cc9a-4118-b8dd-9e9f1e302f28", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "88834f7d9bde4d8a7a69f5f69d2df1d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "76a21030-069c-4c32-b57e-b965b1d3c5e5", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ccab10dcddcaf96a69deb9a37d6ef764", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a2ec3faf-8822-4deb-9a43-650ec2260ce2", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9b1310b869631645e8ac268eafcb1fe8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "06f36ecf-d8b3-4c20-9f19-50d634760b34", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b890207813ed9f65e48a1effe1e7cf0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d94e89c6-1031-44a2-978e-655fc4fcb17e", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8d3d9172561a726dcb95e31db7dc499e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2534d79d-885d-4322-a514-cf36d5bee3f9", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:51Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/018f73b7-e193-40f3-b616-4eaa8a02d33d", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5c2ad1bf3fdea476aa73b6d94b453400", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09670b8b-69b1-495e-a630-335085335f93", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:51Z", + "lastUpdatedDateTime": "2020-11-02T21:37:57Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1020250434" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%)Async.json new file mode 100644 index 000000000000..fc4dc0486092 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%%)Async.json @@ -0,0 +1,1543 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true\u0026locale=", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-9d29d1ae2f70bd4d9e2675f9765d5b65-1012a59e07939441-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "94e0a410ee2b3688e1c96a21e85ae6a1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "fd01ec73-e2b1-44c6-848e-e72398a060ac", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:51 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "43" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2f80a4dc801018f569f68c7bcf7a6ba5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "68f2b5f9-f825-4b0e-a64d-b8cbbe450a45", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "618b9f8ab0d7cbf69eb9bde177900b49", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "81fe26af-6216-4e8a-a67a-8e3ffb769549", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "aa00ae60d2dc9083aec72b35610d6666", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f23484f6-b9b5-4809-a02c-1b5a300c9e26", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4896c45d85ce2bc9aeb49157c213a0d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c6637a1-f134-4c36-8fa1-fc4aff525f62", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "211a42ebc17ab8c91cfbb20f85c16a90", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e5bc23c1-4194-4495-8e7a-a13188df97fc", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b3845653c2fada7ae4d4fb27402bcd9a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16dbb169-5dbe-4762-ab6d-3f5159f78092", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1e49522644f29becfbdd2bd3d3b9a6ec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8a1164aa-f327-4101-a343-94fb513ef102", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:38:52Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fd01ec73-e2b1-44c6-848e-e72398a060ac", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6b03014aed8f28dec83f3ca5c5a177f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "58f0c47a-7c8c-4ff3-ae1b-87802a766b8e", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:39:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:52Z", + "lastUpdatedDateTime": "2020-11-02T21:39:00Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1128502398" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%).json new file mode 100644 index 000000000000..be8a7ee5f0ba --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%).json @@ -0,0 +1,1513 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true\u0026locale=en-US", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-c53729e5e6d63746bee7459f519f3f5d-099df4f5d0fec841-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d2cb9a24993149d1bc5e2b1e82f2317e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b6c51426-a0d6-43d4-a239-ab33e4c19275", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:37:44 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4be97f236f3feb70c94197e93e01c92d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d063a4ed-c9b6-4423-aa93-f7d566501187", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "77c07fa221aa2c49676caf8eac3bfdfe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "07b117d6-d85f-41fb-9061-25e7f7c3d618", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a0eed663f109b5e429df08ef01e70abb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6e1df1e0-627c-44ce-a204-a1cc793a11a8", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "027bfd95ba3202d436bce3d2c0e23f8e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "461b719d-0c82-49af-a613-f0a816cb0c2f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "339" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "688699442913b0249b0a4eca18592a7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5b3a11a2-dcc7-401b-8fed-5b33740a3a4d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "aff9f461fbbfa9cb01eb694d0e11f547", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c0882cb3-60d1-4ce0-bac9-b479a405881b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:44Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b6c51426-a0d6-43d4-a239-ab33e4c19275", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "68ab7aa0a2616ba7d9cb67276b09eadc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "03aa310b-b93f-4a06-9531-e2ae4e24b18c", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:37:44Z", + "lastUpdatedDateTime": "2020-11-02T21:37:50Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "929548033" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%)Async.json new file mode 100644 index 000000000000..8207ab64db97 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithSupportedLocale(%en-US%)Async.json @@ -0,0 +1,1513 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true\u0026locale=en-US", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76742", + "Content-Type": "image/tiff", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-e52dc3b6a96a024a89be9c4e5a254b9b-ac64d01bcf76b044-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ff91fc005dcc9e47f25bbf494cfeb980", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:38:44 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fb457d14b0f6c1eaec1be2caac6be57d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9bb46091-3678-4fd6-8d48-0c45a1000de5", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "cc2d193a3bc680fe80904cda09f3768b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d6fa6590-03c5-4d68-a937-2fc8320ee71b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0dc7b0cfe411501412d013b07b7df186", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c0677ca8-7c2f-4d42-a00d-f99ee33d8963", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "320f4175ecd1d9b97ec57a65630fb7f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "14d1bff6-62a7-443a-b9cc-c6ccf1a2603d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fcfb57a4d8a3566c04dcbaf6284e0502", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c0037afe-8f84-4329-a4ff-7f293106b05e", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c864c69f44e4e2baf6ee8e4c69afec02", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "347576e0-88af-489b-a6be-d500c62d653d", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:45Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/b969dd36-84ee-46fd-8acd-b3ab04e9eaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "240b1918f5829de2d5b92ef432c2b130", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c8fb9656-4877-40a4-b8a6-5d304c58463e", + "Content-Length": "9869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:38:45Z", + "lastUpdatedDateTime": "2020-11-02T21:38:51Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 1700, + "height": 2200, + "unit": "pixel", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 105, + 231, + 289, + 232, + 289, + 274, + 105, + 273 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "confidence": 0.985 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Address:", + "boundingBox": [ + 159, + 299, + 279, + 300, + 279, + 326, + 159, + 325 + ], + "words": [ + { + "text": "Address:", + "boundingBox": [ + 161, + 299, + 279, + 301, + 279, + 326, + 160, + 325 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice For: Microsoft", + "boundingBox": [ + 875, + 299, + 1165, + 299, + 1165, + 326, + 875, + 326 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 876, + 300, + 963, + 299, + 964, + 327, + 877, + 326 + ], + "confidence": 0.951 + }, + { + "text": "For:", + "boundingBox": [ + 968, + 299, + 1030, + 299, + 1030, + 327, + 969, + 327 + ], + "confidence": 0.986 + }, + { + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "1 Redmond way Suite", + "boundingBox": [ + 160, + 337, + 432, + 337, + 432, + 367, + 160, + 366 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 160, + 338, + 174, + 339, + 174, + 364, + 161, + 364 + ], + "confidence": 0.987 + }, + { + "text": "Redmond", + "boundingBox": [ + 179, + 339, + 301, + 339, + 301, + 367, + 179, + 365 + ], + "confidence": 0.984 + }, + { + "text": "way", + "boundingBox": [ + 306, + 339, + 361, + 338, + 361, + 368, + 306, + 367 + ], + "confidence": 0.987 + }, + { + "text": "Suite", + "boundingBox": [ + 366, + 338, + 433, + 337, + 433, + 367, + 366, + 368 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "1020 Enterprise Way", + "boundingBox": [ + 1037, + 337, + 1312, + 338, + 1312, + 372, + 1037, + 371 + ], + "words": [ + { + "text": "1020", + "boundingBox": [ + 1038, + 338, + 1096, + 339, + 1096, + 372, + 1038, + 372 + ], + "confidence": 0.986 + }, + { + "text": "Enterprise", + "boundingBox": [ + 1102, + 339, + 1241, + 339, + 1241, + 373, + 1102, + 372 + ], + "confidence": 0.981 + }, + { + "text": "Way", + "boundingBox": [ + 1248, + 339, + 1313, + 338, + 1312, + 373, + 1248, + 373 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6000 Redmond, WA", + "boundingBox": [ + 159, + 375, + 410, + 375, + 410, + 403, + 159, + 404 + ], + "words": [ + { + "text": "6000", + "boundingBox": [ + 159, + 377, + 220, + 377, + 220, + 404, + 159, + 404 + ], + "confidence": 0.986 + }, + { + "text": "Redmond,", + "boundingBox": [ + 225, + 377, + 357, + 376, + 357, + 405, + 225, + 404 + ], + "confidence": 0.98 + }, + { + "text": "WA", + "boundingBox": [ + 362, + 376, + 410, + 375, + 410, + 404, + 362, + 405 + ], + "confidence": 0.988 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Sunnayvale, CA 87659", + "boundingBox": [ + 1036, + 378, + 1334, + 377, + 1334, + 406, + 1036, + 408 + ], + "words": [ + { + "text": "Sunnayvale,", + "boundingBox": [ + 1036, + 379, + 1198, + 379, + 1198, + 408, + 1036, + 407 + ], + "confidence": 0.98 + }, + { + "text": "CA", + "boundingBox": [ + 1203, + 379, + 1246, + 378, + 1246, + 407, + 1203, + 408 + ], + "confidence": 0.988 + }, + { + "text": "87659", + "boundingBox": [ + 1252, + 378, + 1333, + 378, + 1333, + 405, + 1251, + 407 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "99243", + "boundingBox": [ + 157, + 415, + 238, + 414, + 238, + 439, + 158, + 440 + ], + "words": [ + { + "text": "99243", + "boundingBox": [ + 158, + 415, + 237, + 414, + 238, + 440, + 159, + 441 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "Invoice Number", + "boundingBox": [ + 104, + 572, + 318, + 572, + 318, + 598, + 104, + 598 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 105, + 572, + 202, + 572, + 202, + 599, + 105, + 599 + ], + "confidence": 0.951 + }, + { + "text": "Number", + "boundingBox": [ + 207, + 572, + 318, + 573, + 318, + 599, + 207, + 599 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Date", + "boundingBox": [ + 385, + 572, + 552, + 572, + 552, + 597, + 385, + 597 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 386, + 573, + 484, + 572, + 484, + 598, + 386, + 598 + ], + "confidence": 0.942 + }, + { + "text": "Date", + "boundingBox": [ + 489, + 572, + 551, + 573, + 551, + 598, + 489, + 598 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "Invoice Due Date", + "boundingBox": [ + 661, + 568, + 894, + 568, + 894, + 601, + 661, + 601 + ], + "words": [ + { + "text": "Invoice", + "boundingBox": [ + 662, + 569, + 760, + 569, + 760, + 601, + 662, + 602 + ], + "confidence": 0.974 + }, + { + "text": "Due", + "boundingBox": [ + 767, + 569, + 819, + 569, + 819, + 601, + 767, + 601 + ], + "confidence": 0.987 + }, + { + "text": "Date", + "boundingBox": [ + 826, + 569, + 893, + 568, + 893, + 602, + 826, + 601 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.965 + } + } + }, + { + "text": "Charges", + "boundingBox": [ + 947, + 573, + 1061, + 574, + 1061, + 602, + 947, + 600 + ], + "words": [ + { + "text": "Charges", + "boundingBox": [ + 948, + 573, + 1060, + 574, + 1060, + 602, + 948, + 600 + ], + "confidence": 0.97 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "VAT ID", + "boundingBox": [ + 1225, + 572, + 1320, + 572, + 1320, + 596, + 1225, + 597 + ], + "words": [ + { + "text": "VAT", + "boundingBox": [ + 1227, + 573, + 1282, + 572, + 1282, + 597, + 1227, + 598 + ], + "confidence": 0.987 + }, + { + "text": "ID", + "boundingBox": [ + 1287, + 572, + 1320, + 572, + 1320, + 597, + 1287, + 597 + ], + "confidence": 0.986 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + }, + { + "text": "34278587", + "boundingBox": [ + 105, + 679, + 230, + 679, + 230, + 705, + 105, + 705 + ], + "words": [ + { + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.998 + } + } + }, + { + "text": "6/18/2017", + "boundingBox": [ + 386, + 680, + 510, + 679, + 510, + 704, + 386, + 705 + ], + "words": [ + { + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "6/24/2017", + "boundingBox": [ + 667, + 679, + 792, + 679, + 792, + 704, + 667, + 705 + ], + "words": [ + { + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "confidence": 0.982 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.999 + } + } + }, + { + "text": "$56,651.49 PT", + "boundingBox": [ + 1074, + 680, + 1279, + 679, + 1280, + 704, + 1074, + 706 + ], + "words": [ + { + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "confidence": 0.967 + }, + { + "text": "PT", + "boundingBox": [ + 1240, + 679, + 1279, + 679, + 1280, + 704, + 1241, + 705 + ], + "confidence": 0.983 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 1 + } + } + } + ] + } + ], + "pageResults": [ + { + "page": 1, + "tables": [ + { + "rows": 3, + "columns": 6, + "cells": [ + { + "rowIndex": 0, + "columnIndex": 0, + "text": "Invoice Number", + "boundingBox": [ + 101, + 556, + 380, + 558, + 380, + 662, + 101, + 661 + ], + "elements": [ + "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 1, + "text": "Invoice Date", + "boundingBox": [ + 380, + 558, + 658, + 558, + 659, + 662, + 380, + 662 + ], + "elements": [ + "#/readResults/0/lines/9/words/0", + "#/readResults/0/lines/9/words/1" + ] + }, + { + "rowIndex": 0, + "columnIndex": 2, + "text": "Invoice Due Date", + "boundingBox": [ + 658, + 558, + 941, + 558, + 941, + 662, + 659, + 662 + ], + "elements": [ + "#/readResults/0/lines/10/words/0", + "#/readResults/0/lines/10/words/1", + "#/readResults/0/lines/10/words/2" + ] + }, + { + "rowIndex": 0, + "columnIndex": 3, + "columnSpan": 2, + "text": "Charges", + "boundingBox": [ + 941, + 558, + 1220, + 558, + 1220, + 662, + 941, + 662 + ], + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + }, + { + "rowIndex": 0, + "columnIndex": 5, + "text": "VAT ID", + "boundingBox": [ + 1220, + 558, + 1499, + 556, + 1500, + 661, + 1220, + 662 + ], + "elements": [ + "#/readResults/0/lines/12/words/0", + "#/readResults/0/lines/12/words/1" + ] + }, + { + "rowIndex": 1, + "columnIndex": 0, + "rowSpan": 2, + "text": "34278587", + "boundingBox": [ + 101, + 661, + 380, + 662, + 380, + 771, + 101, + 771 + ], + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 1, + "rowSpan": 2, + "text": "6/18/2017", + "boundingBox": [ + 380, + 662, + 659, + 662, + 661, + 771, + 380, + 771 + ], + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 2, + "rowSpan": 2, + "text": "6/24/2017", + "boundingBox": [ + 659, + 662, + 941, + 662, + 941, + 771, + 661, + 771 + ], + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 3, + "rowSpan": 2, + "columnSpan": 2, + "text": "$56,651.49", + "boundingBox": [ + 941, + 662, + 1220, + 662, + 1220, + 771, + 941, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + { + "rowIndex": 1, + "columnIndex": 5, + "rowSpan": 2, + "text": "PT", + "boundingBox": [ + 1220, + 662, + 1500, + 661, + 1500, + 769, + 1220, + 771 + ], + "elements": [ + "#/readResults/0/lines/16/words/1" + ] + } + ], + "boundingBox": [ + 100, + 556, + 1499, + 556, + 1498, + 771, + 99, + 771 + ] + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": { + "VendorName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 106, + 232, + 288, + 234, + 288, + 274, + 105, + 274 + ], + "page": 1, + "confidence": 0.921, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "CustomerAddressRecipient": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + }, + "VendorAddress": { + "type": "string", + "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", + "boundingBox": [ + 158, + 337, + 433, + 337, + 433, + 441, + 158, + 441 + ], + "page": 1, + "confidence": 0.907, + "elements": [ + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2", + "#/readResults/0/lines/3/words/3", + "#/readResults/0/lines/5/words/0", + "#/readResults/0/lines/5/words/1", + "#/readResults/0/lines/5/words/2", + "#/readResults/0/lines/7/words/0" + ] + }, + "CustomerAddress": { + "type": "string", + "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [ + 1036.1, + 337.1, + 1333.2, + 338.1, + 1333, + 408.4, + 1035.9, + 407.5 + ], + "page": 1, + "confidence": 0.995, + "elements": [ + "#/readResults/0/lines/4/words/0", + "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", + "#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2" + ] + }, + "InvoiceId": { + "type": "string", + "valueString": "34278587", + "text": "34278587", + "boundingBox": [ + 105, + 680, + 229, + 680, + 230, + 705, + 106, + 705 + ], + "page": 1, + "confidence": 0.768, + "elements": [ + "#/readResults/0/lines/13/words/0" + ] + }, + "InvoiceDate": { + "type": "date", + "valueDate": "2017-06-18", + "text": "6/18/2017", + "boundingBox": [ + 387, + 680, + 510, + 680, + 510, + 705, + 387, + 705 + ], + "page": 1, + "confidence": 0.89, + "elements": [ + "#/readResults/0/lines/14/words/0" + ] + }, + "DueDate": { + "type": "date", + "valueDate": "2017-06-24", + "text": "6/24/2017", + "boundingBox": [ + 668, + 679, + 792, + 679, + 792, + 705, + 667, + 705 + ], + "page": 1, + "confidence": 0.988, + "elements": [ + "#/readResults/0/lines/15/words/0" + ] + }, + "InvoiceTotal": { + "type": "number", + "valueNumber": 56651.49, + "text": "$56,651.49", + "boundingBox": [ + 1075, + 680, + 1224, + 680, + 1225, + 705, + 1075, + 707 + ], + "page": 1, + "confidence": 0.847, + "elements": [ + "#/readResults/0/lines/16/words/0" + ] + }, + "CustomerName": { + "type": "string", + "valueString": "Microsoft", + "text": "Microsoft", + "boundingBox": [ + 1035, + 299, + 1164, + 300, + 1165, + 326, + 1036, + 327 + ], + "page": 1, + "confidence": 0.993, + "elements": [ + "#/readResults/0/lines/2/words/2" + ] + } + } + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "317579107" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocale.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocale.json new file mode 100644 index 000000000000..d8afc1a7dad5 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocale.json @@ -0,0 +1,48 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false\u0026locale=not-locale", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-9bfc8ef8f3383f499ef3ccbc03f8b143-471ce1473be11b4e-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9db203714512c2557544c8073590844b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "936c3cb3-b970-4df0-9d7b-8d6fc70d7541", + "Content-Length": "169", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:37:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "404" + }, + "ResponseBody": { + "error": { + "code": "UnsupportedLocale", + "innerError": { + "requestId": "936c3cb3-b970-4df0-9d7b-8d6fc70d7541" + }, + "message": "Locale unsupported. Supported locale includes en-US." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "118110014" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocaleAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocaleAsync.json new file mode 100644 index 000000000000..1d87e6bbcef9 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/FormRecognizerClientLiveTests/StartRecognizeInvoicesWithWrongLocaleAsync.json @@ -0,0 +1,48 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false\u0026locale=not-locale", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "traceparent": "00-93942d87155bd5459e46226b7ebd92ad-9fc75c24b60e8645-00", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9e4c2bdaae3ea005d96829796f3e7250", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "ebed8841-b038-4804-bd6b-a229dc77a97c", + "Content-Length": "169", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:38:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "553" + }, + "ResponseBody": { + "error": { + "code": "UnsupportedLocale", + "innerError": { + "requestId": "ebed8841-b038-4804-bd6b-a229dc77a97c" + }, + "message": "Locale unsupported. Supported locale includes en-US." + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1080941112" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObject.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObject.json new file mode 100644 index 000000000000..e31d2e48e84b --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObject.json @@ -0,0 +1,396 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ece9b978c7298157130571782eff6aa8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:57:08 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "379" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "13a9e45d9a71317c3c95c8454226a3a2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4acfadb8-3671-447d-9c61-a22c888d8bfb", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:08Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "cca65bc5f22a657f742cb635ad8ef877", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "13264f5c-7c40-440d-a3bc-2a0b0b2bf82f", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "463139ed4d7adea03db7b094fe123eec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c852162-eb92-499c-b6cc-7ee5a1251d96", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d3b2cf629d596a7e64449e44e34684ad", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "459cf9de-dbe8-4113-9426-5f0dbf61cfe2", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0857519c5cf47827bac88f7241eb6661", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4f8a3672-6040-4246-836d-b6abef6c705b", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ddd3c9ee25dc501ebbc6e236ae5cfaf6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "29d6994f-06c1-42be-9f88-5bb555feee08", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "adf7023235bb05f8a83919900e0b2979", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5c64bce8-1477-41d4-a6d9-f22ea8b2d829", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "19563cdda77277d133074c2e7af1ca5d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "735fa21c-cf78-4f6d-b34c-4f2d0b9811e3", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3f3f98cdb9f4b8a6d1cd35a30b8d42b0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d0c9fb53-2741-4293-892c-4ec1d796a941", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7158699de1068b84307f79b4e9c98bb7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a8933b0c-904e-410c-85b7-4371ce6a04c4", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:09Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/4d4083ce-b535-4418-8ba2-12e901b7e7c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "75c3bb6fe9cb2484969d47a5712e6ca5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2a8e339d-2d7e-47c1-b1ee-469825897341", + "Content-Length": "327", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:57:08Z", + "lastUpdatedDateTime": "2020-11-02T21:57:19Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1 + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": {} + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1562695721" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObjectAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObjectAsync.json new file mode 100644 index 000000000000..d24950070074 --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/OperationsLiveTests/RecognizeInoicesOperationCanPollFromNewObjectAsync.json @@ -0,0 +1,246 @@ +{ + "Entries": [ + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "22", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "80a0d04967a5fcaf9d440a2ac877b992", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "source": "Sanitized" + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "397edcbb-fa35-4e6a-a90e-de604d599e92", + "Content-Length": "0", + "Date": "Mon, 02 Nov 2020 21:57:19 GMT", + "Operation-Location": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "327" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "524fd00c9410f673eb755198da233a9b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9a6fca8-ed5f-4d3b-9475-d9fcfcc3ac4a", + "Content-Length": "109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "notStarted", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:20Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "eca25db63fd2b3e54d2244d4806ff57f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4999e473-e993-41d0-9dcc-3d1c95af592e", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:20Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b9f619af746cb4e35caa95301516217a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1dd42698-fa02-4525-9b98-000a2eb760f3", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:20Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6b736f09cdd5ccbfeb9b05ed4f9e757b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "672aab1d-fc50-4efd-b67c-601906e0ed4c", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:20Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c0e9d280812c422e79ed8f28aab49d36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "48182b76-83d2-463f-83c2-e1aae5135822", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:20Z" + } + }, + { + "RequestUri": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/397edcbb-fa35-4e6a-a90e-de604d599e92", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": [ + "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20201102.1", + "(.NET Core 4.6.29130.01; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "11caca0089fce2aa5929cdd06ef564be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4050308b-17be-488e-b652-5252f77890ed", + "Content-Length": "327", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 02 Nov 2020 21:57:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "status": "succeeded", + "createdDateTime": "2020-11-02T21:57:20Z", + "lastUpdatedDateTime": "2020-11-02T21:57:25Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + } + ], + "pageResults": [ + { + "page": 1 + } + ], + "documentResults": [ + { + "docType": "prebuilt:invoice", + "pageRange": [ + 1, + 1 + ], + "fields": {} + } + ] + } + } + } + ], + "Variables": { + "FORM_RECOGNIZER_API_KEY": "Sanitized", + "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-westcentralus.cognitiveservices.azure.com/", + "RandomSeed": "1427867569" + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromFile.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromFile.cs new file mode 100644 index 000000000000..36d9851e02eb --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromFile.cs @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.IO; +using System.Threading.Tasks; +using Azure.AI.FormRecognizer.Models; +using Azure.AI.FormRecognizer.Tests; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.AI.FormRecognizer.Samples +{ + public partial class FormRecognizerSamples : SamplesBase + { + [Test] + public async Task RecognizeInvoicesFromFile() + { + string endpoint = TestEnvironment.Endpoint; + string apiKey = TestEnvironment.ApiKey; + + FormRecognizerClient client = new FormRecognizerClient(new Uri(endpoint), new AzureKeyCredential(apiKey)); + + string invoicePath = FormRecognizerTestEnvironment.CreatePath("Invoice_1.pdf"); + + #region Snippet:FormRecognizerSampleRecognizeInvoicesFileStream + using (FileStream stream = new FileStream(invoicePath, FileMode.Open)) + { + var options = new RecognizeInvoicesOptions() { Locale = "en-US" }; + RecognizedFormCollection invoices = await client.StartRecognizeInvoicesAsync(stream, options).WaitForCompletionAsync(); + + // To see the list of the supported fields returned by service and its corresponding types, consult: + // https://aka.ms/formrecognizer/invoicefields + + foreach (RecognizedForm invoice in invoices) + { + FormField invoiceIdField; + if (invoice.Fields.TryGetValue("InvoiceId", out invoiceIdField)) + { + if (invoiceIdField.Value.ValueType == FieldValueType.String) + { + string invoiceId = invoiceIdField.Value.AsString(); + Console.WriteLine($" Invoice Id: '{invoiceId}', with confidence {invoiceIdField.Confidence}"); + } + } + + FormField invoiceDateField; + if (invoice.Fields.TryGetValue("InvoiceDate", out invoiceDateField)) + { + if (invoiceDateField.Value.ValueType == FieldValueType.Date) + { + DateTime invoiceDate = invoiceDateField.Value.AsDate(); + Console.WriteLine($" Invoice Date: '{invoiceDate}', with confidence {invoiceDateField.Confidence}"); + } + } + + FormField dueDateField; + if (invoice.Fields.TryGetValue("DueDate", out dueDateField)) + { + if (dueDateField.Value.ValueType == FieldValueType.Date) + { + DateTime dueDate = dueDateField.Value.AsDate(); + Console.WriteLine($" Due Date: '{dueDate}', with confidence {dueDateField.Confidence}"); + } + } + + FormField vendorNameField; + if (invoice.Fields.TryGetValue("VendorName", out vendorNameField)) + { + if (vendorNameField.Value.ValueType == FieldValueType.String) + { + string vendorName = vendorNameField.Value.AsString(); + Console.WriteLine($" Vendor Name: '{vendorName}', with confidence {vendorNameField.Confidence}"); + } + } + + FormField vendorAddressField; + if (invoice.Fields.TryGetValue("VendorAddress", out vendorAddressField)) + { + if (vendorAddressField.Value.ValueType == FieldValueType.String) + { + string vendorAddress = vendorAddressField.Value.AsString(); + Console.WriteLine($" Vendor Address: '{vendorAddress}', with confidence {vendorAddressField.Confidence}"); + } + } + + FormField customerNameField; + if (invoice.Fields.TryGetValue("CustomerName", out customerNameField)) + { + if (customerNameField.Value.ValueType == FieldValueType.String) + { + string customerName = customerNameField.Value.AsString(); + Console.WriteLine($" Customer Name: '{customerName}', with confidence {customerNameField.Confidence}"); + } + } + + FormField customerAddressField; + if (invoice.Fields.TryGetValue("CustomerAddress", out customerAddressField)) + { + if (customerAddressField.Value.ValueType == FieldValueType.String) + { + string customerAddress = customerAddressField.Value.AsString(); + Console.WriteLine($" Customer Address: '{customerAddress}', with confidence {customerAddressField.Confidence}"); + } + } + + FormField customerAddressRecipientField; + if (invoice.Fields.TryGetValue("CustomerAddressRecipient", out customerAddressRecipientField)) + { + if (customerAddressRecipientField.Value.ValueType == FieldValueType.String) + { + string customerAddressRecipient = customerAddressRecipientField.Value.AsString(); + Console.WriteLine($" Customer address recipient: '{customerAddressRecipient}', with confidence {customerAddressRecipientField.Confidence}"); + } + } + + FormField invoiceTotalField; + if (invoice.Fields.TryGetValue("InvoiceTotal", out invoiceTotalField)) + { + if (invoiceTotalField.Value.ValueType == FieldValueType.Float) + { + float invoiceTotal = invoiceTotalField.Value.AsFloat(); + Console.WriteLine($" Invoice Total: '{invoiceTotal}', with confidence {invoiceTotalField.Confidence}"); + } + } + } + } + #endregion + } + } +} diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromUri.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromUri.cs new file mode 100644 index 000000000000..d9a52fd8491b --- /dev/null +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample13_RecognizeInvoicesFromUri.cs @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading.Tasks; +using Azure.AI.FormRecognizer.Models; +using Azure.AI.FormRecognizer.Tests; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.AI.FormRecognizer.Samples +{ + public partial class FormRecognizerSamples : SamplesBase + { + [Test] + public async Task RecognizeInvoicesFromUri() + { + string endpoint = TestEnvironment.Endpoint; + string apiKey = TestEnvironment.ApiKey; + + FormRecognizerClient client = new FormRecognizerClient(new Uri(endpoint), new AzureKeyCredential(apiKey)); + + Uri invoiceUri = FormRecognizerTestEnvironment.CreateUri("Invoice_1.pdf"); + + #region Snippet:FormRecognizerSampleRecognizeInvoicesUri + var options = new RecognizeInvoicesOptions() { Locale = "en-US" }; + RecognizedFormCollection invoices = await client.StartRecognizeInvoicesFromUriAsync(invoiceUri, options).WaitForCompletionAsync(); + + // To see the list of the supported fields returned by service and its corresponding types, consult: + // https://aka.ms/formrecognizer/invoicefields + + foreach (RecognizedForm invoice in invoices) + { + FormField invoiceIdField; + if (invoice.Fields.TryGetValue("InvoiceId", out invoiceIdField)) + { + if (invoiceIdField.Value.ValueType == FieldValueType.String) + { + string invoiceId = invoiceIdField.Value.AsString(); + Console.WriteLine($" Invoice Id: '{invoiceId}', with confidence {invoiceIdField.Confidence}"); + } + } + + FormField invoiceDateField; + if (invoice.Fields.TryGetValue("InvoiceDate", out invoiceDateField)) + { + if (invoiceDateField.Value.ValueType == FieldValueType.Date) + { + DateTime invoiceDate = invoiceDateField.Value.AsDate(); + Console.WriteLine($" Invoice Date: '{invoiceDate}', with confidence {invoiceDateField.Confidence}"); + } + } + + FormField dueDateField; + if (invoice.Fields.TryGetValue("DueDate", out dueDateField)) + { + if (dueDateField.Value.ValueType == FieldValueType.Date) + { + DateTime dueDate = dueDateField.Value.AsDate(); + Console.WriteLine($" Due Date: '{dueDate}', with confidence {dueDateField.Confidence}"); + } + } + + FormField vendorNameField; + if (invoice.Fields.TryGetValue("VendorName", out vendorNameField)) + { + if (vendorNameField.Value.ValueType == FieldValueType.String) + { + string vendorName = vendorNameField.Value.AsString(); + Console.WriteLine($" Vendor Name: '{vendorName}', with confidence {vendorNameField.Confidence}"); + } + } + + FormField vendorAddressField; + if (invoice.Fields.TryGetValue("VendorAddress", out vendorAddressField)) + { + if (vendorAddressField.Value.ValueType == FieldValueType.String) + { + string vendorAddress = vendorAddressField.Value.AsString(); + Console.WriteLine($" Vendor Address: '{vendorAddress}', with confidence {vendorAddressField.Confidence}"); + } + } + + FormField customerNameField; + if (invoice.Fields.TryGetValue("CustomerName", out customerNameField)) + { + if (customerNameField.Value.ValueType == FieldValueType.String) + { + string customerName = customerNameField.Value.AsString(); + Console.WriteLine($" Customer Name: '{customerName}', with confidence {customerNameField.Confidence}"); + } + } + + FormField customerAddressField; + if (invoice.Fields.TryGetValue("CustomerAddress", out customerAddressField)) + { + if (customerAddressField.Value.ValueType == FieldValueType.String) + { + string customerAddress = customerAddressField.Value.AsString(); + Console.WriteLine($" Customer Address: '{customerAddress}', with confidence {customerAddressField.Confidence}"); + } + } + + FormField customerAddressRecipientField; + if (invoice.Fields.TryGetValue("CustomerAddressRecipient", out customerAddressRecipientField)) + { + if (customerAddressRecipientField.Value.ValueType == FieldValueType.String) + { + string customerAddressRecipient = customerAddressRecipientField.Value.AsString(); + Console.WriteLine($" Customer address recipient: '{customerAddressRecipient}', with confidence {customerAddressRecipientField.Confidence}"); + } + } + + FormField invoiceTotalField; + if (invoice.Fields.TryGetValue("InvoiceTotal", out invoiceTotalField)) + { + if (invoiceTotalField.Value.ValueType == FieldValueType.Float) + { + float invoiceTotal = invoiceTotalField.Value.AsFloat(); + Console.WriteLine($" Invoice Total: '{invoiceTotal}', with confidence {invoiceTotalField.Confidence}"); + } + } + } + } + #endregion + } +} From 3b2a636979753518303addc944e5146596d0eb47 Mon Sep 17 00:00:00 2001 From: Mariana Rios Flores Date: Mon, 2 Nov 2020 16:23:48 -0800 Subject: [PATCH 2/4] pr feedback --- .../src/FormRecognizerClient.cs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs index 1cd59877100b..7cb88babe908 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormRecognizerClient.cs @@ -528,7 +528,7 @@ public virtual RecognizeBusinessCardsOperation StartRecognizeBusinessCardsFromUr /// /// Recognizes values from one or more invoices. - /// See for a list of available fields on an invoice. + /// See for a list of available fields on an invoice. /// /// The stream containing the one or more invoices to recognize values from. /// A set of options available for configuring the recognize request. @@ -562,7 +562,7 @@ public virtual async Task StartRecognizeInvoicesAsyn /// /// Recognizes values from one or more invoices. - /// See for a list of available fields on an invoice. + /// See for a list of available fields on an invoice. /// /// The stream containing the one or more invoices to recognize values from. /// A set of options available for configuring the recognize request. @@ -596,16 +596,16 @@ public virtual RecognizeInvoicesOperation StartRecognizeInvoices(Stream invoice, /// /// Recognizes values from one or more invoices. - /// See for a list of available fields on an invoice. + /// See for a list of available fields on an invoice. /// - /// The absolute URI of the remote file to recognize values from. + /// The absolute URI of the remote file to recognize values from. /// A set of options available for configuring the recognize request. /// A controlling the request lifetime. /// A to wait on this long-running operation. Its upon successful /// completion will contain the extracted invoices. - public virtual async Task StartRecognizeInvoicesFromUriAsync(Uri invoicesUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + public virtual async Task StartRecognizeInvoicesFromUriAsync(Uri invoiceUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(invoicesUri, nameof(invoicesUri)); + Argument.AssertNotNull(invoiceUri, nameof(invoiceUri)); recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); @@ -614,7 +614,7 @@ public virtual async Task StartRecognizeInvoicesFrom try { - SourcePath sourcePath = new SourcePath() { Source = invoicesUri.AbsoluteUri }; + SourcePath sourcePath = new SourcePath() { Source = invoiceUri.AbsoluteUri }; Response response = await ServiceClient.AnalyzeInvoiceAsyncAsync(includeTextDetails: recognizeInvoicesOptions.IncludeFieldElements, locale: recognizeInvoicesOptions.Locale, fileStream: sourcePath, cancellationToken).ConfigureAwait(false); string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); @@ -629,16 +629,16 @@ public virtual async Task StartRecognizeInvoicesFrom /// /// Recognizes values from one or more invoices. - /// See for a list of available fields on an invoice. + /// See for a list of available fields on an invoice. /// - /// The absolute URI of the remote file to recognize values from. + /// The absolute URI of the remote file to recognize values from. /// A set of options available for configuring the recognize request. /// A controlling the request lifetime. /// A to wait on this long-running operation. Its upon successful /// completion will contain the extracted invoices. - public virtual RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(Uri invoicesUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) + public virtual RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(Uri invoiceUri, RecognizeInvoicesOptions recognizeInvoicesOptions = default, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(invoicesUri, nameof(invoicesUri)); + Argument.AssertNotNull(invoiceUri, nameof(invoiceUri)); recognizeInvoicesOptions ??= new RecognizeInvoicesOptions(); @@ -647,7 +647,7 @@ public virtual RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(Uri invo try { - SourcePath sourcePath = new SourcePath() { Source = invoicesUri.AbsoluteUri }; + SourcePath sourcePath = new SourcePath() { Source = invoiceUri.AbsoluteUri }; Response response = ServiceClient.AnalyzeInvoiceAsync(includeTextDetails: recognizeInvoicesOptions.IncludeFieldElements, locale: recognizeInvoicesOptions.Locale, fileStream: sourcePath, cancellationToken); string location = ClientCommon.GetResponseHeader(response.Headers, Constants.OperationLocationHeader); From fb1487bdf950bbc43253753e1c85abef7bafa31c Mon Sep 17 00:00:00 2001 From: Mariana Rios Flores Date: Mon, 2 Nov 2020 16:25:21 -0800 Subject: [PATCH 3/4] export api --- .../api/Azure.AI.FormRecognizer.netstandard2.0.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs index 7d20dbb5bbc0..32214c5dc330 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/api/Azure.AI.FormRecognizer.netstandard2.0.cs @@ -30,8 +30,8 @@ public FormRecognizerClient(System.Uri endpoint, Azure.Core.TokenCredential cred public virtual System.Threading.Tasks.Task StartRecognizeCustomFormsFromUriAsync(string modelId, System.Uri formUri, Azure.AI.FormRecognizer.RecognizeCustomFormsOptions recognizeCustomFormsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation StartRecognizeInvoices(System.IO.Stream invoice, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartRecognizeInvoicesAsync(System.IO.Stream invoice, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(System.Uri invoicesUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRecognizeInvoicesFromUriAsync(System.Uri invoicesUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation StartRecognizeInvoicesFromUri(System.Uri invoiceUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRecognizeInvoicesFromUriAsync(System.Uri invoiceUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceipts(System.IO.Stream receipt, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartRecognizeReceiptsAsync(System.IO.Stream receipt, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceiptsFromUri(System.Uri receiptUri, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } From 1242d81e5bb3989f35e192fe3bf6d050cc51e814 Mon Sep 17 00:00:00 2001 From: Mariana Rios Flores Date: Mon, 2 Nov 2020 16:26:01 -0800 Subject: [PATCH 4/4] Update sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs Co-authored-by: Krista Pratico --- .../Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs index ab4cd334658f..3694fe703970 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeInvoicesOperation.cs @@ -12,7 +12,7 @@ namespace Azure.AI.FormRecognizer.Models { /// - /// Tracks the status of a long-running operation for recognizing values from business cards. + /// Tracks the status of a long-running operation for recognizing values from invoices. /// public class RecognizeInvoicesOperation : Operation {