From 36a8f414155a1ea6611ec094f2042ad0f52e3875 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Wed, 4 Nov 2020 16:41:34 -0500 Subject: [PATCH 1/2] add tests for invoice multipage --- ...st_invoice.test_invoice_multipage_pdf.yaml | 261 ++++++++ ...nvoice_stream_multipage_transform_pdf.yaml | 629 ++++++++++++++++++ ...oice_async.test_invoice_multipage_pdf.yaml | 155 +++++ ...nvoice_stream_multipage_transform_pdf.yaml | 593 +++++++++++++++++ ...e_from_url.test_invoice_multipage_pdf.yaml | 190 ++++++ ...t_invoice_url_multipage_transform_pdf.yaml | 628 +++++++++++++++++ ..._url_async.test_invoice_multipage_pdf.yaml | 179 +++++ ...t_invoice_url_multipage_transform_pdf.yaml | 594 +++++++++++++++++ .../tests/test_invoice.py | 70 ++ .../tests/test_invoice_async.py | 73 ++ .../tests/test_invoice_from_url.py | 65 ++ .../tests/test_invoice_from_url_async.py | 67 ++ .../azure-ai-formrecognizer/tests/testcase.py | 1 + 13 files changed, 3505 insertions(+) create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_multipage_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_url_multipage_transform_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_multipage_pdf.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_url_multipage_transform_pdf.yaml diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml new file mode 100644 index 000000000000..2aef6301762a --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml @@ -0,0 +1,261 @@ +interactions: +- request: + body: '!!! The request body has been omitted from the recording because its size + 711607 is larger than 128KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711607' + Content-Type: + - application/pdf + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: + - 492a7493-0ef2-4e15-a49e-8d7ceb76470f + content-length: + - '0' + date: + - Wed, 04 Nov 2020 20:46:27 GMT + operation-location: + - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '405' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": + "2020-11-04T20:46:28Z"}' + headers: + apim-request-id: + - 874759ef-3a9c-4e77-adf6-bd31bffb680c + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:46:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": + "2020-11-04T20:46:28Z"}' + headers: + apim-request-id: + - 3c5793a1-76bb-467c-b775-4bf3f196cf1b + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:46:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": + "2020-11-04T20:46:28Z"}' + headers: + apim-request-id: + - 16baf2d2-dbec-4c4b-9004-7a2a0b9ec6f8 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:46:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:46:27Z", + "lastUpdatedDateTime": "2020-11-04T20:46:44Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": + "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, + "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": + []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", + "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], + "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": + [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": + []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": + [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": + []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": + 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, + 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, + "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, + 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": + 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, + 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": + 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, + 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, + 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": + 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": + [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": + []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 + \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, + 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad + in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, + 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, + "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, + 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, + 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", + "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], + "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", + "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], + "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", + "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], + "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full + Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, + 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program + guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, + 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, + 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": + 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, + 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, + "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth + \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, + 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, + {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": + [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": + []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, + 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", + "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso + Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, + 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": + {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", + "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, + 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": + 0.952}}}]}}' + headers: + apim-request-id: + - 4c6bfbd3-8b4f-43f7-a66e-f1dcbf7c5b13 + content-length: + - '5652' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:46:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '22' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml new file mode 100644 index 000000000000..da557ccc8274 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml @@ -0,0 +1,629 @@ +interactions: +- request: + body: '!!! The request body has been omitted from the recording because its size + 711607 is larger than 128KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711607' + Content-Type: + - application/pdf + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + response: + body: + string: '' + headers: + apim-request-id: + - 7d787c12-eb1a-443f-a92d-53792d503d21 + content-length: + - '0' + date: + - Wed, 04 Nov 2020 20:40:12 GMT + operation-location: + - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '648' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:40:12Z", "lastUpdatedDateTime": + "2020-11-04T20:40:12Z"}' + headers: + apim-request-id: + - ce070961-1289-4bc0-9fcc-5d727d3843b0 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:40:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '82' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:40:12Z", + "lastUpdatedDateTime": "2020-11-04T20:40:21Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, + 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": + "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, 1.2403, + 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": [6.9307, + 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Vendor + Registration", "boundingBox": [2.2268, 1.5733, 6.2379, 1.5733, 6.2379, 2.005, + 2.2268, 2.005], "words": [{"text": "Vendor", "boundingBox": [2.2268, 1.5733, + 3.703, 1.5733, 3.703, 1.9207, 2.2268, 1.9207], "confidence": 1}, {"text": + "Registration", "boundingBox": [3.8661, 1.5883, 6.2379, 1.5883, 6.2379, 2.005, + 3.8661, 2.005], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "Contoso Ltd. Conference will be held on May + 28-29, 2020 at the Elm Conference Center in", "boundingBox": [1.0078, 2.5846, + 7.0776, 2.5846, 7.0776, 2.7293, 1.0078, 2.7293], "words": [{"text": "Contoso", + "boundingBox": [1.0078, 2.5919, 1.5548, 2.5919, 1.5548, 2.7013, 1.0078, 2.7013], + "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, 2.5856, 1.843, + 2.5856, 1.843, 2.7013, 1.6125, 2.7013], "confidence": 1}, {"text": "Conference", + "boundingBox": [1.8996, 2.5846, 2.6636, 2.5846, 2.6636, 2.7013, 1.8996, 2.7013], + "confidence": 1}, {"text": "will", "boundingBox": [2.7122, 2.5852, 2.9307, + 2.5852, 2.9307, 2.7003, 2.7122, 2.7003], "confidence": 1}, {"text": "be", + "boundingBox": [2.9922, 2.5852, 3.1419, 2.5852, 3.1419, 2.7013, 2.9922, 2.7013], + "confidence": 1}, {"text": "held", "boundingBox": [3.1987, 2.5852, 3.4704, + 2.5852, 3.4704, 2.7013, 3.1987, 2.7013], "confidence": 1}, {"text": "on", + "boundingBox": [3.53, 2.62, 3.6846, 2.62, 3.6846, 2.7013, 3.53, 2.7013], "confidence": + 1}, {"text": "May", "boundingBox": [3.7498, 2.5934, 4.0422, 2.5934, 4.0422, + 2.7293, 3.7498, 2.7293], "confidence": 1}, {"text": "28-29,", "boundingBox": + [4.0877, 2.5914, 4.5042, 2.5914, 4.5042, 2.7236, 4.0877, 2.7236], "confidence": + 1}, {"text": "2020", "boundingBox": [4.5586, 2.5914, 4.884, 2.5914, 4.884, + 2.7017, 4.5586, 2.7017], "confidence": 1}, {"text": "at", "boundingBox": [4.9351, + 2.6014, 5.0577, 2.6014, 5.0577, 2.7013, 4.9351, 2.7013], "confidence": 1}, + {"text": "the", "boundingBox": [5.1033, 2.5852, 5.3202, 2.5852, 5.3202, 2.7013, + 5.1033, 2.7013], "confidence": 1}, {"text": "Elm", "boundingBox": [5.3787, + 2.5852, 5.6051, 2.5852, 5.6051, 2.7003, 5.3787, 2.7003], "confidence": 1}, + {"text": "Conference", "boundingBox": [5.6624, 2.5846, 6.4263, 2.5846, 6.4263, + 2.7013, 5.6624, 2.7013], "confidence": 1}, {"text": "Center", "boundingBox": + [6.4796, 2.5919, 6.9234, 2.5919, 6.9234, 2.7013, 6.4796, 2.7013], "confidence": + 1}, {"text": "in", "boundingBox": [6.9765, 2.5905, 7.0776, 2.5905, 7.0776, + 2.7003, 6.9765, 2.7003], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Maple City, Massachusetts. The conference + has sold out of its 1,500 tickets, with a 400 person", "boundingBox": [1.014, + 2.8029, 7.3457, 2.8029, 7.3457, 2.9478, 1.014, 2.9478], "words": [{"text": + "Maple", "boundingBox": [1.014, 2.8036, 1.4242, 2.8036, 1.4242, 2.9478, 1.014, + 2.9478], "confidence": 1}, {"text": "City,", "boundingBox": [1.4763, 2.8089, + 1.7576, 2.8089, 1.7576, 2.9478, 1.4763, 2.9478], "confidence": 1}, {"text": + "Massachusetts.", "boundingBox": [1.8195, 2.8036, 2.8383, 2.8036, 2.8383, + 2.9197, 1.8195, 2.9197], "confidence": 1}, {"text": "The", "boundingBox": + [2.8883, 2.8036, 3.1326, 2.8036, 3.1326, 2.9197, 2.8883, 2.9197], "confidence": + 1}, {"text": "conference", "boundingBox": [3.1842, 2.8029, 3.9301, 2.8029, + 3.9301, 2.9197, 3.1842, 2.9197], "confidence": 1}, {"text": "has", "boundingBox": + [3.9871, 2.8036, 4.2019, 2.8036, 4.2019, 2.9197, 3.9871, 2.9197], "confidence": + 1}, {"text": "sold", "boundingBox": [4.2529, 2.8036, 4.5104, 2.8036, 4.5104, + 2.9197, 4.2529, 2.9197], "confidence": 1}, {"text": "out", "boundingBox": + [4.5701, 2.8197, 4.7871, 2.8197, 4.7871, 2.9197, 4.5701, 2.9197], "confidence": + 1}, {"text": "of", "boundingBox": [4.8373, 2.8029, 4.9701, 2.8029, 4.9701, + 2.9197, 4.8373, 2.9197], "confidence": 1}, {"text": "its", "boundingBox": + [5.0169, 2.8089, 5.1601, 2.8089, 5.1601, 2.9197, 5.0169, 2.9197], "confidence": + 1}, {"text": "1,500", "boundingBox": [5.2167, 2.81, 5.5766, 2.81, 5.5766, + 2.9418, 5.2167, 2.9418], "confidence": 1}, {"text": "tickets,", "boundingBox": + [5.6227, 2.8036, 6.0928, 2.8036, 6.0928, 2.9418, 5.6227, 2.9418], "confidence": + 1}, {"text": "with", "boundingBox": [6.1461, 2.8036, 6.4308, 2.8036, 6.4308, + 2.9195, 6.1461, 2.9195], "confidence": 1}, {"text": "a", "boundingBox": [6.488, + 2.8383, 6.548, 2.8383, 6.548, 2.9197, 6.488, 2.9197], "confidence": 1}, {"text": + "400", "boundingBox": [6.6016, 2.81, 6.8449, 2.81, 6.8449, 2.9197, 6.6016, + 2.9197], "confidence": 1}, {"text": "person", "boundingBox": [6.8998, 2.8383, + 7.3457, 2.8383, 7.3457, 2.9478, 6.8998, 2.9478], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "waitlist. Vendor + applications are being accepted through Feb 28, 2020. Please fill in the form", + "boundingBox": [1.0043, 3.0229, 7.2482, 3.0229, 7.2482, 3.1678, 1.0043, 3.1678], + "words": [{"text": "waitlist.", "boundingBox": [1.0043, 3.0236, 1.5194, 3.0236, + 1.5194, 3.1397, 1.0043, 3.1397], "confidence": 1}, {"text": "Vendor", "boundingBox": + [1.5733, 3.0239, 2.0654, 3.0239, 2.0654, 3.1397, 1.5733, 3.1397], "confidence": + 1}, {"text": "applications", "boundingBox": [2.1132, 3.0236, 2.9143, 3.0236, + 2.9143, 3.1678, 2.1132, 3.1678], "confidence": 1}, {"text": "are", "boundingBox": + [2.9675, 3.0583, 3.1726, 3.0583, 3.1726, 3.1397, 2.9675, 3.1397], "confidence": + 1}, {"text": "being", "boundingBox": [3.2306, 3.0236, 3.5889, 3.0236, 3.5889, + 3.1678, 3.2306, 3.1678], "confidence": 1}, {"text": "accepted", "boundingBox": + [3.6388, 3.0239, 4.2336, 3.0239, 4.2336, 3.1678, 3.6388, 3.1678], "confidence": + 1}, {"text": "through", "boundingBox": [4.2862, 3.0236, 4.8127, 3.0236, 4.8127, + 3.1678, 4.2862, 3.1678], "confidence": 1}, {"text": "Feb", "boundingBox": + [4.8815, 3.0236, 5.1133, 3.0236, 5.1133, 3.14, 4.8815, 3.14], "confidence": + 1}, {"text": "28,", "boundingBox": [5.163, 3.0297, 5.361, 3.0297, 5.361, 3.162, + 5.163, 3.162], "confidence": 1}, {"text": "2020.", "boundingBox": [5.413, + 3.0297, 5.7774, 3.0297, 5.7774, 3.14, 5.413, 3.14], "confidence": 1}, {"text": + "Please", "boundingBox": [5.8406, 3.0236, 6.2537, 3.0236, 6.2537, 3.1397, + 5.8406, 3.1397], "confidence": 1}, {"text": "fill", "boundingBox": [6.3022, + 3.0229, 6.4539, 3.0229, 6.4539, 3.1387, 6.3022, 3.1387], "confidence": 1}, + {"text": "in", "boundingBox": [6.5131, 3.0289, 6.6158, 3.0289, 6.6158, 3.1387, + 6.5131, 3.1387], "confidence": 1}, {"text": "the", "boundingBox": [6.6673, + 3.0236, 6.8842, 3.0236, 6.8842, 3.1397, 6.6673, 3.1397], "confidence": 1}, + {"text": "form", "boundingBox": [6.9317, 3.0229, 7.2482, 3.0229, 7.2482, 3.1397, + 6.9317, 3.1397], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "below, and attach a check made out to:", "boundingBox": + [1.0125, 3.2436, 3.6599, 3.2436, 3.6599, 3.3818, 1.0125, 3.3818], "words": + [{"text": "below,", "boundingBox": [1.0125, 3.2436, 1.4459, 3.2436, 1.4459, + 3.3818, 1.0125, 3.3818], "confidence": 1}, {"text": "and", "boundingBox": + [1.5024, 3.2439, 1.7371, 3.2439, 1.7371, 3.3597, 1.5024, 3.3597], "confidence": + 1}, {"text": "attach", "boundingBox": [1.7968, 3.2436, 2.2047, 3.2436, 2.2047, + 3.3597, 1.7968, 3.3597], "confidence": 1}, {"text": "a", "boundingBox": [2.2619, + 3.2783, 2.3219, 3.2783, 2.3219, 3.3597, 2.2619, 3.3597], "confidence": 1}, + {"text": "check", "boundingBox": [2.379, 3.2436, 2.7529, 3.2436, 2.7529, 3.3597, + 2.379, 3.3597], "confidence": 1}, {"text": "made", "boundingBox": [2.8076, + 3.2439, 3.17, 3.2439, 3.17, 3.3597, 2.8076, 3.3597], "confidence": 1}, {"text": + "out", "boundingBox": [3.2251, 3.2597, 3.4421, 3.2597, 3.4421, 3.3597, 3.2251, + 3.3597], "confidence": 1}, {"text": "to:", "boundingBox": [3.4869, 3.2597, + 3.6599, 3.2597, 3.6599, 3.3597, 3.4869, 3.3597], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contoso Ltd.", "boundingBox": + [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], "words": [{"text": + "Contoso", "boundingBox": [1.0078, 3.5802, 1.5548, 3.5802, 1.5548, 3.6897, + 1.0078, 3.6897], "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, + 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.6125, 3.6897], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "2345 + Dogwood Lane", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 3.9378, + 1.0093, 3.9378], "words": [{"text": "2345", "boundingBox": [1.0093, 3.8, 1.3297, + 3.8, 1.3297, 3.9097, 1.0093, 3.9097], "confidence": 1}, {"text": "Dogwood", + "boundingBox": [1.3899, 3.7939, 2.0149, 3.7939, 2.0149, 3.9378, 1.3899, 3.9378], + "confidence": 1}, {"text": "Lane", "boundingBox": [2.0788, 3.8012, 2.3768, + 3.8012, 2.3768, 3.9097, 2.0788, 3.9097], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Birch, Kansas 98123", + "boundingBox": [1.014, 4.0136, 2.3377, 4.0136, 2.3377, 4.1518, 1.014, 4.1518], + "words": [{"text": "Birch,", "boundingBox": [1.014, 4.0136, 1.3745, 4.0136, + 1.3745, 4.1518, 1.014, 4.1518], "confidence": 1}, {"text": "Kansas", "boundingBox": + [1.4375, 4.0212, 1.8819, 4.0212, 1.8819, 4.1297, 1.4375, 4.1297], "confidence": + 1}, {"text": "98123", "boundingBox": [1.9318, 4.02, 2.3377, 4.02, 2.3377, + 4.1297, 1.9318, 4.1297], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Rates:", "boundingBox": [1.0204, 4.4248, + 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], "words": [{"text": "Rates:", + "boundingBox": [1.0204, 4.4248, 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Package", "boundingBox": [1.0923, 4.6986, 1.6232, 4.6986, + 1.6232, 4.8428, 1.0923, 4.8428], "words": [{"text": "Package", "boundingBox": + [1.0923, 4.6986, 1.6232, 4.6986, 1.6232, 4.8428, 1.0923, 4.8428], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Included", "boundingBox": [2.713, 4.6986, 3.2707, 4.6986, 3.2707, 4.8147, + 2.713, 4.8147], "words": [{"text": "Included", "boundingBox": [2.713, 4.6986, + 3.2707, 4.6986, 3.2707, 4.8147, 2.713, 4.8147], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Price", "boundingBox": + [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, 4.8147], "words": [{"text": + "Price", "boundingBox": [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, + 4.8147], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Gold Sponsor", "boundingBox": [1.0857, 4.9086, 1.9831, 4.9086, + 1.9831, 5.0528, 1.0857, 5.0528], "words": [{"text": "Gold", "boundingBox": + [1.0857, 4.9086, 1.3842, 4.9086, 1.3842, 5.0247, 1.0857, 5.0247], "confidence": + 1}, {"text": "Sponsor", "boundingBox": [1.4423, 4.915, 1.9831, 4.915, 1.9831, + 5.0528, 1.4423, 5.0528], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 4.954, + 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 4.954, 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 4.9169, 3.8726, 4.9169, + 3.8726, 5.033, 3.214, 5.033], "words": [{"text": "Full", "boundingBox": [3.214, + 4.9169, 3.4295, 4.9169, 3.4295, 5.033, 3.214, 5.033], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 4.9169, 3.8726, 4.9169, 3.8726, 5.033, 3.492, + 5.033], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,500", "boundingBox": [5.8328, 4.8977, 6.2829, 4.8977, 6.2829, + 5.0468, 5.8328, 5.0468], "words": [{"text": "$1,500", "boundingBox": [5.8328, + 4.8977, 6.2829, 4.8977, 6.2829, 5.0468, 5.8328, 5.0468], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, 3.018, 5.2279, 2.9586, 5.2279], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, + 3.018, 5.2279, 2.9586, 5.2279], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Pre-keynote thank you", "boundingBox": + [3.214, 5.1302, 4.7267, 5.1302, 4.7267, 5.2744, 3.214, 5.2744], "words": [{"text": + "Pre-keynote", "boundingBox": [3.214, 5.1302, 4.0183, 5.1302, 4.0183, 5.2744, + 3.214, 5.2744], "confidence": 1}, {"text": "thank", "boundingBox": [4.0665, + 5.1302, 4.4475, 5.1302, 4.4475, 5.2463, 4.0665, 5.2463], "confidence": 1}, + {"text": "you", "boundingBox": [4.4903, 5.165, 4.7267, 5.165, 4.7267, 5.2744, + 4.4903, 5.2744], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.379, 3.018, + 5.379, 3.018, 5.4395, 2.9586, 5.4395], "words": [{"text": "\uf0b7", "boundingBox": + [2.9586, 5.379, 3.018, 5.379, 3.018, 5.4395, 2.9586, 5.4395], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Logo on poster", "boundingBox": [3.214, 5.3495, 4.2093, 5.3495, 4.2093, 5.4861, + 3.214, 5.4861], "words": [{"text": "Logo", "boundingBox": [3.214, 5.3495, + 3.5163, 5.3495, 3.5163, 5.4861, 3.214, 5.4861], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 5.3767, 3.7244, 5.3767, 3.7244, 5.458, 3.5686, + 5.458], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 5.358, + 4.2093, 5.358, 4.2093, 5.4861, 3.7888, 5.4861], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, 5.6529], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, + 5.6529], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full page ad in program guide", "boundingBox": [3.214, 5.5552, + 5.201, 5.5552, 5.201, 5.6994, 3.214, 5.6994], "words": [{"text": "Full", "boundingBox": + [3.214, 5.5552, 3.4295, 5.5552, 3.4295, 5.6713, 3.214, 5.6713], "confidence": + 1}, {"text": "page", "boundingBox": [3.492, 5.59, 3.7989, 5.59, 3.7989, 5.6994, + 3.492, 5.6994], "confidence": 1}, {"text": "ad", "boundingBox": [3.8519, 5.5556, + 3.9991, 5.5556, 3.9991, 5.6713, 3.8519, 5.6713], "confidence": 1}, {"text": + "in", "boundingBox": [4.0599, 5.5605, 4.1626, 5.5605, 4.1626, 5.6703, 4.0599, + 5.6703], "confidence": 1}, {"text": "program", "boundingBox": [4.2248, 5.59, + 4.7839, 5.59, 4.7839, 5.6994, 4.2248, 5.6994], "confidence": 1}, {"text": + "guide", "boundingBox": [4.8367, 5.5556, 5.201, 5.5556, 5.201, 5.6994, 4.8367, + 5.6994], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.804, 3.018, 5.804, 3.018, + 5.8645, 2.9586, 5.8645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 5.804, 3.018, 5.804, 3.018, 5.8645, 2.9586, 5.8645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Silver Sponsor", + "boundingBox": [1.0842, 5.9786, 2.0339, 5.9786, 2.0339, 6.1228, 1.0842, 6.1228], + "words": [{"text": "Silver", "boundingBox": [1.0842, 5.9786, 1.4443, 5.9786, + 1.4443, 6.0947, 1.0842, 6.0947], "confidence": 1}, {"text": "Sponsor", "boundingBox": + [1.4904, 5.985, 2.0339, 5.985, 2.0339, 6.1228, 1.4904, 6.1228], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, 6.024, 3.018, 6.0845, 2.9586, + 6.0845], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, + 6.024, 3.018, 6.0845, 2.9586, 6.0845], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full booth", "boundingBox": + [3.214, 5.9869, 3.8726, 5.9869, 3.8726, 6.103, 3.214, 6.103], "words": [{"text": + "Full", "boundingBox": [3.214, 5.9869, 3.4295, 5.9869, 3.4295, 6.103, 3.214, + 6.103], "confidence": 1}, {"text": "booth", "boundingBox": [3.492, 5.9869, + 3.8726, 5.9869, 3.8726, 6.103, 3.492, 6.103], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "$1,200", "boundingBox": + [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, 6.1168, 5.8328, 6.1168], "words": + [{"text": "$1,200", "boundingBox": [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, + 6.1168, 5.8328, 6.1168], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.2356, + 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.2356, 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Post-keynote thank you", "boundingBox": [3.214, 6.1986, 4.7938, + 6.1986, 4.7938, 6.3428, 3.214, 6.3428], "words": [{"text": "Post-keynote", + "boundingBox": [3.214, 6.1986, 4.0878, 6.1986, 4.0878, 6.3428, 3.214, 6.3428], + "confidence": 1}, {"text": "thank", "boundingBox": [4.1348, 6.1986, 4.5158, + 6.1986, 4.5158, 6.3147, 4.1348, 6.3147], "confidence": 1}, {"text": "you", + "boundingBox": [4.5586, 6.2333, 4.7938, 6.2333, 4.7938, 6.3428, 4.5586, 6.3428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.4473, 3.018, 6.4473, 3.018, + 6.5079, 2.9586, 6.5079], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 6.4473, 3.018, 6.4473, 3.018, 6.5079, 2.9586, 6.5079], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Logo + on poster", "boundingBox": [3.214, 6.4179, 4.2093, 6.4179, 4.2093, 6.5544, + 3.214, 6.5544], "words": [{"text": "Logo", "boundingBox": [3.214, 6.4179, + 3.5163, 6.4179, 3.5163, 6.5544, 3.214, 6.5544], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 6.445, 3.7244, 6.445, 3.7244, 6.5263, 3.5686, + 6.5263], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 6.4264, + 4.2093, 6.4264, 4.2093, 6.5544, 3.7888, 6.5544], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, 6.7212], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, + 6.7212], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Half page ad in program guide", "boundingBox": [3.214, 6.6229, + 5.2314, 6.6229, 5.2314, 6.7678, 3.214, 6.7678], "words": [{"text": "Half", + "boundingBox": [3.214, 6.6229, 3.4739, 6.6229, 3.4739, 6.7397, 3.214, 6.7397], + "confidence": 1}, {"text": "page", "boundingBox": [3.5224, 6.6583, 3.8326, + 6.6583, 3.8326, 6.7678, 3.5224, 6.7678], "confidence": 1}, {"text": "ad", + "boundingBox": [3.8843, 6.6239, 4.0315, 6.6239, 4.0315, 6.7397, 3.8843, 6.7397], + "confidence": 1}, {"text": "in", "boundingBox": [4.0923, 6.6289, 4.195, 6.6289, + 4.195, 6.7387, 4.0923, 6.7387], "confidence": 1}, {"text": "program", "boundingBox": + [4.2563, 6.6583, 4.8148, 6.6583, 4.8148, 6.7678, 4.2563, 6.7678], "confidence": + 1}, {"text": "guide", "boundingBox": [4.8695, 6.6239, 5.2314, 6.6239, 5.2314, + 6.7678, 4.8695, 6.7678], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Bronze Sponsor", "boundingBox": [1.0923, + 6.84, 2.1362, 6.84, 2.1362, 6.9778, 1.0923, 6.9778], "words": [{"text": "Bronze", + "boundingBox": [1.0923, 6.8417, 1.545, 6.8417, 1.545, 6.9497, 1.0923, 6.9497], + "confidence": 1}, {"text": "Sponsor", "boundingBox": [1.5951, 6.84, 2.1362, + 6.84, 2.1362, 6.9778, 1.5951, 6.9778], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, + 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 6.8419, 3.8726, 6.8419, + 3.8726, 6.958, 3.214, 6.958], "words": [{"text": "Full", "boundingBox": [3.214, + 6.8419, 3.4295, 6.8419, 3.4295, 6.958, 3.214, 6.958], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 6.8419, 3.8726, 6.8419, 3.8726, 6.958, 3.492, + 6.958], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,000", "boundingBox": [5.8328, 6.8227, 6.2829, 6.8227, 6.2829, + 6.9718, 5.8328, 6.9718], "words": [{"text": "$1,000", "boundingBox": [5.8328, + 6.8227, 6.2829, 6.8227, 6.2829, 6.9718, 5.8328, 6.9718], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, 3.018, 7.1529, 2.9586, 7.1529], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, + 3.018, 7.1529, 2.9586, 7.1529], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Logo on poster", "boundingBox": + [3.214, 7.0629, 4.2093, 7.0629, 4.2093, 7.1994, 3.214, 7.1994], "words": [{"text": + "Logo", "boundingBox": [3.214, 7.0629, 3.5163, 7.0629, 3.5163, 7.1994, 3.214, + 7.1994], "confidence": 1}, {"text": "on", "boundingBox": [3.5686, 7.09, 3.7244, + 7.09, 3.7244, 7.1713, 3.5686, 7.1713], "confidence": 1}, {"text": "poster", + "boundingBox": [3.7888, 7.0714, 4.2093, 7.0714, 4.2093, 7.1994, 3.7888, 7.1994], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.304, 3.018, 7.304, 3.018, + 7.3645, 2.9586, 7.3645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.304, 3.018, 7.304, 3.018, 7.3645, 2.9586, 7.3645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.2672, 5.3419, 7.2672, 5.3419, 7.4111, + 3.2082, 7.4111], "words": [{"text": "50%", "boundingBox": [3.2082, 7.2717, + 3.4817, 7.2717, 3.4817, 7.3845, 3.2082, 7.3845], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.2672, 4.1018, 7.2672, 4.1018, 7.383, + 3.533, 7.383], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.3017, + 4.307, 7.3017, 4.307, 7.383, 4.1512, 7.383], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.3017, 4.9253, 7.3017, 4.9253, 7.4111, 4.3682, 7.4111], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.2672, 5.3419, + 7.2672, 5.3419, 7.4111, 4.981, 7.4111], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 7.4706, 4.2429, 7.4706, 4.2429, 7.5863, 3.2075, 7.5863], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 7.4706, 4.2429, 7.4706, + 4.2429, 7.5863, 3.2075, 7.5863], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full Booth", "boundingBox": + [1.0923, 7.6819, 1.7537, 7.6819, 1.7537, 7.798, 1.0923, 7.798], "words": [{"text": + "Full", "boundingBox": [1.0923, 7.6819, 1.3079, 7.6819, 1.3079, 7.798, 1.0923, + 7.798], "confidence": 1}, {"text": "Booth", "boundingBox": [1.3718, 7.6819, + 1.7537, 7.6819, 1.7537, 7.798, 1.3718, 7.798], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, 7.7879], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, + 7.7879], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 7.6902, 3.8726, 7.6902, + 3.8726, 7.8063, 3.214, 7.8063], "words": [{"text": "Full", "boundingBox": + [3.214, 7.6902, 3.4295, 7.6902, 3.4295, 7.8063, 3.214, 7.8063], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 7.6902, 3.8726, 7.6902, 3.8726, + 7.8063, 3.492, 7.8063], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$600", "boundingBox": [5.8328, 7.6711, + 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], "words": [{"text": "$600", + "boundingBox": [5.8328, 7.6711, 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.939, 3.018, 7.939, 3.018, + 7.9995, 2.9586, 7.9995], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.939, 3.018, 7.939, 3.018, 7.9995, 2.9586, 7.9995], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.9022, 5.3419, 7.9022, 5.3419, 8.0461, + 3.2082, 8.0461], "words": [{"text": "50%", "boundingBox": [3.2082, 7.9067, + 3.4817, 7.9067, 3.4817, 8.0195, 3.2082, 8.0195], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.9022, 4.1018, 7.9022, 4.1018, 8.018, + 3.533, 8.018], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.9367, + 4.307, 7.9367, 4.307, 8.018, 4.1512, 8.018], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.9367, 4.9253, 7.9367, 4.9253, 8.0461, 4.3682, 8.0461], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.9022, 5.3419, + 7.9022, 5.3419, 8.0461, 4.981, 8.0461], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.1056, 4.2429, 8.1056, 4.2429, 8.2213, 3.2075, 8.2213], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.1056, 4.2429, 8.1056, + 4.2429, 8.2213, 3.2075, 8.2213], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Half Booth", "boundingBox": + [1.0923, 8.3162, 1.7854, 8.3162, 1.7854, 8.433, 1.0923, 8.433], "words": [{"text": + "Half", "boundingBox": [1.0923, 8.3162, 1.3522, 8.3162, 1.3522, 8.433, 1.0923, + 8.433], "confidence": 1}, {"text": "Booth", "boundingBox": [1.4022, 8.3169, + 1.7854, 8.3169, 1.7854, 8.433, 1.4022, 8.433], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, 8.4229], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, + 8.4229], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 8.3252, 3.8726, 8.3252, + 3.8726, 8.4413, 3.214, 8.4413], "words": [{"text": "Full", "boundingBox": + [3.214, 8.3252, 3.4295, 8.3252, 3.4295, 8.4413, 3.214, 8.4413], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 8.3252, 3.8726, 8.3252, 3.8726, + 8.4413, 3.492, 8.4413], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$350", "boundingBox": [5.8328, 8.3061, + 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], "words": [{"text": "$350", + "boundingBox": [5.8328, 8.3061, 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 8.574, 3.018, 8.574, 3.018, + 8.6345, 2.9586, 8.6345], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 8.574, 3.018, 8.574, 3.018, 8.6345, 2.9586, 8.6345], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "25% discount on + program guide", "boundingBox": [3.2093, 8.5372, 5.3419, 8.5372, 5.3419, 8.6811, + 3.2093, 8.6811], "words": [{"text": "25%", "boundingBox": [3.2093, 8.5417, + 3.4817, 8.5417, 3.4817, 8.6545, 3.2093, 8.6545], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 8.5372, 4.1018, 8.5372, 4.1018, 8.653, + 3.533, 8.653], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 8.5717, + 4.307, 8.5717, 4.307, 8.653, 4.1512, 8.653], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 8.5717, 4.9253, 8.5717, 4.9253, 8.6811, 4.3682, 8.6811], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 8.5372, 5.3419, + 8.5372, 5.3419, 8.6811, 4.981, 8.6811], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.7406, 4.2429, 8.7406, 4.2429, 8.8563, 3.2075, 8.8563], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.7406, 4.2429, 8.7406, + 4.2429, 8.8563, 3.2075, 8.8563], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}]}, {"page": 2, "angle": 0, "width": 8.5, + "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": + [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": + [{"text": "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, + 1.2403, 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": + [6.9307, 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Vendor Details:", "boundingBox": [1.0044, 2.1771, 2.35, 2.1771, 2.35, 2.3315, + 1.0044, 2.3315], "words": [{"text": "Vendor", "boundingBox": [1.0044, 2.1778, + 1.6496, 2.1778, 1.6496, 2.3315, 1.0044, 2.3315], "confidence": 1}, {"text": + "Details:", "boundingBox": [1.7239, 2.1771, 2.35, 2.1771, 2.35, 2.3315, 1.7239, + 2.3315], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Company Name: Southridge Video", "boundingBox": [1.0065, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 1.0065, 2.9128], "words": [{"text": "Company", + "boundingBox": [1.0065, 2.7749, 1.651, 2.7749, 1.651, 2.9126, 1.0065, 2.9126], + "confidence": 1}, {"text": "Name:", "boundingBox": [1.7019, 2.7764, 2.1376, + 2.7764, 2.1376, 2.885, 1.7019, 2.885], "confidence": 1}, {"text": "Southridge", + "boundingBox": [2.1925, 2.7686, 2.9184, 2.7686, 2.9184, 2.9128, 2.1925, 2.9128], + "confidence": 1}, {"text": "Video", "boundingBox": [2.9691, 2.7689, 3.3477, + 2.7689, 3.3477, 2.8847, 2.9691, 2.8847], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contact: Jamie@southridgevideo.com", + "boundingBox": [1.0065, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.0065, 3.2428], + "words": [{"text": "Contact:", "boundingBox": [1.0065, 3.1049, 1.5706, 3.1049, + 1.5706, 3.215, 1.0065, 3.215], "confidence": 1}, {"text": "Jamie@southridgevideo.com", + "boundingBox": [1.6205, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.6205, 3.2428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Preferred Package: Gold", "boundingBox": [1.0115, 3.4296, + 2.6542, 3.4296, 2.6542, 3.5744, 1.0115, 3.5744], "words": [{"text": "Preferred", + "boundingBox": [1.0115, 3.4296, 1.6499, 3.4296, 1.6499, 3.5467, 1.0115, 3.5467], + "confidence": 1}, {"text": "Package:", "boundingBox": [1.7092, 3.4302, 2.2978, + 3.4302, 2.2978, 3.5744, 1.7092, 3.5744], "confidence": 1}, {"text": "Gold", + "boundingBox": [2.3557, 3.4302, 2.6542, 3.4302, 2.6542, 3.5463, 2.3557, 3.5463], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Special Requests: N/a", "boundingBox": [1.0052, 3.7537, 2.4783, + 3.7537, 2.4783, 3.9043, 1.0052, 3.9043], "words": [{"text": "Special", "boundingBox": + [1.0052, 3.7602, 1.475, 3.7602, 1.475, 3.9043, 1.0052, 3.9043], "confidence": + 1}, {"text": "Requests:", "boundingBox": [1.5342, 3.7684, 2.1899, 3.7684, + 2.1899, 3.9043, 1.5342, 3.9043], "confidence": 1}, {"text": "N/a", "boundingBox": + [2.254, 3.7537, 2.4783, 3.7537, 2.4783, 3.8976, 2.254, 3.8976], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": + 0, "columnIndex": 0, "text": "Package", "boundingBox": [0.9975, 4.6436, 2.6168, + 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": ["#/readResults/0/lines/10/words/0"]}, + {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": + [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], "elements": + ["#/readResults/0/lines/11/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": + "Price", "boundingBox": [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, + 4.8578], "elements": ["#/readResults/0/lines/12/words/0"]}, {"rowIndex": 1, + "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, + 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": ["#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1"]}, {"rowIndex": 1, "columnIndex": 1, "text": + "\uf0b7", "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, + 5.0849], "elements": ["#/readResults/0/lines/14/words/0"]}, {"rowIndex": 1, + "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": ["#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1"]}, {"rowIndex": 1, "columnIndex": 3, "text": + "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, 5.0849, + 5.7422, 5.0849], "elements": ["#/readResults/0/lines/16/words/0"]}, {"rowIndex": + 2, "columnIndex": 0, "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, + 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": + 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, + 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198], "elements": ["#/readResults/0/lines/17/words/0", + "#/readResults/0/lines/19/words/0"]}, {"rowIndex": 2, "columnIndex": 2, "text": + "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, 5.7422, + 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": ["#/readResults/0/lines/18/words/0", + "#/readResults/0/lines/18/words/1", "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/20/words/0", + "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2"]}, + {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, + 5.0849, 7.4882, 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": + 3, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program + guide", "boundingBox": [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, + 5.7534], "elements": ["#/readResults/0/lines/21/words/0", "#/readResults/0/lines/22/words/0", + "#/readResults/0/lines/22/words/1", "#/readResults/0/lines/22/words/2", "#/readResults/0/lines/22/words/3", + "#/readResults/0/lines/22/words/4", "#/readResults/0/lines/22/words/5"]}, + {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": ["#/readResults/0/lines/23/words/0"]}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + ["#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853], "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/30/words/0", "#/readResults/0/lines/32/words/0"]}, + {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Post-keynote + thank you Logo on poster Half page ad in program guide", "boundingBox": [3.15, + 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853], "elements": ["#/readResults/0/lines/26/words/0", + "#/readResults/0/lines/26/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/31/words/0", "#/readResults/0/lines/31/words/1", + "#/readResults/0/lines/31/words/2", "#/readResults/0/lines/33/words/0", "#/readResults/0/lines/33/words/1", + "#/readResults/0/lines/33/words/2", "#/readResults/0/lines/33/words/3", "#/readResults/0/lines/33/words/4", + "#/readResults/0/lines/33/words/5"]}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": ["#/readResults/0/lines/27/words/0"]}, + {"rowIndex": 7, "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", + "boundingBox": [0.9975, 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629], + "elements": ["#/readResults/0/lines/34/words/0", "#/readResults/0/lines/34/words/1"]}, + {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 6.7853, 3.15, 6.7853, 3.15, 7.019, 2.6168, 7.019], "elements": ["#/readResults/0/lines/35/words/0"]}, + {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Logo on + poster 50% discount on program guide advertisements", "boundingBox": [3.15, + 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], "elements": ["#/readResults/0/lines/36/words/0", + "#/readResults/0/lines/36/words/1", "#/readResults/0/lines/39/words/0", "#/readResults/0/lines/39/words/1", + "#/readResults/0/lines/39/words/2", "#/readResults/0/lines/41/words/0", "#/readResults/0/lines/41/words/1", + "#/readResults/0/lines/41/words/2", "#/readResults/0/lines/41/words/3", "#/readResults/0/lines/41/words/4", + "#/readResults/0/lines/42/words/0"]}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": + 2, "text": "$1,000", "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, + 7.6355, 5.7489, 7.6355], "elements": ["#/readResults/0/lines/37/words/0"]}, + {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], "elements": + ["#/readResults/0/lines/38/words/0", "#/readResults/0/lines/40/words/0"]}, + {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": + [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, 8.2651], "elements": + ["#/readResults/0/lines/43/words/0", "#/readResults/0/lines/43/words/1"]}, + {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 + Full booth \uf0b7 50% discount on program guide advertisements", "boundingBox": + [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, 8.2651, 2.6102, 8.2651], "elements": + ["#/readResults/0/lines/44/words/0", "#/readResults/0/lines/45/words/0", "#/readResults/0/lines/45/words/1", + "#/readResults/0/lines/47/words/0", "#/readResults/0/lines/48/words/0", "#/readResults/0/lines/48/words/1", + "#/readResults/0/lines/48/words/2", "#/readResults/0/lines/48/words/3", "#/readResults/0/lines/48/words/4", + "#/readResults/0/lines/49/words/0"]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": + 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, 7.4948, + 8.2651, 5.7489, 8.2651], "elements": ["#/readResults/0/lines/46/words/0"]}, + {"rowIndex": 11, "columnIndex": 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": + [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": + ["#/readResults/0/lines/50/words/0", "#/readResults/0/lines/50/words/1"]}, + {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": + "\uf0b7 Full booth \uf0b7 25% discount on program guide advertisements", "boundingBox": + [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": + ["#/readResults/0/lines/51/words/0", "#/readResults/0/lines/52/words/0", "#/readResults/0/lines/52/words/1", + "#/readResults/0/lines/54/words/0", "#/readResults/0/lines/55/words/0", "#/readResults/0/lines/55/words/1", + "#/readResults/0/lines/55/words/2", "#/readResults/0/lines/55/words/3", "#/readResults/0/lines/55/words/4", + "#/readResults/0/lines/56/words/0"]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": + 2, "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, + 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], + "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, + {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": + [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge + Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, + 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": + ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", + "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], + "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", + "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood + Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, + 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": + ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", + "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + headers: + apim-request-id: + - 04c7f109-402b-457f-9569-3bc07e397d4d + content-length: + - '37206' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:40:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '87' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml new file mode 100644 index 000000000000..b9150d5b6e1b --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml @@ -0,0 +1,155 @@ +interactions: +- request: + body: '!!! The request body has been omitted from the recording because its size + 711607 is larger than 128KB. !!!' + headers: + Accept: + - application/json + Content-Type: + - application/pdf + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: a480f4c6-c32a-43f3-a75c-4f8623945f7b + content-length: '0' + date: Wed, 04 Nov 2020 20:46:27 GMT + operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '231' + status: + code: 202 + message: Accepted + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:28Z", "lastUpdatedDateTime": + "2020-11-04T20:46:28Z"}' + headers: + apim-request-id: 17cb6d57-18b5-4600-8a45-a863d2e404eb + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:46:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:46:28Z", + "lastUpdatedDateTime": "2020-11-04T20:46:38Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": + "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, + "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": + []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", + "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], + "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": + [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": + []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": + [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": + []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": + 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, + 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, + "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, + 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": + 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, + 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": + 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, + 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, + 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": + 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": + [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": + []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 + \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, + 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad + in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, + 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, + "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, + 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, + 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", + "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], + "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", + "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], + "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", + "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], + "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full + Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, + 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program + guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, + 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, + 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": + 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, + 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, + "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth + \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, + 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, + {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": + [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": + []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, + 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", + "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso + Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, + 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": + {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", + "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, + 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": + 0.952}}}]}}' + headers: + apim-request-id: 83e15191-9457-4def-9b78-6ce0a70ea17f + content-length: '5652' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:46:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '21' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml new file mode 100644 index 000000000000..8f742e89eee7 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml @@ -0,0 +1,593 @@ +interactions: +- request: + body: '!!! The request body has been omitted from the recording because its size + 711607 is larger than 128KB. !!!' + headers: + Accept: + - application/json + Content-Type: + - application/pdf + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + response: + body: + string: '' + headers: + apim-request-id: 27660112-b5c7-4493-ae12-aaa9a13d11d4 + content-length: '0' + date: Wed, 04 Nov 2020 20:40:12 GMT + operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '317' + status: + code: 202 + message: Accepted + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:40:13Z", "lastUpdatedDateTime": + "2020-11-04T20:40:13Z"}' + headers: + apim-request-id: f5f0ae33-e3a2-4842-9769-e42cc47edaba + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:40:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '15' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:40:13Z", + "lastUpdatedDateTime": "2020-11-04T20:40:21Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, + 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": + "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, 1.2403, + 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": [6.9307, + 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Vendor + Registration", "boundingBox": [2.2268, 1.5733, 6.2379, 1.5733, 6.2379, 2.005, + 2.2268, 2.005], "words": [{"text": "Vendor", "boundingBox": [2.2268, 1.5733, + 3.703, 1.5733, 3.703, 1.9207, 2.2268, 1.9207], "confidence": 1}, {"text": + "Registration", "boundingBox": [3.8661, 1.5883, 6.2379, 1.5883, 6.2379, 2.005, + 3.8661, 2.005], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "Contoso Ltd. Conference will be held on May + 28-29, 2020 at the Elm Conference Center in", "boundingBox": [1.0078, 2.5846, + 7.0776, 2.5846, 7.0776, 2.7293, 1.0078, 2.7293], "words": [{"text": "Contoso", + "boundingBox": [1.0078, 2.5919, 1.5548, 2.5919, 1.5548, 2.7013, 1.0078, 2.7013], + "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, 2.5856, 1.843, + 2.5856, 1.843, 2.7013, 1.6125, 2.7013], "confidence": 1}, {"text": "Conference", + "boundingBox": [1.8996, 2.5846, 2.6636, 2.5846, 2.6636, 2.7013, 1.8996, 2.7013], + "confidence": 1}, {"text": "will", "boundingBox": [2.7122, 2.5852, 2.9307, + 2.5852, 2.9307, 2.7003, 2.7122, 2.7003], "confidence": 1}, {"text": "be", + "boundingBox": [2.9922, 2.5852, 3.1419, 2.5852, 3.1419, 2.7013, 2.9922, 2.7013], + "confidence": 1}, {"text": "held", "boundingBox": [3.1987, 2.5852, 3.4704, + 2.5852, 3.4704, 2.7013, 3.1987, 2.7013], "confidence": 1}, {"text": "on", + "boundingBox": [3.53, 2.62, 3.6846, 2.62, 3.6846, 2.7013, 3.53, 2.7013], "confidence": + 1}, {"text": "May", "boundingBox": [3.7498, 2.5934, 4.0422, 2.5934, 4.0422, + 2.7293, 3.7498, 2.7293], "confidence": 1}, {"text": "28-29,", "boundingBox": + [4.0877, 2.5914, 4.5042, 2.5914, 4.5042, 2.7236, 4.0877, 2.7236], "confidence": + 1}, {"text": "2020", "boundingBox": [4.5586, 2.5914, 4.884, 2.5914, 4.884, + 2.7017, 4.5586, 2.7017], "confidence": 1}, {"text": "at", "boundingBox": [4.9351, + 2.6014, 5.0577, 2.6014, 5.0577, 2.7013, 4.9351, 2.7013], "confidence": 1}, + {"text": "the", "boundingBox": [5.1033, 2.5852, 5.3202, 2.5852, 5.3202, 2.7013, + 5.1033, 2.7013], "confidence": 1}, {"text": "Elm", "boundingBox": [5.3787, + 2.5852, 5.6051, 2.5852, 5.6051, 2.7003, 5.3787, 2.7003], "confidence": 1}, + {"text": "Conference", "boundingBox": [5.6624, 2.5846, 6.4263, 2.5846, 6.4263, + 2.7013, 5.6624, 2.7013], "confidence": 1}, {"text": "Center", "boundingBox": + [6.4796, 2.5919, 6.9234, 2.5919, 6.9234, 2.7013, 6.4796, 2.7013], "confidence": + 1}, {"text": "in", "boundingBox": [6.9765, 2.5905, 7.0776, 2.5905, 7.0776, + 2.7003, 6.9765, 2.7003], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Maple City, Massachusetts. The conference + has sold out of its 1,500 tickets, with a 400 person", "boundingBox": [1.014, + 2.8029, 7.3457, 2.8029, 7.3457, 2.9478, 1.014, 2.9478], "words": [{"text": + "Maple", "boundingBox": [1.014, 2.8036, 1.4242, 2.8036, 1.4242, 2.9478, 1.014, + 2.9478], "confidence": 1}, {"text": "City,", "boundingBox": [1.4763, 2.8089, + 1.7576, 2.8089, 1.7576, 2.9478, 1.4763, 2.9478], "confidence": 1}, {"text": + "Massachusetts.", "boundingBox": [1.8195, 2.8036, 2.8383, 2.8036, 2.8383, + 2.9197, 1.8195, 2.9197], "confidence": 1}, {"text": "The", "boundingBox": + [2.8883, 2.8036, 3.1326, 2.8036, 3.1326, 2.9197, 2.8883, 2.9197], "confidence": + 1}, {"text": "conference", "boundingBox": [3.1842, 2.8029, 3.9301, 2.8029, + 3.9301, 2.9197, 3.1842, 2.9197], "confidence": 1}, {"text": "has", "boundingBox": + [3.9871, 2.8036, 4.2019, 2.8036, 4.2019, 2.9197, 3.9871, 2.9197], "confidence": + 1}, {"text": "sold", "boundingBox": [4.2529, 2.8036, 4.5104, 2.8036, 4.5104, + 2.9197, 4.2529, 2.9197], "confidence": 1}, {"text": "out", "boundingBox": + [4.5701, 2.8197, 4.7871, 2.8197, 4.7871, 2.9197, 4.5701, 2.9197], "confidence": + 1}, {"text": "of", "boundingBox": [4.8373, 2.8029, 4.9701, 2.8029, 4.9701, + 2.9197, 4.8373, 2.9197], "confidence": 1}, {"text": "its", "boundingBox": + [5.0169, 2.8089, 5.1601, 2.8089, 5.1601, 2.9197, 5.0169, 2.9197], "confidence": + 1}, {"text": "1,500", "boundingBox": [5.2167, 2.81, 5.5766, 2.81, 5.5766, + 2.9418, 5.2167, 2.9418], "confidence": 1}, {"text": "tickets,", "boundingBox": + [5.6227, 2.8036, 6.0928, 2.8036, 6.0928, 2.9418, 5.6227, 2.9418], "confidence": + 1}, {"text": "with", "boundingBox": [6.1461, 2.8036, 6.4308, 2.8036, 6.4308, + 2.9195, 6.1461, 2.9195], "confidence": 1}, {"text": "a", "boundingBox": [6.488, + 2.8383, 6.548, 2.8383, 6.548, 2.9197, 6.488, 2.9197], "confidence": 1}, {"text": + "400", "boundingBox": [6.6016, 2.81, 6.8449, 2.81, 6.8449, 2.9197, 6.6016, + 2.9197], "confidence": 1}, {"text": "person", "boundingBox": [6.8998, 2.8383, + 7.3457, 2.8383, 7.3457, 2.9478, 6.8998, 2.9478], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "waitlist. Vendor + applications are being accepted through Feb 28, 2020. Please fill in the form", + "boundingBox": [1.0043, 3.0229, 7.2482, 3.0229, 7.2482, 3.1678, 1.0043, 3.1678], + "words": [{"text": "waitlist.", "boundingBox": [1.0043, 3.0236, 1.5194, 3.0236, + 1.5194, 3.1397, 1.0043, 3.1397], "confidence": 1}, {"text": "Vendor", "boundingBox": + [1.5733, 3.0239, 2.0654, 3.0239, 2.0654, 3.1397, 1.5733, 3.1397], "confidence": + 1}, {"text": "applications", "boundingBox": [2.1132, 3.0236, 2.9143, 3.0236, + 2.9143, 3.1678, 2.1132, 3.1678], "confidence": 1}, {"text": "are", "boundingBox": + [2.9675, 3.0583, 3.1726, 3.0583, 3.1726, 3.1397, 2.9675, 3.1397], "confidence": + 1}, {"text": "being", "boundingBox": [3.2306, 3.0236, 3.5889, 3.0236, 3.5889, + 3.1678, 3.2306, 3.1678], "confidence": 1}, {"text": "accepted", "boundingBox": + [3.6388, 3.0239, 4.2336, 3.0239, 4.2336, 3.1678, 3.6388, 3.1678], "confidence": + 1}, {"text": "through", "boundingBox": [4.2862, 3.0236, 4.8127, 3.0236, 4.8127, + 3.1678, 4.2862, 3.1678], "confidence": 1}, {"text": "Feb", "boundingBox": + [4.8815, 3.0236, 5.1133, 3.0236, 5.1133, 3.14, 4.8815, 3.14], "confidence": + 1}, {"text": "28,", "boundingBox": [5.163, 3.0297, 5.361, 3.0297, 5.361, 3.162, + 5.163, 3.162], "confidence": 1}, {"text": "2020.", "boundingBox": [5.413, + 3.0297, 5.7774, 3.0297, 5.7774, 3.14, 5.413, 3.14], "confidence": 1}, {"text": + "Please", "boundingBox": [5.8406, 3.0236, 6.2537, 3.0236, 6.2537, 3.1397, + 5.8406, 3.1397], "confidence": 1}, {"text": "fill", "boundingBox": [6.3022, + 3.0229, 6.4539, 3.0229, 6.4539, 3.1387, 6.3022, 3.1387], "confidence": 1}, + {"text": "in", "boundingBox": [6.5131, 3.0289, 6.6158, 3.0289, 6.6158, 3.1387, + 6.5131, 3.1387], "confidence": 1}, {"text": "the", "boundingBox": [6.6673, + 3.0236, 6.8842, 3.0236, 6.8842, 3.1397, 6.6673, 3.1397], "confidence": 1}, + {"text": "form", "boundingBox": [6.9317, 3.0229, 7.2482, 3.0229, 7.2482, 3.1397, + 6.9317, 3.1397], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "below, and attach a check made out to:", "boundingBox": + [1.0125, 3.2436, 3.6599, 3.2436, 3.6599, 3.3818, 1.0125, 3.3818], "words": + [{"text": "below,", "boundingBox": [1.0125, 3.2436, 1.4459, 3.2436, 1.4459, + 3.3818, 1.0125, 3.3818], "confidence": 1}, {"text": "and", "boundingBox": + [1.5024, 3.2439, 1.7371, 3.2439, 1.7371, 3.3597, 1.5024, 3.3597], "confidence": + 1}, {"text": "attach", "boundingBox": [1.7968, 3.2436, 2.2047, 3.2436, 2.2047, + 3.3597, 1.7968, 3.3597], "confidence": 1}, {"text": "a", "boundingBox": [2.2619, + 3.2783, 2.3219, 3.2783, 2.3219, 3.3597, 2.2619, 3.3597], "confidence": 1}, + {"text": "check", "boundingBox": [2.379, 3.2436, 2.7529, 3.2436, 2.7529, 3.3597, + 2.379, 3.3597], "confidence": 1}, {"text": "made", "boundingBox": [2.8076, + 3.2439, 3.17, 3.2439, 3.17, 3.3597, 2.8076, 3.3597], "confidence": 1}, {"text": + "out", "boundingBox": [3.2251, 3.2597, 3.4421, 3.2597, 3.4421, 3.3597, 3.2251, + 3.3597], "confidence": 1}, {"text": "to:", "boundingBox": [3.4869, 3.2597, + 3.6599, 3.2597, 3.6599, 3.3597, 3.4869, 3.3597], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contoso Ltd.", "boundingBox": + [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], "words": [{"text": + "Contoso", "boundingBox": [1.0078, 3.5802, 1.5548, 3.5802, 1.5548, 3.6897, + 1.0078, 3.6897], "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, + 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.6125, 3.6897], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "2345 + Dogwood Lane", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 3.9378, + 1.0093, 3.9378], "words": [{"text": "2345", "boundingBox": [1.0093, 3.8, 1.3297, + 3.8, 1.3297, 3.9097, 1.0093, 3.9097], "confidence": 1}, {"text": "Dogwood", + "boundingBox": [1.3899, 3.7939, 2.0149, 3.7939, 2.0149, 3.9378, 1.3899, 3.9378], + "confidence": 1}, {"text": "Lane", "boundingBox": [2.0788, 3.8012, 2.3768, + 3.8012, 2.3768, 3.9097, 2.0788, 3.9097], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Birch, Kansas 98123", + "boundingBox": [1.014, 4.0136, 2.3377, 4.0136, 2.3377, 4.1518, 1.014, 4.1518], + "words": [{"text": "Birch,", "boundingBox": [1.014, 4.0136, 1.3745, 4.0136, + 1.3745, 4.1518, 1.014, 4.1518], "confidence": 1}, {"text": "Kansas", "boundingBox": + [1.4375, 4.0212, 1.8819, 4.0212, 1.8819, 4.1297, 1.4375, 4.1297], "confidence": + 1}, {"text": "98123", "boundingBox": [1.9318, 4.02, 2.3377, 4.02, 2.3377, + 4.1297, 1.9318, 4.1297], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Rates:", "boundingBox": [1.0204, 4.4248, + 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], "words": [{"text": "Rates:", + "boundingBox": [1.0204, 4.4248, 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Package", "boundingBox": [1.0923, 4.6986, 1.6232, 4.6986, + 1.6232, 4.8428, 1.0923, 4.8428], "words": [{"text": "Package", "boundingBox": + [1.0923, 4.6986, 1.6232, 4.6986, 1.6232, 4.8428, 1.0923, 4.8428], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Included", "boundingBox": [2.713, 4.6986, 3.2707, 4.6986, 3.2707, 4.8147, + 2.713, 4.8147], "words": [{"text": "Included", "boundingBox": [2.713, 4.6986, + 3.2707, 4.6986, 3.2707, 4.8147, 2.713, 4.8147], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Price", "boundingBox": + [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, 4.8147], "words": [{"text": + "Price", "boundingBox": [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, + 4.8147], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Gold Sponsor", "boundingBox": [1.0857, 4.9086, 1.9831, 4.9086, + 1.9831, 5.0528, 1.0857, 5.0528], "words": [{"text": "Gold", "boundingBox": + [1.0857, 4.9086, 1.3842, 4.9086, 1.3842, 5.0247, 1.0857, 5.0247], "confidence": + 1}, {"text": "Sponsor", "boundingBox": [1.4423, 4.915, 1.9831, 4.915, 1.9831, + 5.0528, 1.4423, 5.0528], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 4.954, + 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 4.954, 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 4.9169, 3.8726, 4.9169, + 3.8726, 5.033, 3.214, 5.033], "words": [{"text": "Full", "boundingBox": [3.214, + 4.9169, 3.4295, 4.9169, 3.4295, 5.033, 3.214, 5.033], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 4.9169, 3.8726, 4.9169, 3.8726, 5.033, 3.492, + 5.033], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,500", "boundingBox": [5.8328, 4.8977, 6.2829, 4.8977, 6.2829, + 5.0468, 5.8328, 5.0468], "words": [{"text": "$1,500", "boundingBox": [5.8328, + 4.8977, 6.2829, 4.8977, 6.2829, 5.0468, 5.8328, 5.0468], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, 3.018, 5.2279, 2.9586, 5.2279], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, + 3.018, 5.2279, 2.9586, 5.2279], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Pre-keynote thank you", "boundingBox": + [3.214, 5.1302, 4.7267, 5.1302, 4.7267, 5.2744, 3.214, 5.2744], "words": [{"text": + "Pre-keynote", "boundingBox": [3.214, 5.1302, 4.0183, 5.1302, 4.0183, 5.2744, + 3.214, 5.2744], "confidence": 1}, {"text": "thank", "boundingBox": [4.0665, + 5.1302, 4.4475, 5.1302, 4.4475, 5.2463, 4.0665, 5.2463], "confidence": 1}, + {"text": "you", "boundingBox": [4.4903, 5.165, 4.7267, 5.165, 4.7267, 5.2744, + 4.4903, 5.2744], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.379, 3.018, + 5.379, 3.018, 5.4395, 2.9586, 5.4395], "words": [{"text": "\uf0b7", "boundingBox": + [2.9586, 5.379, 3.018, 5.379, 3.018, 5.4395, 2.9586, 5.4395], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Logo on poster", "boundingBox": [3.214, 5.3495, 4.2093, 5.3495, 4.2093, 5.4861, + 3.214, 5.4861], "words": [{"text": "Logo", "boundingBox": [3.214, 5.3495, + 3.5163, 5.3495, 3.5163, 5.4861, 3.214, 5.4861], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 5.3767, 3.7244, 5.3767, 3.7244, 5.458, 3.5686, + 5.458], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 5.358, + 4.2093, 5.358, 4.2093, 5.4861, 3.7888, 5.4861], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, 5.6529], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, + 5.6529], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full page ad in program guide", "boundingBox": [3.214, 5.5552, + 5.201, 5.5552, 5.201, 5.6994, 3.214, 5.6994], "words": [{"text": "Full", "boundingBox": + [3.214, 5.5552, 3.4295, 5.5552, 3.4295, 5.6713, 3.214, 5.6713], "confidence": + 1}, {"text": "page", "boundingBox": [3.492, 5.59, 3.7989, 5.59, 3.7989, 5.6994, + 3.492, 5.6994], "confidence": 1}, {"text": "ad", "boundingBox": [3.8519, 5.5556, + 3.9991, 5.5556, 3.9991, 5.6713, 3.8519, 5.6713], "confidence": 1}, {"text": + "in", "boundingBox": [4.0599, 5.5605, 4.1626, 5.5605, 4.1626, 5.6703, 4.0599, + 5.6703], "confidence": 1}, {"text": "program", "boundingBox": [4.2248, 5.59, + 4.7839, 5.59, 4.7839, 5.6994, 4.2248, 5.6994], "confidence": 1}, {"text": + "guide", "boundingBox": [4.8367, 5.5556, 5.201, 5.5556, 5.201, 5.6994, 4.8367, + 5.6994], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.804, 3.018, 5.804, 3.018, + 5.8645, 2.9586, 5.8645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 5.804, 3.018, 5.804, 3.018, 5.8645, 2.9586, 5.8645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Silver Sponsor", + "boundingBox": [1.0842, 5.9786, 2.0339, 5.9786, 2.0339, 6.1228, 1.0842, 6.1228], + "words": [{"text": "Silver", "boundingBox": [1.0842, 5.9786, 1.4443, 5.9786, + 1.4443, 6.0947, 1.0842, 6.0947], "confidence": 1}, {"text": "Sponsor", "boundingBox": + [1.4904, 5.985, 2.0339, 5.985, 2.0339, 6.1228, 1.4904, 6.1228], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, 6.024, 3.018, 6.0845, 2.9586, + 6.0845], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, + 6.024, 3.018, 6.0845, 2.9586, 6.0845], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full booth", "boundingBox": + [3.214, 5.9869, 3.8726, 5.9869, 3.8726, 6.103, 3.214, 6.103], "words": [{"text": + "Full", "boundingBox": [3.214, 5.9869, 3.4295, 5.9869, 3.4295, 6.103, 3.214, + 6.103], "confidence": 1}, {"text": "booth", "boundingBox": [3.492, 5.9869, + 3.8726, 5.9869, 3.8726, 6.103, 3.492, 6.103], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "$1,200", "boundingBox": + [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, 6.1168, 5.8328, 6.1168], "words": + [{"text": "$1,200", "boundingBox": [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, + 6.1168, 5.8328, 6.1168], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.2356, + 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.2356, 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Post-keynote thank you", "boundingBox": [3.214, 6.1986, 4.7938, + 6.1986, 4.7938, 6.3428, 3.214, 6.3428], "words": [{"text": "Post-keynote", + "boundingBox": [3.214, 6.1986, 4.0878, 6.1986, 4.0878, 6.3428, 3.214, 6.3428], + "confidence": 1}, {"text": "thank", "boundingBox": [4.1348, 6.1986, 4.5158, + 6.1986, 4.5158, 6.3147, 4.1348, 6.3147], "confidence": 1}, {"text": "you", + "boundingBox": [4.5586, 6.2333, 4.7938, 6.2333, 4.7938, 6.3428, 4.5586, 6.3428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.4473, 3.018, 6.4473, 3.018, + 6.5079, 2.9586, 6.5079], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 6.4473, 3.018, 6.4473, 3.018, 6.5079, 2.9586, 6.5079], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Logo + on poster", "boundingBox": [3.214, 6.4179, 4.2093, 6.4179, 4.2093, 6.5544, + 3.214, 6.5544], "words": [{"text": "Logo", "boundingBox": [3.214, 6.4179, + 3.5163, 6.4179, 3.5163, 6.5544, 3.214, 6.5544], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 6.445, 3.7244, 6.445, 3.7244, 6.5263, 3.5686, + 6.5263], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 6.4264, + 4.2093, 6.4264, 4.2093, 6.5544, 3.7888, 6.5544], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, 6.7212], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, + 6.7212], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Half page ad in program guide", "boundingBox": [3.214, 6.6229, + 5.2314, 6.6229, 5.2314, 6.7678, 3.214, 6.7678], "words": [{"text": "Half", + "boundingBox": [3.214, 6.6229, 3.4739, 6.6229, 3.4739, 6.7397, 3.214, 6.7397], + "confidence": 1}, {"text": "page", "boundingBox": [3.5224, 6.6583, 3.8326, + 6.6583, 3.8326, 6.7678, 3.5224, 6.7678], "confidence": 1}, {"text": "ad", + "boundingBox": [3.8843, 6.6239, 4.0315, 6.6239, 4.0315, 6.7397, 3.8843, 6.7397], + "confidence": 1}, {"text": "in", "boundingBox": [4.0923, 6.6289, 4.195, 6.6289, + 4.195, 6.7387, 4.0923, 6.7387], "confidence": 1}, {"text": "program", "boundingBox": + [4.2563, 6.6583, 4.8148, 6.6583, 4.8148, 6.7678, 4.2563, 6.7678], "confidence": + 1}, {"text": "guide", "boundingBox": [4.8695, 6.6239, 5.2314, 6.6239, 5.2314, + 6.7678, 4.8695, 6.7678], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Bronze Sponsor", "boundingBox": [1.0923, + 6.84, 2.1362, 6.84, 2.1362, 6.9778, 1.0923, 6.9778], "words": [{"text": "Bronze", + "boundingBox": [1.0923, 6.8417, 1.545, 6.8417, 1.545, 6.9497, 1.0923, 6.9497], + "confidence": 1}, {"text": "Sponsor", "boundingBox": [1.5951, 6.84, 2.1362, + 6.84, 2.1362, 6.9778, 1.5951, 6.9778], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, + 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 6.8419, 3.8726, 6.8419, + 3.8726, 6.958, 3.214, 6.958], "words": [{"text": "Full", "boundingBox": [3.214, + 6.8419, 3.4295, 6.8419, 3.4295, 6.958, 3.214, 6.958], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 6.8419, 3.8726, 6.8419, 3.8726, 6.958, 3.492, + 6.958], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,000", "boundingBox": [5.8328, 6.8227, 6.2829, 6.8227, 6.2829, + 6.9718, 5.8328, 6.9718], "words": [{"text": "$1,000", "boundingBox": [5.8328, + 6.8227, 6.2829, 6.8227, 6.2829, 6.9718, 5.8328, 6.9718], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, 3.018, 7.1529, 2.9586, 7.1529], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, + 3.018, 7.1529, 2.9586, 7.1529], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Logo on poster", "boundingBox": + [3.214, 7.0629, 4.2093, 7.0629, 4.2093, 7.1994, 3.214, 7.1994], "words": [{"text": + "Logo", "boundingBox": [3.214, 7.0629, 3.5163, 7.0629, 3.5163, 7.1994, 3.214, + 7.1994], "confidence": 1}, {"text": "on", "boundingBox": [3.5686, 7.09, 3.7244, + 7.09, 3.7244, 7.1713, 3.5686, 7.1713], "confidence": 1}, {"text": "poster", + "boundingBox": [3.7888, 7.0714, 4.2093, 7.0714, 4.2093, 7.1994, 3.7888, 7.1994], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.304, 3.018, 7.304, 3.018, + 7.3645, 2.9586, 7.3645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.304, 3.018, 7.304, 3.018, 7.3645, 2.9586, 7.3645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.2672, 5.3419, 7.2672, 5.3419, 7.4111, + 3.2082, 7.4111], "words": [{"text": "50%", "boundingBox": [3.2082, 7.2717, + 3.4817, 7.2717, 3.4817, 7.3845, 3.2082, 7.3845], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.2672, 4.1018, 7.2672, 4.1018, 7.383, + 3.533, 7.383], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.3017, + 4.307, 7.3017, 4.307, 7.383, 4.1512, 7.383], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.3017, 4.9253, 7.3017, 4.9253, 7.4111, 4.3682, 7.4111], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.2672, 5.3419, + 7.2672, 5.3419, 7.4111, 4.981, 7.4111], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 7.4706, 4.2429, 7.4706, 4.2429, 7.5863, 3.2075, 7.5863], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 7.4706, 4.2429, 7.4706, + 4.2429, 7.5863, 3.2075, 7.5863], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full Booth", "boundingBox": + [1.0923, 7.6819, 1.7537, 7.6819, 1.7537, 7.798, 1.0923, 7.798], "words": [{"text": + "Full", "boundingBox": [1.0923, 7.6819, 1.3079, 7.6819, 1.3079, 7.798, 1.0923, + 7.798], "confidence": 1}, {"text": "Booth", "boundingBox": [1.3718, 7.6819, + 1.7537, 7.6819, 1.7537, 7.798, 1.3718, 7.798], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, 7.7879], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, + 7.7879], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 7.6902, 3.8726, 7.6902, + 3.8726, 7.8063, 3.214, 7.8063], "words": [{"text": "Full", "boundingBox": + [3.214, 7.6902, 3.4295, 7.6902, 3.4295, 7.8063, 3.214, 7.8063], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 7.6902, 3.8726, 7.6902, 3.8726, + 7.8063, 3.492, 7.8063], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$600", "boundingBox": [5.8328, 7.6711, + 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], "words": [{"text": "$600", + "boundingBox": [5.8328, 7.6711, 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.939, 3.018, 7.939, 3.018, + 7.9995, 2.9586, 7.9995], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.939, 3.018, 7.939, 3.018, 7.9995, 2.9586, 7.9995], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.9022, 5.3419, 7.9022, 5.3419, 8.0461, + 3.2082, 8.0461], "words": [{"text": "50%", "boundingBox": [3.2082, 7.9067, + 3.4817, 7.9067, 3.4817, 8.0195, 3.2082, 8.0195], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.9022, 4.1018, 7.9022, 4.1018, 8.018, + 3.533, 8.018], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.9367, + 4.307, 7.9367, 4.307, 8.018, 4.1512, 8.018], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.9367, 4.9253, 7.9367, 4.9253, 8.0461, 4.3682, 8.0461], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.9022, 5.3419, + 7.9022, 5.3419, 8.0461, 4.981, 8.0461], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.1056, 4.2429, 8.1056, 4.2429, 8.2213, 3.2075, 8.2213], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.1056, 4.2429, 8.1056, + 4.2429, 8.2213, 3.2075, 8.2213], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Half Booth", "boundingBox": + [1.0923, 8.3162, 1.7854, 8.3162, 1.7854, 8.433, 1.0923, 8.433], "words": [{"text": + "Half", "boundingBox": [1.0923, 8.3162, 1.3522, 8.3162, 1.3522, 8.433, 1.0923, + 8.433], "confidence": 1}, {"text": "Booth", "boundingBox": [1.4022, 8.3169, + 1.7854, 8.3169, 1.7854, 8.433, 1.4022, 8.433], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, 8.4229], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, + 8.4229], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 8.3252, 3.8726, 8.3252, + 3.8726, 8.4413, 3.214, 8.4413], "words": [{"text": "Full", "boundingBox": + [3.214, 8.3252, 3.4295, 8.3252, 3.4295, 8.4413, 3.214, 8.4413], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 8.3252, 3.8726, 8.3252, 3.8726, + 8.4413, 3.492, 8.4413], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$350", "boundingBox": [5.8328, 8.3061, + 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], "words": [{"text": "$350", + "boundingBox": [5.8328, 8.3061, 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 8.574, 3.018, 8.574, 3.018, + 8.6345, 2.9586, 8.6345], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 8.574, 3.018, 8.574, 3.018, 8.6345, 2.9586, 8.6345], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "25% discount on + program guide", "boundingBox": [3.2093, 8.5372, 5.3419, 8.5372, 5.3419, 8.6811, + 3.2093, 8.6811], "words": [{"text": "25%", "boundingBox": [3.2093, 8.5417, + 3.4817, 8.5417, 3.4817, 8.6545, 3.2093, 8.6545], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 8.5372, 4.1018, 8.5372, 4.1018, 8.653, + 3.533, 8.653], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 8.5717, + 4.307, 8.5717, 4.307, 8.653, 4.1512, 8.653], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 8.5717, 4.9253, 8.5717, 4.9253, 8.6811, 4.3682, 8.6811], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 8.5372, 5.3419, + 8.5372, 5.3419, 8.6811, 4.981, 8.6811], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.7406, 4.2429, 8.7406, 4.2429, 8.8563, 3.2075, 8.8563], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.7406, 4.2429, 8.7406, + 4.2429, 8.8563, 3.2075, 8.8563], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}]}, {"page": 2, "angle": 0, "width": 8.5, + "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": + [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": + [{"text": "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, + 1.2403, 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": + [6.9307, 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Vendor Details:", "boundingBox": [1.0044, 2.1771, 2.35, 2.1771, 2.35, 2.3315, + 1.0044, 2.3315], "words": [{"text": "Vendor", "boundingBox": [1.0044, 2.1778, + 1.6496, 2.1778, 1.6496, 2.3315, 1.0044, 2.3315], "confidence": 1}, {"text": + "Details:", "boundingBox": [1.7239, 2.1771, 2.35, 2.1771, 2.35, 2.3315, 1.7239, + 2.3315], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Company Name: Southridge Video", "boundingBox": [1.0065, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 1.0065, 2.9128], "words": [{"text": "Company", + "boundingBox": [1.0065, 2.7749, 1.651, 2.7749, 1.651, 2.9126, 1.0065, 2.9126], + "confidence": 1}, {"text": "Name:", "boundingBox": [1.7019, 2.7764, 2.1376, + 2.7764, 2.1376, 2.885, 1.7019, 2.885], "confidence": 1}, {"text": "Southridge", + "boundingBox": [2.1925, 2.7686, 2.9184, 2.7686, 2.9184, 2.9128, 2.1925, 2.9128], + "confidence": 1}, {"text": "Video", "boundingBox": [2.9691, 2.7689, 3.3477, + 2.7689, 3.3477, 2.8847, 2.9691, 2.8847], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contact: Jamie@southridgevideo.com", + "boundingBox": [1.0065, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.0065, 3.2428], + "words": [{"text": "Contact:", "boundingBox": [1.0065, 3.1049, 1.5706, 3.1049, + 1.5706, 3.215, 1.0065, 3.215], "confidence": 1}, {"text": "Jamie@southridgevideo.com", + "boundingBox": [1.6205, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.6205, 3.2428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Preferred Package: Gold", "boundingBox": [1.0115, 3.4296, + 2.6542, 3.4296, 2.6542, 3.5744, 1.0115, 3.5744], "words": [{"text": "Preferred", + "boundingBox": [1.0115, 3.4296, 1.6499, 3.4296, 1.6499, 3.5467, 1.0115, 3.5467], + "confidence": 1}, {"text": "Package:", "boundingBox": [1.7092, 3.4302, 2.2978, + 3.4302, 2.2978, 3.5744, 1.7092, 3.5744], "confidence": 1}, {"text": "Gold", + "boundingBox": [2.3557, 3.4302, 2.6542, 3.4302, 2.6542, 3.5463, 2.3557, 3.5463], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Special Requests: N/a", "boundingBox": [1.0052, 3.7537, 2.4783, + 3.7537, 2.4783, 3.9043, 1.0052, 3.9043], "words": [{"text": "Special", "boundingBox": + [1.0052, 3.7602, 1.475, 3.7602, 1.475, 3.9043, 1.0052, 3.9043], "confidence": + 1}, {"text": "Requests:", "boundingBox": [1.5342, 3.7684, 2.1899, 3.7684, + 2.1899, 3.9043, 1.5342, 3.9043], "confidence": 1}, {"text": "N/a", "boundingBox": + [2.254, 3.7537, 2.4783, 3.7537, 2.4783, 3.8976, 2.254, 3.8976], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": + 0, "columnIndex": 0, "text": "Package", "boundingBox": [0.9975, 4.6436, 2.6168, + 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": ["#/readResults/0/lines/10/words/0"]}, + {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": + [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], "elements": + ["#/readResults/0/lines/11/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": + "Price", "boundingBox": [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, + 4.8578], "elements": ["#/readResults/0/lines/12/words/0"]}, {"rowIndex": 1, + "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, + 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": ["#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1"]}, {"rowIndex": 1, "columnIndex": 1, "text": + "\uf0b7", "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, + 5.0849], "elements": ["#/readResults/0/lines/14/words/0"]}, {"rowIndex": 1, + "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": ["#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1"]}, {"rowIndex": 1, "columnIndex": 3, "text": + "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, 5.0849, + 5.7422, 5.0849], "elements": ["#/readResults/0/lines/16/words/0"]}, {"rowIndex": + 2, "columnIndex": 0, "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, + 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": + 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, + 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198], "elements": ["#/readResults/0/lines/17/words/0", + "#/readResults/0/lines/19/words/0"]}, {"rowIndex": 2, "columnIndex": 2, "text": + "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, 5.7422, + 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": ["#/readResults/0/lines/18/words/0", + "#/readResults/0/lines/18/words/1", "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/20/words/0", + "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2"]}, + {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, + 5.0849, 7.4882, 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": + 3, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program + guide", "boundingBox": [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, + 5.7534], "elements": ["#/readResults/0/lines/21/words/0", "#/readResults/0/lines/22/words/0", + "#/readResults/0/lines/22/words/1", "#/readResults/0/lines/22/words/2", "#/readResults/0/lines/22/words/3", + "#/readResults/0/lines/22/words/4", "#/readResults/0/lines/22/words/5"]}, + {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": ["#/readResults/0/lines/23/words/0"]}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + ["#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853], "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/30/words/0", "#/readResults/0/lines/32/words/0"]}, + {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Post-keynote + thank you Logo on poster Half page ad in program guide", "boundingBox": [3.15, + 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853], "elements": ["#/readResults/0/lines/26/words/0", + "#/readResults/0/lines/26/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/31/words/0", "#/readResults/0/lines/31/words/1", + "#/readResults/0/lines/31/words/2", "#/readResults/0/lines/33/words/0", "#/readResults/0/lines/33/words/1", + "#/readResults/0/lines/33/words/2", "#/readResults/0/lines/33/words/3", "#/readResults/0/lines/33/words/4", + "#/readResults/0/lines/33/words/5"]}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": ["#/readResults/0/lines/27/words/0"]}, + {"rowIndex": 7, "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", + "boundingBox": [0.9975, 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629], + "elements": ["#/readResults/0/lines/34/words/0", "#/readResults/0/lines/34/words/1"]}, + {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 6.7853, 3.15, 6.7853, 3.15, 7.019, 2.6168, 7.019], "elements": ["#/readResults/0/lines/35/words/0"]}, + {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Logo on + poster 50% discount on program guide advertisements", "boundingBox": [3.15, + 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], "elements": ["#/readResults/0/lines/36/words/0", + "#/readResults/0/lines/36/words/1", "#/readResults/0/lines/39/words/0", "#/readResults/0/lines/39/words/1", + "#/readResults/0/lines/39/words/2", "#/readResults/0/lines/41/words/0", "#/readResults/0/lines/41/words/1", + "#/readResults/0/lines/41/words/2", "#/readResults/0/lines/41/words/3", "#/readResults/0/lines/41/words/4", + "#/readResults/0/lines/42/words/0"]}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": + 2, "text": "$1,000", "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, + 7.6355, 5.7489, 7.6355], "elements": ["#/readResults/0/lines/37/words/0"]}, + {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], "elements": + ["#/readResults/0/lines/38/words/0", "#/readResults/0/lines/40/words/0"]}, + {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": + [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, 8.2651], "elements": + ["#/readResults/0/lines/43/words/0", "#/readResults/0/lines/43/words/1"]}, + {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 + Full booth \uf0b7 50% discount on program guide advertisements", "boundingBox": + [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, 8.2651, 2.6102, 8.2651], "elements": + ["#/readResults/0/lines/44/words/0", "#/readResults/0/lines/45/words/0", "#/readResults/0/lines/45/words/1", + "#/readResults/0/lines/47/words/0", "#/readResults/0/lines/48/words/0", "#/readResults/0/lines/48/words/1", + "#/readResults/0/lines/48/words/2", "#/readResults/0/lines/48/words/3", "#/readResults/0/lines/48/words/4", + "#/readResults/0/lines/49/words/0"]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": + 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, 7.4948, + 8.2651, 5.7489, 8.2651], "elements": ["#/readResults/0/lines/46/words/0"]}, + {"rowIndex": 11, "columnIndex": 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": + [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": + ["#/readResults/0/lines/50/words/0", "#/readResults/0/lines/50/words/1"]}, + {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": + "\uf0b7 Full booth \uf0b7 25% discount on program guide advertisements", "boundingBox": + [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": + ["#/readResults/0/lines/51/words/0", "#/readResults/0/lines/52/words/0", "#/readResults/0/lines/52/words/1", + "#/readResults/0/lines/54/words/0", "#/readResults/0/lines/55/words/0", "#/readResults/0/lines/55/words/1", + "#/readResults/0/lines/55/words/2", "#/readResults/0/lines/55/words/3", "#/readResults/0/lines/55/words/4", + "#/readResults/0/lines/56/words/0"]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": + 2, "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, + 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], + "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, + {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": + [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge + Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, + 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": + ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", + "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], + "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", + "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood + Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, + 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": + ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", + "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + headers: + apim-request-id: bf20e52e-2e27-40cf-8f3f-5c2934df7317 + content-length: '37206' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:40:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '33' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_multipage_pdf.yaml new file mode 100644 index 000000000000..a6c576e8391f --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_multipage_pdf.yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multi1.pdf"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: + - 5f60a171-d4a4-4c1d-9837-13454730782f + content-length: + - '0' + date: + - Wed, 04 Nov 2020 21:30:40 GMT + operation-location: + - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5f60a171-d4a4-4c1d-9837-13454730782f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '595' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5f60a171-d4a4-4c1d-9837-13454730782f + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T21:30:40Z", "lastUpdatedDateTime": + "2020-11-04T21:30:40Z"}' + headers: + apim-request-id: + - d0a3d8de-3a94-4523-83d7-c17a5e666ba0 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 21:30:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5f60a171-d4a4-4c1d-9837-13454730782f + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T21:30:40Z", + "lastUpdatedDateTime": "2020-11-04T21:30:50Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": + "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, + "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": + []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", + "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], + "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": + [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": + []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": + [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": + []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": + 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, + 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, + "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, + 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": + 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, + 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": + 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, + 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, + 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": + 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": + [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": + []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 + \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, + 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad + in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, + 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, + "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, + 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, + 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", + "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], + "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", + "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], + "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", + "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], + "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full + Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, + 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program + guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, + 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, + 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": + 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, + 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, + "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth + \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, + 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, + {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": + [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": + []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, + 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", + "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso + Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, + 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": + {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", + "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, + 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": + 0.952}}}]}}' + headers: + apim-request-id: + - 3d3237fd-6650-488d-8cfe-cdd50d8e9efa + content-length: + - '5652' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 21:30:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '165' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_url_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_url_multipage_transform_pdf.yaml new file mode 100644 index 000000000000..1d668e3c4eb9 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url.test_invoice_url_multipage_transform_pdf.yaml @@ -0,0 +1,628 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multi1.pdf"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + response: + body: + string: '' + headers: + apim-request-id: + - 27e17d12-eae3-428e-9dba-fceffa08d79b + content-length: + - '0' + date: + - Wed, 04 Nov 2020 20:59:39 GMT + operation-location: + - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27e17d12-eae3-428e-9dba-fceffa08d79b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '901' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27e17d12-eae3-428e-9dba-fceffa08d79b + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:59:40Z", "lastUpdatedDateTime": + "2020-11-04T20:59:40Z"}' + headers: + apim-request-id: + - 8b20b4f4-c128-4391-b87d-00f095b4e32b + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:59:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '43' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27e17d12-eae3-428e-9dba-fceffa08d79b + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:59:40Z", + "lastUpdatedDateTime": "2020-11-04T20:59:49Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, + 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": + "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, 1.2403, + 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": [6.9307, + 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Vendor + Registration", "boundingBox": [2.2268, 1.5733, 6.2379, 1.5733, 6.2379, 2.005, + 2.2268, 2.005], "words": [{"text": "Vendor", "boundingBox": [2.2268, 1.5733, + 3.703, 1.5733, 3.703, 1.9207, 2.2268, 1.9207], "confidence": 1}, {"text": + "Registration", "boundingBox": [3.8661, 1.5883, 6.2379, 1.5883, 6.2379, 2.005, + 3.8661, 2.005], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "Contoso Ltd. Conference will be held on May + 28-29, 2020 at the Elm Conference Center in", "boundingBox": [1.0078, 2.5846, + 7.0776, 2.5846, 7.0776, 2.7293, 1.0078, 2.7293], "words": [{"text": "Contoso", + "boundingBox": [1.0078, 2.5919, 1.5548, 2.5919, 1.5548, 2.7013, 1.0078, 2.7013], + "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, 2.5856, 1.843, + 2.5856, 1.843, 2.7013, 1.6125, 2.7013], "confidence": 1}, {"text": "Conference", + "boundingBox": [1.8996, 2.5846, 2.6636, 2.5846, 2.6636, 2.7013, 1.8996, 2.7013], + "confidence": 1}, {"text": "will", "boundingBox": [2.7122, 2.5852, 2.9307, + 2.5852, 2.9307, 2.7003, 2.7122, 2.7003], "confidence": 1}, {"text": "be", + "boundingBox": [2.9922, 2.5852, 3.1419, 2.5852, 3.1419, 2.7013, 2.9922, 2.7013], + "confidence": 1}, {"text": "held", "boundingBox": [3.1987, 2.5852, 3.4704, + 2.5852, 3.4704, 2.7013, 3.1987, 2.7013], "confidence": 1}, {"text": "on", + "boundingBox": [3.53, 2.62, 3.6846, 2.62, 3.6846, 2.7013, 3.53, 2.7013], "confidence": + 1}, {"text": "May", "boundingBox": [3.7498, 2.5934, 4.0422, 2.5934, 4.0422, + 2.7293, 3.7498, 2.7293], "confidence": 1}, {"text": "28-29,", "boundingBox": + [4.0877, 2.5914, 4.5042, 2.5914, 4.5042, 2.7236, 4.0877, 2.7236], "confidence": + 1}, {"text": "2020", "boundingBox": [4.5586, 2.5914, 4.884, 2.5914, 4.884, + 2.7017, 4.5586, 2.7017], "confidence": 1}, {"text": "at", "boundingBox": [4.9351, + 2.6014, 5.0577, 2.6014, 5.0577, 2.7013, 4.9351, 2.7013], "confidence": 1}, + {"text": "the", "boundingBox": [5.1033, 2.5852, 5.3202, 2.5852, 5.3202, 2.7013, + 5.1033, 2.7013], "confidence": 1}, {"text": "Elm", "boundingBox": [5.3787, + 2.5852, 5.6051, 2.5852, 5.6051, 2.7003, 5.3787, 2.7003], "confidence": 1}, + {"text": "Conference", "boundingBox": [5.6624, 2.5846, 6.4263, 2.5846, 6.4263, + 2.7013, 5.6624, 2.7013], "confidence": 1}, {"text": "Center", "boundingBox": + [6.4796, 2.5919, 6.9234, 2.5919, 6.9234, 2.7013, 6.4796, 2.7013], "confidence": + 1}, {"text": "in", "boundingBox": [6.9765, 2.5905, 7.0776, 2.5905, 7.0776, + 2.7003, 6.9765, 2.7003], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Maple City, Massachusetts. The conference + has sold out of its 1,500 tickets, with a 400 person", "boundingBox": [1.014, + 2.8029, 7.3457, 2.8029, 7.3457, 2.9478, 1.014, 2.9478], "words": [{"text": + "Maple", "boundingBox": [1.014, 2.8036, 1.4242, 2.8036, 1.4242, 2.9478, 1.014, + 2.9478], "confidence": 1}, {"text": "City,", "boundingBox": [1.4763, 2.8089, + 1.7576, 2.8089, 1.7576, 2.9478, 1.4763, 2.9478], "confidence": 1}, {"text": + "Massachusetts.", "boundingBox": [1.8195, 2.8036, 2.8383, 2.8036, 2.8383, + 2.9197, 1.8195, 2.9197], "confidence": 1}, {"text": "The", "boundingBox": + [2.8883, 2.8036, 3.1326, 2.8036, 3.1326, 2.9197, 2.8883, 2.9197], "confidence": + 1}, {"text": "conference", "boundingBox": [3.1842, 2.8029, 3.9301, 2.8029, + 3.9301, 2.9197, 3.1842, 2.9197], "confidence": 1}, {"text": "has", "boundingBox": + [3.9871, 2.8036, 4.2019, 2.8036, 4.2019, 2.9197, 3.9871, 2.9197], "confidence": + 1}, {"text": "sold", "boundingBox": [4.2529, 2.8036, 4.5104, 2.8036, 4.5104, + 2.9197, 4.2529, 2.9197], "confidence": 1}, {"text": "out", "boundingBox": + [4.5701, 2.8197, 4.7871, 2.8197, 4.7871, 2.9197, 4.5701, 2.9197], "confidence": + 1}, {"text": "of", "boundingBox": [4.8373, 2.8029, 4.9701, 2.8029, 4.9701, + 2.9197, 4.8373, 2.9197], "confidence": 1}, {"text": "its", "boundingBox": + [5.0169, 2.8089, 5.1601, 2.8089, 5.1601, 2.9197, 5.0169, 2.9197], "confidence": + 1}, {"text": "1,500", "boundingBox": [5.2167, 2.81, 5.5766, 2.81, 5.5766, + 2.9418, 5.2167, 2.9418], "confidence": 1}, {"text": "tickets,", "boundingBox": + [5.6227, 2.8036, 6.0928, 2.8036, 6.0928, 2.9418, 5.6227, 2.9418], "confidence": + 1}, {"text": "with", "boundingBox": [6.1461, 2.8036, 6.4308, 2.8036, 6.4308, + 2.9195, 6.1461, 2.9195], "confidence": 1}, {"text": "a", "boundingBox": [6.488, + 2.8383, 6.548, 2.8383, 6.548, 2.9197, 6.488, 2.9197], "confidence": 1}, {"text": + "400", "boundingBox": [6.6016, 2.81, 6.8449, 2.81, 6.8449, 2.9197, 6.6016, + 2.9197], "confidence": 1}, {"text": "person", "boundingBox": [6.8998, 2.8383, + 7.3457, 2.8383, 7.3457, 2.9478, 6.8998, 2.9478], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "waitlist. Vendor + applications are being accepted through Feb 28, 2020. Please fill in the form", + "boundingBox": [1.0043, 3.0229, 7.2482, 3.0229, 7.2482, 3.1678, 1.0043, 3.1678], + "words": [{"text": "waitlist.", "boundingBox": [1.0043, 3.0236, 1.5194, 3.0236, + 1.5194, 3.1397, 1.0043, 3.1397], "confidence": 1}, {"text": "Vendor", "boundingBox": + [1.5733, 3.0239, 2.0654, 3.0239, 2.0654, 3.1397, 1.5733, 3.1397], "confidence": + 1}, {"text": "applications", "boundingBox": [2.1132, 3.0236, 2.9143, 3.0236, + 2.9143, 3.1678, 2.1132, 3.1678], "confidence": 1}, {"text": "are", "boundingBox": + [2.9675, 3.0583, 3.1726, 3.0583, 3.1726, 3.1397, 2.9675, 3.1397], "confidence": + 1}, {"text": "being", "boundingBox": [3.2306, 3.0236, 3.5889, 3.0236, 3.5889, + 3.1678, 3.2306, 3.1678], "confidence": 1}, {"text": "accepted", "boundingBox": + [3.6388, 3.0239, 4.2336, 3.0239, 4.2336, 3.1678, 3.6388, 3.1678], "confidence": + 1}, {"text": "through", "boundingBox": [4.2862, 3.0236, 4.8127, 3.0236, 4.8127, + 3.1678, 4.2862, 3.1678], "confidence": 1}, {"text": "Feb", "boundingBox": + [4.8815, 3.0236, 5.1133, 3.0236, 5.1133, 3.14, 4.8815, 3.14], "confidence": + 1}, {"text": "28,", "boundingBox": [5.163, 3.0297, 5.361, 3.0297, 5.361, 3.162, + 5.163, 3.162], "confidence": 1}, {"text": "2020.", "boundingBox": [5.413, + 3.0297, 5.7774, 3.0297, 5.7774, 3.14, 5.413, 3.14], "confidence": 1}, {"text": + "Please", "boundingBox": [5.8406, 3.0236, 6.2537, 3.0236, 6.2537, 3.1397, + 5.8406, 3.1397], "confidence": 1}, {"text": "fill", "boundingBox": [6.3022, + 3.0229, 6.4539, 3.0229, 6.4539, 3.1387, 6.3022, 3.1387], "confidence": 1}, + {"text": "in", "boundingBox": [6.5131, 3.0289, 6.6158, 3.0289, 6.6158, 3.1387, + 6.5131, 3.1387], "confidence": 1}, {"text": "the", "boundingBox": [6.6673, + 3.0236, 6.8842, 3.0236, 6.8842, 3.1397, 6.6673, 3.1397], "confidence": 1}, + {"text": "form", "boundingBox": [6.9317, 3.0229, 7.2482, 3.0229, 7.2482, 3.1397, + 6.9317, 3.1397], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "below, and attach a check made out to:", "boundingBox": + [1.0125, 3.2436, 3.6599, 3.2436, 3.6599, 3.3818, 1.0125, 3.3818], "words": + [{"text": "below,", "boundingBox": [1.0125, 3.2436, 1.4459, 3.2436, 1.4459, + 3.3818, 1.0125, 3.3818], "confidence": 1}, {"text": "and", "boundingBox": + [1.5024, 3.2439, 1.7371, 3.2439, 1.7371, 3.3597, 1.5024, 3.3597], "confidence": + 1}, {"text": "attach", "boundingBox": [1.7968, 3.2436, 2.2047, 3.2436, 2.2047, + 3.3597, 1.7968, 3.3597], "confidence": 1}, {"text": "a", "boundingBox": [2.2619, + 3.2783, 2.3219, 3.2783, 2.3219, 3.3597, 2.2619, 3.3597], "confidence": 1}, + {"text": "check", "boundingBox": [2.379, 3.2436, 2.7529, 3.2436, 2.7529, 3.3597, + 2.379, 3.3597], "confidence": 1}, {"text": "made", "boundingBox": [2.8076, + 3.2439, 3.17, 3.2439, 3.17, 3.3597, 2.8076, 3.3597], "confidence": 1}, {"text": + "out", "boundingBox": [3.2251, 3.2597, 3.4421, 3.2597, 3.4421, 3.3597, 3.2251, + 3.3597], "confidence": 1}, {"text": "to:", "boundingBox": [3.4869, 3.2597, + 3.6599, 3.2597, 3.6599, 3.3597, 3.4869, 3.3597], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contoso Ltd.", "boundingBox": + [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], "words": [{"text": + "Contoso", "boundingBox": [1.0078, 3.5802, 1.5548, 3.5802, 1.5548, 3.6897, + 1.0078, 3.6897], "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, + 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.6125, 3.6897], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "2345 + Dogwood Lane", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 3.9378, + 1.0093, 3.9378], "words": [{"text": "2345", "boundingBox": [1.0093, 3.8, 1.3297, + 3.8, 1.3297, 3.9097, 1.0093, 3.9097], "confidence": 1}, {"text": "Dogwood", + "boundingBox": [1.3899, 3.7939, 2.0149, 3.7939, 2.0149, 3.9378, 1.3899, 3.9378], + "confidence": 1}, {"text": "Lane", "boundingBox": [2.0788, 3.8012, 2.3768, + 3.8012, 2.3768, 3.9097, 2.0788, 3.9097], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Birch, Kansas 98123", + "boundingBox": [1.014, 4.0136, 2.3377, 4.0136, 2.3377, 4.1518, 1.014, 4.1518], + "words": [{"text": "Birch,", "boundingBox": [1.014, 4.0136, 1.3745, 4.0136, + 1.3745, 4.1518, 1.014, 4.1518], "confidence": 1}, {"text": "Kansas", "boundingBox": + [1.4375, 4.0212, 1.8819, 4.0212, 1.8819, 4.1297, 1.4375, 4.1297], "confidence": + 1}, {"text": "98123", "boundingBox": [1.9318, 4.02, 2.3377, 4.02, 2.3377, + 4.1297, 1.9318, 4.1297], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Rates:", "boundingBox": [1.0204, 4.4248, + 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], "words": [{"text": "Rates:", + "boundingBox": [1.0204, 4.4248, 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Package", "boundingBox": [1.0923, 4.6986, 1.6232, 4.6986, + 1.6232, 4.8428, 1.0923, 4.8428], "words": [{"text": "Package", "boundingBox": + [1.0923, 4.6986, 1.6232, 4.6986, 1.6232, 4.8428, 1.0923, 4.8428], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Included", "boundingBox": [2.713, 4.6986, 3.2707, 4.6986, 3.2707, 4.8147, + 2.713, 4.8147], "words": [{"text": "Included", "boundingBox": [2.713, 4.6986, + 3.2707, 4.6986, 3.2707, 4.8147, 2.713, 4.8147], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Price", "boundingBox": + [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, 4.8147], "words": [{"text": + "Price", "boundingBox": [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, + 4.8147], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Gold Sponsor", "boundingBox": [1.0857, 4.9086, 1.9831, 4.9086, + 1.9831, 5.0528, 1.0857, 5.0528], "words": [{"text": "Gold", "boundingBox": + [1.0857, 4.9086, 1.3842, 4.9086, 1.3842, 5.0247, 1.0857, 5.0247], "confidence": + 1}, {"text": "Sponsor", "boundingBox": [1.4423, 4.915, 1.9831, 4.915, 1.9831, + 5.0528, 1.4423, 5.0528], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 4.954, + 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 4.954, 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 4.9169, 3.8726, 4.9169, + 3.8726, 5.033, 3.214, 5.033], "words": [{"text": "Full", "boundingBox": [3.214, + 4.9169, 3.4295, 4.9169, 3.4295, 5.033, 3.214, 5.033], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 4.9169, 3.8726, 4.9169, 3.8726, 5.033, 3.492, + 5.033], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,500", "boundingBox": [5.8328, 4.8977, 6.2829, 4.8977, 6.2829, + 5.0468, 5.8328, 5.0468], "words": [{"text": "$1,500", "boundingBox": [5.8328, + 4.8977, 6.2829, 4.8977, 6.2829, 5.0468, 5.8328, 5.0468], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, 3.018, 5.2279, 2.9586, 5.2279], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, + 3.018, 5.2279, 2.9586, 5.2279], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Pre-keynote thank you", "boundingBox": + [3.214, 5.1302, 4.7267, 5.1302, 4.7267, 5.2744, 3.214, 5.2744], "words": [{"text": + "Pre-keynote", "boundingBox": [3.214, 5.1302, 4.0183, 5.1302, 4.0183, 5.2744, + 3.214, 5.2744], "confidence": 1}, {"text": "thank", "boundingBox": [4.0665, + 5.1302, 4.4475, 5.1302, 4.4475, 5.2463, 4.0665, 5.2463], "confidence": 1}, + {"text": "you", "boundingBox": [4.4903, 5.165, 4.7267, 5.165, 4.7267, 5.2744, + 4.4903, 5.2744], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.379, 3.018, + 5.379, 3.018, 5.4395, 2.9586, 5.4395], "words": [{"text": "\uf0b7", "boundingBox": + [2.9586, 5.379, 3.018, 5.379, 3.018, 5.4395, 2.9586, 5.4395], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Logo on poster", "boundingBox": [3.214, 5.3495, 4.2093, 5.3495, 4.2093, 5.4861, + 3.214, 5.4861], "words": [{"text": "Logo", "boundingBox": [3.214, 5.3495, + 3.5163, 5.3495, 3.5163, 5.4861, 3.214, 5.4861], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 5.3767, 3.7244, 5.3767, 3.7244, 5.458, 3.5686, + 5.458], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 5.358, + 4.2093, 5.358, 4.2093, 5.4861, 3.7888, 5.4861], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, 5.6529], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, + 5.6529], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full page ad in program guide", "boundingBox": [3.214, 5.5552, + 5.201, 5.5552, 5.201, 5.6994, 3.214, 5.6994], "words": [{"text": "Full", "boundingBox": + [3.214, 5.5552, 3.4295, 5.5552, 3.4295, 5.6713, 3.214, 5.6713], "confidence": + 1}, {"text": "page", "boundingBox": [3.492, 5.59, 3.7989, 5.59, 3.7989, 5.6994, + 3.492, 5.6994], "confidence": 1}, {"text": "ad", "boundingBox": [3.8519, 5.5556, + 3.9991, 5.5556, 3.9991, 5.6713, 3.8519, 5.6713], "confidence": 1}, {"text": + "in", "boundingBox": [4.0599, 5.5605, 4.1626, 5.5605, 4.1626, 5.6703, 4.0599, + 5.6703], "confidence": 1}, {"text": "program", "boundingBox": [4.2248, 5.59, + 4.7839, 5.59, 4.7839, 5.6994, 4.2248, 5.6994], "confidence": 1}, {"text": + "guide", "boundingBox": [4.8367, 5.5556, 5.201, 5.5556, 5.201, 5.6994, 4.8367, + 5.6994], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.804, 3.018, 5.804, 3.018, + 5.8645, 2.9586, 5.8645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 5.804, 3.018, 5.804, 3.018, 5.8645, 2.9586, 5.8645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Silver Sponsor", + "boundingBox": [1.0842, 5.9786, 2.0339, 5.9786, 2.0339, 6.1228, 1.0842, 6.1228], + "words": [{"text": "Silver", "boundingBox": [1.0842, 5.9786, 1.4443, 5.9786, + 1.4443, 6.0947, 1.0842, 6.0947], "confidence": 1}, {"text": "Sponsor", "boundingBox": + [1.4904, 5.985, 2.0339, 5.985, 2.0339, 6.1228, 1.4904, 6.1228], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, 6.024, 3.018, 6.0845, 2.9586, + 6.0845], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, + 6.024, 3.018, 6.0845, 2.9586, 6.0845], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full booth", "boundingBox": + [3.214, 5.9869, 3.8726, 5.9869, 3.8726, 6.103, 3.214, 6.103], "words": [{"text": + "Full", "boundingBox": [3.214, 5.9869, 3.4295, 5.9869, 3.4295, 6.103, 3.214, + 6.103], "confidence": 1}, {"text": "booth", "boundingBox": [3.492, 5.9869, + 3.8726, 5.9869, 3.8726, 6.103, 3.492, 6.103], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "$1,200", "boundingBox": + [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, 6.1168, 5.8328, 6.1168], "words": + [{"text": "$1,200", "boundingBox": [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, + 6.1168, 5.8328, 6.1168], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.2356, + 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.2356, 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Post-keynote thank you", "boundingBox": [3.214, 6.1986, 4.7938, + 6.1986, 4.7938, 6.3428, 3.214, 6.3428], "words": [{"text": "Post-keynote", + "boundingBox": [3.214, 6.1986, 4.0878, 6.1986, 4.0878, 6.3428, 3.214, 6.3428], + "confidence": 1}, {"text": "thank", "boundingBox": [4.1348, 6.1986, 4.5158, + 6.1986, 4.5158, 6.3147, 4.1348, 6.3147], "confidence": 1}, {"text": "you", + "boundingBox": [4.5586, 6.2333, 4.7938, 6.2333, 4.7938, 6.3428, 4.5586, 6.3428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.4473, 3.018, 6.4473, 3.018, + 6.5079, 2.9586, 6.5079], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 6.4473, 3.018, 6.4473, 3.018, 6.5079, 2.9586, 6.5079], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Logo + on poster", "boundingBox": [3.214, 6.4179, 4.2093, 6.4179, 4.2093, 6.5544, + 3.214, 6.5544], "words": [{"text": "Logo", "boundingBox": [3.214, 6.4179, + 3.5163, 6.4179, 3.5163, 6.5544, 3.214, 6.5544], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 6.445, 3.7244, 6.445, 3.7244, 6.5263, 3.5686, + 6.5263], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 6.4264, + 4.2093, 6.4264, 4.2093, 6.5544, 3.7888, 6.5544], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, 6.7212], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, + 6.7212], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Half page ad in program guide", "boundingBox": [3.214, 6.6229, + 5.2314, 6.6229, 5.2314, 6.7678, 3.214, 6.7678], "words": [{"text": "Half", + "boundingBox": [3.214, 6.6229, 3.4739, 6.6229, 3.4739, 6.7397, 3.214, 6.7397], + "confidence": 1}, {"text": "page", "boundingBox": [3.5224, 6.6583, 3.8326, + 6.6583, 3.8326, 6.7678, 3.5224, 6.7678], "confidence": 1}, {"text": "ad", + "boundingBox": [3.8843, 6.6239, 4.0315, 6.6239, 4.0315, 6.7397, 3.8843, 6.7397], + "confidence": 1}, {"text": "in", "boundingBox": [4.0923, 6.6289, 4.195, 6.6289, + 4.195, 6.7387, 4.0923, 6.7387], "confidence": 1}, {"text": "program", "boundingBox": + [4.2563, 6.6583, 4.8148, 6.6583, 4.8148, 6.7678, 4.2563, 6.7678], "confidence": + 1}, {"text": "guide", "boundingBox": [4.8695, 6.6239, 5.2314, 6.6239, 5.2314, + 6.7678, 4.8695, 6.7678], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Bronze Sponsor", "boundingBox": [1.0923, + 6.84, 2.1362, 6.84, 2.1362, 6.9778, 1.0923, 6.9778], "words": [{"text": "Bronze", + "boundingBox": [1.0923, 6.8417, 1.545, 6.8417, 1.545, 6.9497, 1.0923, 6.9497], + "confidence": 1}, {"text": "Sponsor", "boundingBox": [1.5951, 6.84, 2.1362, + 6.84, 2.1362, 6.9778, 1.5951, 6.9778], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, + 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 6.8419, 3.8726, 6.8419, + 3.8726, 6.958, 3.214, 6.958], "words": [{"text": "Full", "boundingBox": [3.214, + 6.8419, 3.4295, 6.8419, 3.4295, 6.958, 3.214, 6.958], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 6.8419, 3.8726, 6.8419, 3.8726, 6.958, 3.492, + 6.958], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,000", "boundingBox": [5.8328, 6.8227, 6.2829, 6.8227, 6.2829, + 6.9718, 5.8328, 6.9718], "words": [{"text": "$1,000", "boundingBox": [5.8328, + 6.8227, 6.2829, 6.8227, 6.2829, 6.9718, 5.8328, 6.9718], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, 3.018, 7.1529, 2.9586, 7.1529], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, + 3.018, 7.1529, 2.9586, 7.1529], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Logo on poster", "boundingBox": + [3.214, 7.0629, 4.2093, 7.0629, 4.2093, 7.1994, 3.214, 7.1994], "words": [{"text": + "Logo", "boundingBox": [3.214, 7.0629, 3.5163, 7.0629, 3.5163, 7.1994, 3.214, + 7.1994], "confidence": 1}, {"text": "on", "boundingBox": [3.5686, 7.09, 3.7244, + 7.09, 3.7244, 7.1713, 3.5686, 7.1713], "confidence": 1}, {"text": "poster", + "boundingBox": [3.7888, 7.0714, 4.2093, 7.0714, 4.2093, 7.1994, 3.7888, 7.1994], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.304, 3.018, 7.304, 3.018, + 7.3645, 2.9586, 7.3645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.304, 3.018, 7.304, 3.018, 7.3645, 2.9586, 7.3645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.2672, 5.3419, 7.2672, 5.3419, 7.4111, + 3.2082, 7.4111], "words": [{"text": "50%", "boundingBox": [3.2082, 7.2717, + 3.4817, 7.2717, 3.4817, 7.3845, 3.2082, 7.3845], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.2672, 4.1018, 7.2672, 4.1018, 7.383, + 3.533, 7.383], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.3017, + 4.307, 7.3017, 4.307, 7.383, 4.1512, 7.383], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.3017, 4.9253, 7.3017, 4.9253, 7.4111, 4.3682, 7.4111], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.2672, 5.3419, + 7.2672, 5.3419, 7.4111, 4.981, 7.4111], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 7.4706, 4.2429, 7.4706, 4.2429, 7.5863, 3.2075, 7.5863], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 7.4706, 4.2429, 7.4706, + 4.2429, 7.5863, 3.2075, 7.5863], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full Booth", "boundingBox": + [1.0923, 7.6819, 1.7537, 7.6819, 1.7537, 7.798, 1.0923, 7.798], "words": [{"text": + "Full", "boundingBox": [1.0923, 7.6819, 1.3079, 7.6819, 1.3079, 7.798, 1.0923, + 7.798], "confidence": 1}, {"text": "Booth", "boundingBox": [1.3718, 7.6819, + 1.7537, 7.6819, 1.7537, 7.798, 1.3718, 7.798], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, 7.7879], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, + 7.7879], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 7.6902, 3.8726, 7.6902, + 3.8726, 7.8063, 3.214, 7.8063], "words": [{"text": "Full", "boundingBox": + [3.214, 7.6902, 3.4295, 7.6902, 3.4295, 7.8063, 3.214, 7.8063], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 7.6902, 3.8726, 7.6902, 3.8726, + 7.8063, 3.492, 7.8063], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$600", "boundingBox": [5.8328, 7.6711, + 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], "words": [{"text": "$600", + "boundingBox": [5.8328, 7.6711, 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.939, 3.018, 7.939, 3.018, + 7.9995, 2.9586, 7.9995], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.939, 3.018, 7.939, 3.018, 7.9995, 2.9586, 7.9995], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.9022, 5.3419, 7.9022, 5.3419, 8.0461, + 3.2082, 8.0461], "words": [{"text": "50%", "boundingBox": [3.2082, 7.9067, + 3.4817, 7.9067, 3.4817, 8.0195, 3.2082, 8.0195], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.9022, 4.1018, 7.9022, 4.1018, 8.018, + 3.533, 8.018], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.9367, + 4.307, 7.9367, 4.307, 8.018, 4.1512, 8.018], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.9367, 4.9253, 7.9367, 4.9253, 8.0461, 4.3682, 8.0461], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.9022, 5.3419, + 7.9022, 5.3419, 8.0461, 4.981, 8.0461], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.1056, 4.2429, 8.1056, 4.2429, 8.2213, 3.2075, 8.2213], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.1056, 4.2429, 8.1056, + 4.2429, 8.2213, 3.2075, 8.2213], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Half Booth", "boundingBox": + [1.0923, 8.3162, 1.7854, 8.3162, 1.7854, 8.433, 1.0923, 8.433], "words": [{"text": + "Half", "boundingBox": [1.0923, 8.3162, 1.3522, 8.3162, 1.3522, 8.433, 1.0923, + 8.433], "confidence": 1}, {"text": "Booth", "boundingBox": [1.4022, 8.3169, + 1.7854, 8.3169, 1.7854, 8.433, 1.4022, 8.433], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, 8.4229], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, + 8.4229], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 8.3252, 3.8726, 8.3252, + 3.8726, 8.4413, 3.214, 8.4413], "words": [{"text": "Full", "boundingBox": + [3.214, 8.3252, 3.4295, 8.3252, 3.4295, 8.4413, 3.214, 8.4413], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 8.3252, 3.8726, 8.3252, 3.8726, + 8.4413, 3.492, 8.4413], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$350", "boundingBox": [5.8328, 8.3061, + 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], "words": [{"text": "$350", + "boundingBox": [5.8328, 8.3061, 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 8.574, 3.018, 8.574, 3.018, + 8.6345, 2.9586, 8.6345], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 8.574, 3.018, 8.574, 3.018, 8.6345, 2.9586, 8.6345], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "25% discount on + program guide", "boundingBox": [3.2093, 8.5372, 5.3419, 8.5372, 5.3419, 8.6811, + 3.2093, 8.6811], "words": [{"text": "25%", "boundingBox": [3.2093, 8.5417, + 3.4817, 8.5417, 3.4817, 8.6545, 3.2093, 8.6545], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 8.5372, 4.1018, 8.5372, 4.1018, 8.653, + 3.533, 8.653], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 8.5717, + 4.307, 8.5717, 4.307, 8.653, 4.1512, 8.653], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 8.5717, 4.9253, 8.5717, 4.9253, 8.6811, 4.3682, 8.6811], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 8.5372, 5.3419, + 8.5372, 5.3419, 8.6811, 4.981, 8.6811], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.7406, 4.2429, 8.7406, 4.2429, 8.8563, 3.2075, 8.8563], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.7406, 4.2429, 8.7406, + 4.2429, 8.8563, 3.2075, 8.8563], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}]}, {"page": 2, "angle": 0, "width": 8.5, + "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": + [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": + [{"text": "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, + 1.2403, 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": + [6.9307, 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Vendor Details:", "boundingBox": [1.0044, 2.1771, 2.35, 2.1771, 2.35, 2.3315, + 1.0044, 2.3315], "words": [{"text": "Vendor", "boundingBox": [1.0044, 2.1778, + 1.6496, 2.1778, 1.6496, 2.3315, 1.0044, 2.3315], "confidence": 1}, {"text": + "Details:", "boundingBox": [1.7239, 2.1771, 2.35, 2.1771, 2.35, 2.3315, 1.7239, + 2.3315], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Company Name: Southridge Video", "boundingBox": [1.0065, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 1.0065, 2.9128], "words": [{"text": "Company", + "boundingBox": [1.0065, 2.7749, 1.651, 2.7749, 1.651, 2.9126, 1.0065, 2.9126], + "confidence": 1}, {"text": "Name:", "boundingBox": [1.7019, 2.7764, 2.1376, + 2.7764, 2.1376, 2.885, 1.7019, 2.885], "confidence": 1}, {"text": "Southridge", + "boundingBox": [2.1925, 2.7686, 2.9184, 2.7686, 2.9184, 2.9128, 2.1925, 2.9128], + "confidence": 1}, {"text": "Video", "boundingBox": [2.9691, 2.7689, 3.3477, + 2.7689, 3.3477, 2.8847, 2.9691, 2.8847], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contact: Jamie@southridgevideo.com", + "boundingBox": [1.0065, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.0065, 3.2428], + "words": [{"text": "Contact:", "boundingBox": [1.0065, 3.1049, 1.5706, 3.1049, + 1.5706, 3.215, 1.0065, 3.215], "confidence": 1}, {"text": "Jamie@southridgevideo.com", + "boundingBox": [1.6205, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.6205, 3.2428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Preferred Package: Gold", "boundingBox": [1.0115, 3.4296, + 2.6542, 3.4296, 2.6542, 3.5744, 1.0115, 3.5744], "words": [{"text": "Preferred", + "boundingBox": [1.0115, 3.4296, 1.6499, 3.4296, 1.6499, 3.5467, 1.0115, 3.5467], + "confidence": 1}, {"text": "Package:", "boundingBox": [1.7092, 3.4302, 2.2978, + 3.4302, 2.2978, 3.5744, 1.7092, 3.5744], "confidence": 1}, {"text": "Gold", + "boundingBox": [2.3557, 3.4302, 2.6542, 3.4302, 2.6542, 3.5463, 2.3557, 3.5463], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Special Requests: N/a", "boundingBox": [1.0052, 3.7537, 2.4783, + 3.7537, 2.4783, 3.9043, 1.0052, 3.9043], "words": [{"text": "Special", "boundingBox": + [1.0052, 3.7602, 1.475, 3.7602, 1.475, 3.9043, 1.0052, 3.9043], "confidence": + 1}, {"text": "Requests:", "boundingBox": [1.5342, 3.7684, 2.1899, 3.7684, + 2.1899, 3.9043, 1.5342, 3.9043], "confidence": 1}, {"text": "N/a", "boundingBox": + [2.254, 3.7537, 2.4783, 3.7537, 2.4783, 3.8976, 2.254, 3.8976], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": + 0, "columnIndex": 0, "text": "Package", "boundingBox": [0.9975, 4.6436, 2.6168, + 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": ["#/readResults/0/lines/10/words/0"]}, + {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": + [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], "elements": + ["#/readResults/0/lines/11/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": + "Price", "boundingBox": [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, + 4.8578], "elements": ["#/readResults/0/lines/12/words/0"]}, {"rowIndex": 1, + "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, + 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": ["#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1"]}, {"rowIndex": 1, "columnIndex": 1, "text": + "\uf0b7", "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, + 5.0849], "elements": ["#/readResults/0/lines/14/words/0"]}, {"rowIndex": 1, + "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": ["#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1"]}, {"rowIndex": 1, "columnIndex": 3, "text": + "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, 5.0849, + 5.7422, 5.0849], "elements": ["#/readResults/0/lines/16/words/0"]}, {"rowIndex": + 2, "columnIndex": 0, "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, + 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": + 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, + 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198], "elements": ["#/readResults/0/lines/17/words/0", + "#/readResults/0/lines/19/words/0"]}, {"rowIndex": 2, "columnIndex": 2, "text": + "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, 5.7422, + 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": ["#/readResults/0/lines/18/words/0", + "#/readResults/0/lines/18/words/1", "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/20/words/0", + "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2"]}, + {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, + 5.0849, 7.4882, 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": + 3, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program + guide", "boundingBox": [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, + 5.7534], "elements": ["#/readResults/0/lines/21/words/0", "#/readResults/0/lines/22/words/0", + "#/readResults/0/lines/22/words/1", "#/readResults/0/lines/22/words/2", "#/readResults/0/lines/22/words/3", + "#/readResults/0/lines/22/words/4", "#/readResults/0/lines/22/words/5"]}, + {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": ["#/readResults/0/lines/23/words/0"]}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + ["#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853], "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/30/words/0", "#/readResults/0/lines/32/words/0"]}, + {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Post-keynote + thank you Logo on poster Half page ad in program guide", "boundingBox": [3.15, + 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853], "elements": ["#/readResults/0/lines/26/words/0", + "#/readResults/0/lines/26/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/31/words/0", "#/readResults/0/lines/31/words/1", + "#/readResults/0/lines/31/words/2", "#/readResults/0/lines/33/words/0", "#/readResults/0/lines/33/words/1", + "#/readResults/0/lines/33/words/2", "#/readResults/0/lines/33/words/3", "#/readResults/0/lines/33/words/4", + "#/readResults/0/lines/33/words/5"]}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": ["#/readResults/0/lines/27/words/0"]}, + {"rowIndex": 7, "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", + "boundingBox": [0.9975, 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629], + "elements": ["#/readResults/0/lines/34/words/0", "#/readResults/0/lines/34/words/1"]}, + {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 6.7853, 3.15, 6.7853, 3.15, 7.019, 2.6168, 7.019], "elements": ["#/readResults/0/lines/35/words/0"]}, + {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Logo on + poster 50% discount on program guide advertisements", "boundingBox": [3.15, + 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], "elements": ["#/readResults/0/lines/36/words/0", + "#/readResults/0/lines/36/words/1", "#/readResults/0/lines/39/words/0", "#/readResults/0/lines/39/words/1", + "#/readResults/0/lines/39/words/2", "#/readResults/0/lines/41/words/0", "#/readResults/0/lines/41/words/1", + "#/readResults/0/lines/41/words/2", "#/readResults/0/lines/41/words/3", "#/readResults/0/lines/41/words/4", + "#/readResults/0/lines/42/words/0"]}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": + 2, "text": "$1,000", "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, + 7.6355, 5.7489, 7.6355], "elements": ["#/readResults/0/lines/37/words/0"]}, + {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], "elements": + ["#/readResults/0/lines/38/words/0", "#/readResults/0/lines/40/words/0"]}, + {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": + [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, 8.2651], "elements": + ["#/readResults/0/lines/43/words/0", "#/readResults/0/lines/43/words/1"]}, + {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 + Full booth \uf0b7 50% discount on program guide advertisements", "boundingBox": + [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, 8.2651, 2.6102, 8.2651], "elements": + ["#/readResults/0/lines/44/words/0", "#/readResults/0/lines/45/words/0", "#/readResults/0/lines/45/words/1", + "#/readResults/0/lines/47/words/0", "#/readResults/0/lines/48/words/0", "#/readResults/0/lines/48/words/1", + "#/readResults/0/lines/48/words/2", "#/readResults/0/lines/48/words/3", "#/readResults/0/lines/48/words/4", + "#/readResults/0/lines/49/words/0"]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": + 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, 7.4948, + 8.2651, 5.7489, 8.2651], "elements": ["#/readResults/0/lines/46/words/0"]}, + {"rowIndex": 11, "columnIndex": 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": + [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": + ["#/readResults/0/lines/50/words/0", "#/readResults/0/lines/50/words/1"]}, + {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": + "\uf0b7 Full booth \uf0b7 25% discount on program guide advertisements", "boundingBox": + [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": + ["#/readResults/0/lines/51/words/0", "#/readResults/0/lines/52/words/0", "#/readResults/0/lines/52/words/1", + "#/readResults/0/lines/54/words/0", "#/readResults/0/lines/55/words/0", "#/readResults/0/lines/55/words/1", + "#/readResults/0/lines/55/words/2", "#/readResults/0/lines/55/words/3", "#/readResults/0/lines/55/words/4", + "#/readResults/0/lines/56/words/0"]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": + 2, "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, + 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], + "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, + {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": + [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge + Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, + 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": + ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", + "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], + "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", + "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood + Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, + 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": + ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", + "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + headers: + apim-request-id: + - 9c0a3d57-b47c-4ff5-ae6c-f3181e41515a + content-length: + - '37206' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 04 Nov 2020 20:59:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '57' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_multipage_pdf.yaml new file mode 100644 index 000000000000..a2a5ea375df6 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_multipage_pdf.yaml @@ -0,0 +1,179 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multi1.pdf"}''' + headers: + Accept: + - application/json + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: 329f7239-2b17-45ee-86b8-519b200d2c19 + content-length: '0' + date: Wed, 04 Nov 2020 21:05:33 GMT + operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '1727' + status: + code: 202 + message: Accepted + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T21:05:34Z", "lastUpdatedDateTime": + "2020-11-04T21:05:34Z"}' + headers: + apim-request-id: 1e20453d-f930-4fca-8daa-bce60c021a34 + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 21:05:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '17' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T21:05:34Z", "lastUpdatedDateTime": + "2020-11-04T21:05:34Z"}' + headers: + apim-request-id: 492c564f-cd50-45fc-b753-e680c0793156 + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 21:05:44 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '16' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T21:05:34Z", + "lastUpdatedDateTime": "2020-11-04T21:05:45Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": + "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, + "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": + []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", + "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], + "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": + [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": + []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": + [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": + []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": + 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, + 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, + "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, + 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": + 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, + 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": + 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, + 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, + 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": + 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": + [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": + []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 + \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, + 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad + in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, + 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, + "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, + 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, + 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": + 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", + "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], + "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", + "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], + "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", + "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], + "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full + Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, + 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program + guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, + 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, + 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": + 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, + 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, + "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth + \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, + 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, + {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": + [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": + []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, + 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", + "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso + Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, + 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": + {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", + "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, + 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": + 0.952}}}]}}' + headers: + apim-request-id: b0f12a4b-97a5-4d57-aafd-c021ea1d46ff + content-length: '5652' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 21:05:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '25' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/329f7239-2b17-45ee-86b8-519b200d2c19 +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_url_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_url_multipage_transform_pdf.yaml new file mode 100644 index 000000000000..b38895484d0b --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_from_url_async.test_invoice_url_multipage_transform_pdf.yaml @@ -0,0 +1,594 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multi1.pdf"}''' + headers: + Accept: + - application/json + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + response: + body: + string: '' + headers: + apim-request-id: 25f49d7c-e433-44fa-bb18-68094af9c65e + content-length: '0' + date: Wed, 04 Nov 2020 20:59:39 GMT + operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/25f49d7c-e433-44fa-bb18-68094af9c65e + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '857' + status: + code: 202 + message: Accepted + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/25f49d7c-e433-44fa-bb18-68094af9c65e + response: + body: + string: '{"status": "running", "createdDateTime": "2020-11-04T20:59:40Z", "lastUpdatedDateTime": + "2020-11-04T20:59:40Z"}' + headers: + apim-request-id: 06cd4016-1023-4f57-8bb9-563762739611 + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:59:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '11' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/25f49d7c-e433-44fa-bb18-68094af9c65e +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/25f49d7c-e433-44fa-bb18-68094af9c65e + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:59:40Z", + "lastUpdatedDateTime": "2020-11-04T20:59:49Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, + 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": + "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, 1.2403, + 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": [6.9307, + 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Vendor + Registration", "boundingBox": [2.2268, 1.5733, 6.2379, 1.5733, 6.2379, 2.005, + 2.2268, 2.005], "words": [{"text": "Vendor", "boundingBox": [2.2268, 1.5733, + 3.703, 1.5733, 3.703, 1.9207, 2.2268, 1.9207], "confidence": 1}, {"text": + "Registration", "boundingBox": [3.8661, 1.5883, 6.2379, 1.5883, 6.2379, 2.005, + 3.8661, 2.005], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "Contoso Ltd. Conference will be held on May + 28-29, 2020 at the Elm Conference Center in", "boundingBox": [1.0078, 2.5846, + 7.0776, 2.5846, 7.0776, 2.7293, 1.0078, 2.7293], "words": [{"text": "Contoso", + "boundingBox": [1.0078, 2.5919, 1.5548, 2.5919, 1.5548, 2.7013, 1.0078, 2.7013], + "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, 2.5856, 1.843, + 2.5856, 1.843, 2.7013, 1.6125, 2.7013], "confidence": 1}, {"text": "Conference", + "boundingBox": [1.8996, 2.5846, 2.6636, 2.5846, 2.6636, 2.7013, 1.8996, 2.7013], + "confidence": 1}, {"text": "will", "boundingBox": [2.7122, 2.5852, 2.9307, + 2.5852, 2.9307, 2.7003, 2.7122, 2.7003], "confidence": 1}, {"text": "be", + "boundingBox": [2.9922, 2.5852, 3.1419, 2.5852, 3.1419, 2.7013, 2.9922, 2.7013], + "confidence": 1}, {"text": "held", "boundingBox": [3.1987, 2.5852, 3.4704, + 2.5852, 3.4704, 2.7013, 3.1987, 2.7013], "confidence": 1}, {"text": "on", + "boundingBox": [3.53, 2.62, 3.6846, 2.62, 3.6846, 2.7013, 3.53, 2.7013], "confidence": + 1}, {"text": "May", "boundingBox": [3.7498, 2.5934, 4.0422, 2.5934, 4.0422, + 2.7293, 3.7498, 2.7293], "confidence": 1}, {"text": "28-29,", "boundingBox": + [4.0877, 2.5914, 4.5042, 2.5914, 4.5042, 2.7236, 4.0877, 2.7236], "confidence": + 1}, {"text": "2020", "boundingBox": [4.5586, 2.5914, 4.884, 2.5914, 4.884, + 2.7017, 4.5586, 2.7017], "confidence": 1}, {"text": "at", "boundingBox": [4.9351, + 2.6014, 5.0577, 2.6014, 5.0577, 2.7013, 4.9351, 2.7013], "confidence": 1}, + {"text": "the", "boundingBox": [5.1033, 2.5852, 5.3202, 2.5852, 5.3202, 2.7013, + 5.1033, 2.7013], "confidence": 1}, {"text": "Elm", "boundingBox": [5.3787, + 2.5852, 5.6051, 2.5852, 5.6051, 2.7003, 5.3787, 2.7003], "confidence": 1}, + {"text": "Conference", "boundingBox": [5.6624, 2.5846, 6.4263, 2.5846, 6.4263, + 2.7013, 5.6624, 2.7013], "confidence": 1}, {"text": "Center", "boundingBox": + [6.4796, 2.5919, 6.9234, 2.5919, 6.9234, 2.7013, 6.4796, 2.7013], "confidence": + 1}, {"text": "in", "boundingBox": [6.9765, 2.5905, 7.0776, 2.5905, 7.0776, + 2.7003, 6.9765, 2.7003], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Maple City, Massachusetts. The conference + has sold out of its 1,500 tickets, with a 400 person", "boundingBox": [1.014, + 2.8029, 7.3457, 2.8029, 7.3457, 2.9478, 1.014, 2.9478], "words": [{"text": + "Maple", "boundingBox": [1.014, 2.8036, 1.4242, 2.8036, 1.4242, 2.9478, 1.014, + 2.9478], "confidence": 1}, {"text": "City,", "boundingBox": [1.4763, 2.8089, + 1.7576, 2.8089, 1.7576, 2.9478, 1.4763, 2.9478], "confidence": 1}, {"text": + "Massachusetts.", "boundingBox": [1.8195, 2.8036, 2.8383, 2.8036, 2.8383, + 2.9197, 1.8195, 2.9197], "confidence": 1}, {"text": "The", "boundingBox": + [2.8883, 2.8036, 3.1326, 2.8036, 3.1326, 2.9197, 2.8883, 2.9197], "confidence": + 1}, {"text": "conference", "boundingBox": [3.1842, 2.8029, 3.9301, 2.8029, + 3.9301, 2.9197, 3.1842, 2.9197], "confidence": 1}, {"text": "has", "boundingBox": + [3.9871, 2.8036, 4.2019, 2.8036, 4.2019, 2.9197, 3.9871, 2.9197], "confidence": + 1}, {"text": "sold", "boundingBox": [4.2529, 2.8036, 4.5104, 2.8036, 4.5104, + 2.9197, 4.2529, 2.9197], "confidence": 1}, {"text": "out", "boundingBox": + [4.5701, 2.8197, 4.7871, 2.8197, 4.7871, 2.9197, 4.5701, 2.9197], "confidence": + 1}, {"text": "of", "boundingBox": [4.8373, 2.8029, 4.9701, 2.8029, 4.9701, + 2.9197, 4.8373, 2.9197], "confidence": 1}, {"text": "its", "boundingBox": + [5.0169, 2.8089, 5.1601, 2.8089, 5.1601, 2.9197, 5.0169, 2.9197], "confidence": + 1}, {"text": "1,500", "boundingBox": [5.2167, 2.81, 5.5766, 2.81, 5.5766, + 2.9418, 5.2167, 2.9418], "confidence": 1}, {"text": "tickets,", "boundingBox": + [5.6227, 2.8036, 6.0928, 2.8036, 6.0928, 2.9418, 5.6227, 2.9418], "confidence": + 1}, {"text": "with", "boundingBox": [6.1461, 2.8036, 6.4308, 2.8036, 6.4308, + 2.9195, 6.1461, 2.9195], "confidence": 1}, {"text": "a", "boundingBox": [6.488, + 2.8383, 6.548, 2.8383, 6.548, 2.9197, 6.488, 2.9197], "confidence": 1}, {"text": + "400", "boundingBox": [6.6016, 2.81, 6.8449, 2.81, 6.8449, 2.9197, 6.6016, + 2.9197], "confidence": 1}, {"text": "person", "boundingBox": [6.8998, 2.8383, + 7.3457, 2.8383, 7.3457, 2.9478, 6.8998, 2.9478], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "waitlist. Vendor + applications are being accepted through Feb 28, 2020. Please fill in the form", + "boundingBox": [1.0043, 3.0229, 7.2482, 3.0229, 7.2482, 3.1678, 1.0043, 3.1678], + "words": [{"text": "waitlist.", "boundingBox": [1.0043, 3.0236, 1.5194, 3.0236, + 1.5194, 3.1397, 1.0043, 3.1397], "confidence": 1}, {"text": "Vendor", "boundingBox": + [1.5733, 3.0239, 2.0654, 3.0239, 2.0654, 3.1397, 1.5733, 3.1397], "confidence": + 1}, {"text": "applications", "boundingBox": [2.1132, 3.0236, 2.9143, 3.0236, + 2.9143, 3.1678, 2.1132, 3.1678], "confidence": 1}, {"text": "are", "boundingBox": + [2.9675, 3.0583, 3.1726, 3.0583, 3.1726, 3.1397, 2.9675, 3.1397], "confidence": + 1}, {"text": "being", "boundingBox": [3.2306, 3.0236, 3.5889, 3.0236, 3.5889, + 3.1678, 3.2306, 3.1678], "confidence": 1}, {"text": "accepted", "boundingBox": + [3.6388, 3.0239, 4.2336, 3.0239, 4.2336, 3.1678, 3.6388, 3.1678], "confidence": + 1}, {"text": "through", "boundingBox": [4.2862, 3.0236, 4.8127, 3.0236, 4.8127, + 3.1678, 4.2862, 3.1678], "confidence": 1}, {"text": "Feb", "boundingBox": + [4.8815, 3.0236, 5.1133, 3.0236, 5.1133, 3.14, 4.8815, 3.14], "confidence": + 1}, {"text": "28,", "boundingBox": [5.163, 3.0297, 5.361, 3.0297, 5.361, 3.162, + 5.163, 3.162], "confidence": 1}, {"text": "2020.", "boundingBox": [5.413, + 3.0297, 5.7774, 3.0297, 5.7774, 3.14, 5.413, 3.14], "confidence": 1}, {"text": + "Please", "boundingBox": [5.8406, 3.0236, 6.2537, 3.0236, 6.2537, 3.1397, + 5.8406, 3.1397], "confidence": 1}, {"text": "fill", "boundingBox": [6.3022, + 3.0229, 6.4539, 3.0229, 6.4539, 3.1387, 6.3022, 3.1387], "confidence": 1}, + {"text": "in", "boundingBox": [6.5131, 3.0289, 6.6158, 3.0289, 6.6158, 3.1387, + 6.5131, 3.1387], "confidence": 1}, {"text": "the", "boundingBox": [6.6673, + 3.0236, 6.8842, 3.0236, 6.8842, 3.1397, 6.6673, 3.1397], "confidence": 1}, + {"text": "form", "boundingBox": [6.9317, 3.0229, 7.2482, 3.0229, 7.2482, 3.1397, + 6.9317, 3.1397], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "below, and attach a check made out to:", "boundingBox": + [1.0125, 3.2436, 3.6599, 3.2436, 3.6599, 3.3818, 1.0125, 3.3818], "words": + [{"text": "below,", "boundingBox": [1.0125, 3.2436, 1.4459, 3.2436, 1.4459, + 3.3818, 1.0125, 3.3818], "confidence": 1}, {"text": "and", "boundingBox": + [1.5024, 3.2439, 1.7371, 3.2439, 1.7371, 3.3597, 1.5024, 3.3597], "confidence": + 1}, {"text": "attach", "boundingBox": [1.7968, 3.2436, 2.2047, 3.2436, 2.2047, + 3.3597, 1.7968, 3.3597], "confidence": 1}, {"text": "a", "boundingBox": [2.2619, + 3.2783, 2.3219, 3.2783, 2.3219, 3.3597, 2.2619, 3.3597], "confidence": 1}, + {"text": "check", "boundingBox": [2.379, 3.2436, 2.7529, 3.2436, 2.7529, 3.3597, + 2.379, 3.3597], "confidence": 1}, {"text": "made", "boundingBox": [2.8076, + 3.2439, 3.17, 3.2439, 3.17, 3.3597, 2.8076, 3.3597], "confidence": 1}, {"text": + "out", "boundingBox": [3.2251, 3.2597, 3.4421, 3.2597, 3.4421, 3.3597, 3.2251, + 3.3597], "confidence": 1}, {"text": "to:", "boundingBox": [3.4869, 3.2597, + 3.6599, 3.2597, 3.6599, 3.3597, 3.4869, 3.3597], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contoso Ltd.", "boundingBox": + [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], "words": [{"text": + "Contoso", "boundingBox": [1.0078, 3.5802, 1.5548, 3.5802, 1.5548, 3.6897, + 1.0078, 3.6897], "confidence": 1}, {"text": "Ltd.", "boundingBox": [1.6125, + 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.6125, 3.6897], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "2345 + Dogwood Lane", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 3.9378, + 1.0093, 3.9378], "words": [{"text": "2345", "boundingBox": [1.0093, 3.8, 1.3297, + 3.8, 1.3297, 3.9097, 1.0093, 3.9097], "confidence": 1}, {"text": "Dogwood", + "boundingBox": [1.3899, 3.7939, 2.0149, 3.7939, 2.0149, 3.9378, 1.3899, 3.9378], + "confidence": 1}, {"text": "Lane", "boundingBox": [2.0788, 3.8012, 2.3768, + 3.8012, 2.3768, 3.9097, 2.0788, 3.9097], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Birch, Kansas 98123", + "boundingBox": [1.014, 4.0136, 2.3377, 4.0136, 2.3377, 4.1518, 1.014, 4.1518], + "words": [{"text": "Birch,", "boundingBox": [1.014, 4.0136, 1.3745, 4.0136, + 1.3745, 4.1518, 1.014, 4.1518], "confidence": 1}, {"text": "Kansas", "boundingBox": + [1.4375, 4.0212, 1.8819, 4.0212, 1.8819, 4.1297, 1.4375, 4.1297], "confidence": + 1}, {"text": "98123", "boundingBox": [1.9318, 4.02, 2.3377, 4.02, 2.3377, + 4.1297, 1.9318, 4.1297], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Rates:", "boundingBox": [1.0204, 4.4248, + 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], "words": [{"text": "Rates:", + "boundingBox": [1.0204, 4.4248, 1.5303, 4.4248, 1.5303, 4.5682, 1.0204, 4.5682], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Package", "boundingBox": [1.0923, 4.6986, 1.6232, 4.6986, + 1.6232, 4.8428, 1.0923, 4.8428], "words": [{"text": "Package", "boundingBox": + [1.0923, 4.6986, 1.6232, 4.6986, 1.6232, 4.8428, 1.0923, 4.8428], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Included", "boundingBox": [2.713, 4.6986, 3.2707, 4.6986, 3.2707, 4.8147, + 2.713, 4.8147], "words": [{"text": "Included", "boundingBox": [2.713, 4.6986, + 3.2707, 4.6986, 3.2707, 4.8147, 2.713, 4.8147], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Price", "boundingBox": + [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, 4.8147], "words": [{"text": + "Price", "boundingBox": [5.838, 4.7039, 6.1513, 4.7039, 6.1513, 4.8147, 5.838, + 4.8147], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Gold Sponsor", "boundingBox": [1.0857, 4.9086, 1.9831, 4.9086, + 1.9831, 5.0528, 1.0857, 5.0528], "words": [{"text": "Gold", "boundingBox": + [1.0857, 4.9086, 1.3842, 4.9086, 1.3842, 5.0247, 1.0857, 5.0247], "confidence": + 1}, {"text": "Sponsor", "boundingBox": [1.4423, 4.915, 1.9831, 4.915, 1.9831, + 5.0528, 1.4423, 5.0528], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 4.954, + 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 4.954, 3.018, 4.954, 3.018, 5.0145, 2.9586, 5.0145], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 4.9169, 3.8726, 4.9169, + 3.8726, 5.033, 3.214, 5.033], "words": [{"text": "Full", "boundingBox": [3.214, + 4.9169, 3.4295, 4.9169, 3.4295, 5.033, 3.214, 5.033], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 4.9169, 3.8726, 4.9169, 3.8726, 5.033, 3.492, + 5.033], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,500", "boundingBox": [5.8328, 4.8977, 6.2829, 4.8977, 6.2829, + 5.0468, 5.8328, 5.0468], "words": [{"text": "$1,500", "boundingBox": [5.8328, + 4.8977, 6.2829, 4.8977, 6.2829, 5.0468, 5.8328, 5.0468], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, 3.018, 5.2279, 2.9586, 5.2279], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 5.1673, 3.018, 5.1673, + 3.018, 5.2279, 2.9586, 5.2279], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Pre-keynote thank you", "boundingBox": + [3.214, 5.1302, 4.7267, 5.1302, 4.7267, 5.2744, 3.214, 5.2744], "words": [{"text": + "Pre-keynote", "boundingBox": [3.214, 5.1302, 4.0183, 5.1302, 4.0183, 5.2744, + 3.214, 5.2744], "confidence": 1}, {"text": "thank", "boundingBox": [4.0665, + 5.1302, 4.4475, 5.1302, 4.4475, 5.2463, 4.0665, 5.2463], "confidence": 1}, + {"text": "you", "boundingBox": [4.4903, 5.165, 4.7267, 5.165, 4.7267, 5.2744, + 4.4903, 5.2744], "confidence": 1}], "appearance": {"style": {"name": "other", + "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.379, 3.018, + 5.379, 3.018, 5.4395, 2.9586, 5.4395], "words": [{"text": "\uf0b7", "boundingBox": + [2.9586, 5.379, 3.018, 5.379, 3.018, 5.4395, 2.9586, 5.4395], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Logo on poster", "boundingBox": [3.214, 5.3495, 4.2093, 5.3495, 4.2093, 5.4861, + 3.214, 5.4861], "words": [{"text": "Logo", "boundingBox": [3.214, 5.3495, + 3.5163, 5.3495, 3.5163, 5.4861, 3.214, 5.4861], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 5.3767, 3.7244, 5.3767, 3.7244, 5.458, 3.5686, + 5.458], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 5.358, + 4.2093, 5.358, 4.2093, 5.4861, 3.7888, 5.4861], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, 5.6529], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 5.5923, 3.018, 5.5923, 3.018, 5.6529, 2.9586, + 5.6529], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full page ad in program guide", "boundingBox": [3.214, 5.5552, + 5.201, 5.5552, 5.201, 5.6994, 3.214, 5.6994], "words": [{"text": "Full", "boundingBox": + [3.214, 5.5552, 3.4295, 5.5552, 3.4295, 5.6713, 3.214, 5.6713], "confidence": + 1}, {"text": "page", "boundingBox": [3.492, 5.59, 3.7989, 5.59, 3.7989, 5.6994, + 3.492, 5.6994], "confidence": 1}, {"text": "ad", "boundingBox": [3.8519, 5.5556, + 3.9991, 5.5556, 3.9991, 5.6713, 3.8519, 5.6713], "confidence": 1}, {"text": + "in", "boundingBox": [4.0599, 5.5605, 4.1626, 5.5605, 4.1626, 5.6703, 4.0599, + 5.6703], "confidence": 1}, {"text": "program", "boundingBox": [4.2248, 5.59, + 4.7839, 5.59, 4.7839, 5.6994, 4.2248, 5.6994], "confidence": 1}, {"text": + "guide", "boundingBox": [4.8367, 5.5556, 5.201, 5.5556, 5.201, 5.6994, 4.8367, + 5.6994], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 5.804, 3.018, 5.804, 3.018, + 5.8645, 2.9586, 5.8645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 5.804, 3.018, 5.804, 3.018, 5.8645, 2.9586, 5.8645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Silver Sponsor", + "boundingBox": [1.0842, 5.9786, 2.0339, 5.9786, 2.0339, 6.1228, 1.0842, 6.1228], + "words": [{"text": "Silver", "boundingBox": [1.0842, 5.9786, 1.4443, 5.9786, + 1.4443, 6.0947, 1.0842, 6.0947], "confidence": 1}, {"text": "Sponsor", "boundingBox": + [1.4904, 5.985, 2.0339, 5.985, 2.0339, 6.1228, 1.4904, 6.1228], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, 6.024, 3.018, 6.0845, 2.9586, + 6.0845], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 6.024, 3.018, + 6.024, 3.018, 6.0845, 2.9586, 6.0845], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full booth", "boundingBox": + [3.214, 5.9869, 3.8726, 5.9869, 3.8726, 6.103, 3.214, 6.103], "words": [{"text": + "Full", "boundingBox": [3.214, 5.9869, 3.4295, 5.9869, 3.4295, 6.103, 3.214, + 6.103], "confidence": 1}, {"text": "booth", "boundingBox": [3.492, 5.9869, + 3.8726, 5.9869, 3.8726, 6.103, 3.492, 6.103], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "$1,200", "boundingBox": + [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, 6.1168, 5.8328, 6.1168], "words": + [{"text": "$1,200", "boundingBox": [5.8328, 5.9677, 6.2829, 5.9677, 6.2829, + 6.1168, 5.8328, 6.1168], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.2356, + 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.2356, 3.018, 6.2356, 3.018, 6.2962, 2.9586, 6.2962], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Post-keynote thank you", "boundingBox": [3.214, 6.1986, 4.7938, + 6.1986, 4.7938, 6.3428, 3.214, 6.3428], "words": [{"text": "Post-keynote", + "boundingBox": [3.214, 6.1986, 4.0878, 6.1986, 4.0878, 6.3428, 3.214, 6.3428], + "confidence": 1}, {"text": "thank", "boundingBox": [4.1348, 6.1986, 4.5158, + 6.1986, 4.5158, 6.3147, 4.1348, 6.3147], "confidence": 1}, {"text": "you", + "boundingBox": [4.5586, 6.2333, 4.7938, 6.2333, 4.7938, 6.3428, 4.5586, 6.3428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 6.4473, 3.018, 6.4473, 3.018, + 6.5079, 2.9586, 6.5079], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 6.4473, 3.018, 6.4473, 3.018, 6.5079, 2.9586, 6.5079], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "Logo + on poster", "boundingBox": [3.214, 6.4179, 4.2093, 6.4179, 4.2093, 6.5544, + 3.214, 6.5544], "words": [{"text": "Logo", "boundingBox": [3.214, 6.4179, + 3.5163, 6.4179, 3.5163, 6.5544, 3.214, 6.5544], "confidence": 1}, {"text": + "on", "boundingBox": [3.5686, 6.445, 3.7244, 6.445, 3.7244, 6.5263, 3.5686, + 6.5263], "confidence": 1}, {"text": "poster", "boundingBox": [3.7888, 6.4264, + 4.2093, 6.4264, 4.2093, 6.5544, 3.7888, 6.5544], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, 6.7212], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 6.6606, 3.018, 6.6606, 3.018, 6.7212, 2.9586, + 6.7212], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Half page ad in program guide", "boundingBox": [3.214, 6.6229, + 5.2314, 6.6229, 5.2314, 6.7678, 3.214, 6.7678], "words": [{"text": "Half", + "boundingBox": [3.214, 6.6229, 3.4739, 6.6229, 3.4739, 6.7397, 3.214, 6.7397], + "confidence": 1}, {"text": "page", "boundingBox": [3.5224, 6.6583, 3.8326, + 6.6583, 3.8326, 6.7678, 3.5224, 6.7678], "confidence": 1}, {"text": "ad", + "boundingBox": [3.8843, 6.6239, 4.0315, 6.6239, 4.0315, 6.7397, 3.8843, 6.7397], + "confidence": 1}, {"text": "in", "boundingBox": [4.0923, 6.6289, 4.195, 6.6289, + 4.195, 6.7387, 4.0923, 6.7387], "confidence": 1}, {"text": "program", "boundingBox": + [4.2563, 6.6583, 4.8148, 6.6583, 4.8148, 6.7678, 4.2563, 6.7678], "confidence": + 1}, {"text": "guide", "boundingBox": [4.8695, 6.6239, 5.2314, 6.6239, 5.2314, + 6.7678, 4.8695, 6.7678], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "Bronze Sponsor", "boundingBox": [1.0923, + 6.84, 2.1362, 6.84, 2.1362, 6.9778, 1.0923, 6.9778], "words": [{"text": "Bronze", + "boundingBox": [1.0923, 6.8417, 1.545, 6.8417, 1.545, 6.9497, 1.0923, 6.9497], + "confidence": 1}, {"text": "Sponsor", "boundingBox": [1.5951, 6.84, 2.1362, + 6.84, 2.1362, 6.9778, 1.5951, 6.9778], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, + 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], "words": [{"text": "\uf0b7", + "boundingBox": [2.9586, 6.879, 3.018, 6.879, 3.018, 6.9395, 2.9586, 6.9395], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 6.8419, 3.8726, 6.8419, + 3.8726, 6.958, 3.214, 6.958], "words": [{"text": "Full", "boundingBox": [3.214, + 6.8419, 3.4295, 6.8419, 3.4295, 6.958, 3.214, 6.958], "confidence": 1}, {"text": + "booth", "boundingBox": [3.492, 6.8419, 3.8726, 6.8419, 3.8726, 6.958, 3.492, + 6.958], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "$1,000", "boundingBox": [5.8328, 6.8227, 6.2829, 6.8227, 6.2829, + 6.9718, 5.8328, 6.9718], "words": [{"text": "$1,000", "boundingBox": [5.8328, + 6.8227, 6.2829, 6.8227, 6.2829, 6.9718, 5.8328, 6.9718], "confidence": 1}], + "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", + "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, 3.018, 7.1529, 2.9586, 7.1529], + "words": [{"text": "\uf0b7", "boundingBox": [2.9586, 7.0923, 3.018, 7.0923, + 3.018, 7.1529, 2.9586, 7.1529], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Logo on poster", "boundingBox": + [3.214, 7.0629, 4.2093, 7.0629, 4.2093, 7.1994, 3.214, 7.1994], "words": [{"text": + "Logo", "boundingBox": [3.214, 7.0629, 3.5163, 7.0629, 3.5163, 7.1994, 3.214, + 7.1994], "confidence": 1}, {"text": "on", "boundingBox": [3.5686, 7.09, 3.7244, + 7.09, 3.7244, 7.1713, 3.5686, 7.1713], "confidence": 1}, {"text": "poster", + "boundingBox": [3.7888, 7.0714, 4.2093, 7.0714, 4.2093, 7.1994, 3.7888, 7.1994], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.304, 3.018, 7.304, 3.018, + 7.3645, 2.9586, 7.3645], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.304, 3.018, 7.304, 3.018, 7.3645, 2.9586, 7.3645], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.2672, 5.3419, 7.2672, 5.3419, 7.4111, + 3.2082, 7.4111], "words": [{"text": "50%", "boundingBox": [3.2082, 7.2717, + 3.4817, 7.2717, 3.4817, 7.3845, 3.2082, 7.3845], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.2672, 4.1018, 7.2672, 4.1018, 7.383, + 3.533, 7.383], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.3017, + 4.307, 7.3017, 4.307, 7.383, 4.1512, 7.383], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.3017, 4.9253, 7.3017, 4.9253, 7.4111, 4.3682, 7.4111], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.2672, 5.3419, + 7.2672, 5.3419, 7.4111, 4.981, 7.4111], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 7.4706, 4.2429, 7.4706, 4.2429, 7.5863, 3.2075, 7.5863], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 7.4706, 4.2429, 7.4706, + 4.2429, 7.5863, 3.2075, 7.5863], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Full Booth", "boundingBox": + [1.0923, 7.6819, 1.7537, 7.6819, 1.7537, 7.798, 1.0923, 7.798], "words": [{"text": + "Full", "boundingBox": [1.0923, 7.6819, 1.3079, 7.6819, 1.3079, 7.798, 1.0923, + 7.798], "confidence": 1}, {"text": "Booth", "boundingBox": [1.3718, 7.6819, + 1.7537, 7.6819, 1.7537, 7.798, 1.3718, 7.798], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, 7.7879], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 7.7273, 3.018, 7.7273, 3.018, 7.7879, 2.9586, + 7.7879], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 7.6902, 3.8726, 7.6902, + 3.8726, 7.8063, 3.214, 7.8063], "words": [{"text": "Full", "boundingBox": + [3.214, 7.6902, 3.4295, 7.6902, 3.4295, 7.8063, 3.214, 7.8063], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 7.6902, 3.8726, 7.6902, 3.8726, + 7.8063, 3.492, 7.8063], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$600", "boundingBox": [5.8328, 7.6711, + 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], "words": [{"text": "$600", + "boundingBox": [5.8328, 7.6711, 6.1586, 7.6711, 6.1586, 7.8165, 5.8328, 7.8165], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 7.939, 3.018, 7.939, 3.018, + 7.9995, 2.9586, 7.9995], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 7.939, 3.018, 7.939, 3.018, 7.9995, 2.9586, 7.9995], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "50% discount on + program guide", "boundingBox": [3.2082, 7.9022, 5.3419, 7.9022, 5.3419, 8.0461, + 3.2082, 8.0461], "words": [{"text": "50%", "boundingBox": [3.2082, 7.9067, + 3.4817, 7.9067, 3.4817, 8.0195, 3.2082, 8.0195], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 7.9022, 4.1018, 7.9022, 4.1018, 8.018, + 3.533, 8.018], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 7.9367, + 4.307, 7.9367, 4.307, 8.018, 4.1512, 8.018], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 7.9367, 4.9253, 7.9367, 4.9253, 8.0461, 4.3682, 8.0461], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 7.9022, 5.3419, + 7.9022, 5.3419, 8.0461, 4.981, 8.0461], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.1056, 4.2429, 8.1056, 4.2429, 8.2213, 3.2075, 8.2213], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.1056, 4.2429, 8.1056, + 4.2429, 8.2213, 3.2075, 8.2213], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "Half Booth", "boundingBox": + [1.0923, 8.3162, 1.7854, 8.3162, 1.7854, 8.433, 1.0923, 8.433], "words": [{"text": + "Half", "boundingBox": [1.0923, 8.3162, 1.3522, 8.3162, 1.3522, 8.433, 1.0923, + 8.433], "confidence": 1}, {"text": "Booth", "boundingBox": [1.4022, 8.3169, + 1.7854, 8.3169, 1.7854, 8.433, 1.4022, 8.433], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "\uf0b7", "boundingBox": + [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, 8.4229], "words": [{"text": + "\uf0b7", "boundingBox": [2.9586, 8.3623, 3.018, 8.3623, 3.018, 8.4229, 2.9586, + 8.4229], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Full booth", "boundingBox": [3.214, 8.3252, 3.8726, 8.3252, + 3.8726, 8.4413, 3.214, 8.4413], "words": [{"text": "Full", "boundingBox": + [3.214, 8.3252, 3.4295, 8.3252, 3.4295, 8.4413, 3.214, 8.4413], "confidence": + 1}, {"text": "booth", "boundingBox": [3.492, 8.3252, 3.8726, 8.3252, 3.8726, + 8.4413, 3.492, 8.4413], "confidence": 1}], "appearance": {"style": {"name": + "other", "confidence": 1}}}, {"text": "$350", "boundingBox": [5.8328, 8.3061, + 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], "words": [{"text": "$350", + "boundingBox": [5.8328, 8.3061, 6.1586, 8.3061, 6.1586, 8.4515, 5.8328, 8.4515], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "\uf0b7", "boundingBox": [2.9586, 8.574, 3.018, 8.574, 3.018, + 8.6345, 2.9586, 8.6345], "words": [{"text": "\uf0b7", "boundingBox": [2.9586, + 8.574, 3.018, 8.574, 3.018, 8.6345, 2.9586, 8.6345], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "25% discount on + program guide", "boundingBox": [3.2093, 8.5372, 5.3419, 8.5372, 5.3419, 8.6811, + 3.2093, 8.6811], "words": [{"text": "25%", "boundingBox": [3.2093, 8.5417, + 3.4817, 8.5417, 3.4817, 8.6545, 3.2093, 8.6545], "confidence": 1}, {"text": + "discount", "boundingBox": [3.533, 8.5372, 4.1018, 8.5372, 4.1018, 8.653, + 3.533, 8.653], "confidence": 1}, {"text": "on", "boundingBox": [4.1512, 8.5717, + 4.307, 8.5717, 4.307, 8.653, 4.1512, 8.653], "confidence": 1}, {"text": "program", + "boundingBox": [4.3682, 8.5717, 4.9253, 8.5717, 4.9253, 8.6811, 4.3682, 8.6811], + "confidence": 1}, {"text": "guide", "boundingBox": [4.981, 8.5372, 5.3419, + 8.5372, 5.3419, 8.6811, 4.981, 8.6811], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}, {"text": "advertisements", "boundingBox": + [3.2075, 8.7406, 4.2429, 8.7406, 4.2429, 8.8563, 3.2075, 8.8563], "words": + [{"text": "advertisements", "boundingBox": [3.2075, 8.7406, 4.2429, 8.7406, + 4.2429, 8.8563, 3.2075, 8.8563], "confidence": 1}], "appearance": {"style": + {"name": "other", "confidence": 1}}}]}, {"page": 2, "angle": 0, "width": 8.5, + "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": + [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": + [{"text": "Vendor", "boundingBox": [6.1276, 1.0667, 6.8657, 1.0667, 6.8657, + 1.2403, 6.1276, 1.2403], "confidence": 1}, {"text": "#:121", "boundingBox": + [6.9307, 1.0759, 7.4833, 1.0759, 7.4833, 1.2391, 6.9307, 1.2391], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}, {"text": + "Vendor Details:", "boundingBox": [1.0044, 2.1771, 2.35, 2.1771, 2.35, 2.3315, + 1.0044, 2.3315], "words": [{"text": "Vendor", "boundingBox": [1.0044, 2.1778, + 1.6496, 2.1778, 1.6496, 2.3315, 1.0044, 2.3315], "confidence": 1}, {"text": + "Details:", "boundingBox": [1.7239, 2.1771, 2.35, 2.1771, 2.35, 2.3315, 1.7239, + 2.3315], "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Company Name: Southridge Video", "boundingBox": [1.0065, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 1.0065, 2.9128], "words": [{"text": "Company", + "boundingBox": [1.0065, 2.7749, 1.651, 2.7749, 1.651, 2.9126, 1.0065, 2.9126], + "confidence": 1}, {"text": "Name:", "boundingBox": [1.7019, 2.7764, 2.1376, + 2.7764, 2.1376, 2.885, 1.7019, 2.885], "confidence": 1}, {"text": "Southridge", + "boundingBox": [2.1925, 2.7686, 2.9184, 2.7686, 2.9184, 2.9128, 2.1925, 2.9128], + "confidence": 1}, {"text": "Video", "boundingBox": [2.9691, 2.7689, 3.3477, + 2.7689, 3.3477, 2.8847, 2.9691, 2.8847], "confidence": 1}], "appearance": + {"style": {"name": "other", "confidence": 1}}}, {"text": "Contact: Jamie@southridgevideo.com", + "boundingBox": [1.0065, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.0065, 3.2428], + "words": [{"text": "Contact:", "boundingBox": [1.0065, 3.1049, 1.5706, 3.1049, + 1.5706, 3.215, 1.0065, 3.215], "confidence": 1}, {"text": "Jamie@southridgevideo.com", + "boundingBox": [1.6205, 3.0986, 3.5766, 3.0986, 3.5766, 3.2428, 1.6205, 3.2428], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Preferred Package: Gold", "boundingBox": [1.0115, 3.4296, + 2.6542, 3.4296, 2.6542, 3.5744, 1.0115, 3.5744], "words": [{"text": "Preferred", + "boundingBox": [1.0115, 3.4296, 1.6499, 3.4296, 1.6499, 3.5467, 1.0115, 3.5467], + "confidence": 1}, {"text": "Package:", "boundingBox": [1.7092, 3.4302, 2.2978, + 3.4302, 2.2978, 3.5744, 1.7092, 3.5744], "confidence": 1}, {"text": "Gold", + "boundingBox": [2.3557, 3.4302, 2.6542, 3.4302, 2.6542, 3.5463, 2.3557, 3.5463], + "confidence": 1}], "appearance": {"style": {"name": "other", "confidence": + 1}}}, {"text": "Special Requests: N/a", "boundingBox": [1.0052, 3.7537, 2.4783, + 3.7537, 2.4783, 3.9043, 1.0052, 3.9043], "words": [{"text": "Special", "boundingBox": + [1.0052, 3.7602, 1.475, 3.7602, 1.475, 3.9043, 1.0052, 3.9043], "confidence": + 1}, {"text": "Requests:", "boundingBox": [1.5342, 3.7684, 2.1899, 3.7684, + 2.1899, 3.9043, 1.5342, 3.9043], "confidence": 1}, {"text": "N/a", "boundingBox": + [2.254, 3.7537, 2.4783, 3.7537, 2.4783, 3.8976, 2.254, 3.8976], "confidence": + 1}], "appearance": {"style": {"name": "other", "confidence": 1}}}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": + 0, "columnIndex": 0, "text": "Package", "boundingBox": [0.9975, 4.6436, 2.6168, + 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": ["#/readResults/0/lines/10/words/0"]}, + {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": + [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], "elements": + ["#/readResults/0/lines/11/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": + "Price", "boundingBox": [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, + 4.8578], "elements": ["#/readResults/0/lines/12/words/0"]}, {"rowIndex": 1, + "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, + 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": ["#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1"]}, {"rowIndex": 1, "columnIndex": 1, "text": + "\uf0b7", "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, + 5.0849], "elements": ["#/readResults/0/lines/14/words/0"]}, {"rowIndex": 1, + "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, + 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": ["#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1"]}, {"rowIndex": 1, "columnIndex": 3, "text": + "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, 5.0849, + 5.7422, 5.0849], "elements": ["#/readResults/0/lines/16/words/0"]}, {"rowIndex": + 2, "columnIndex": 0, "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, + 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": + 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, + 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198], "elements": ["#/readResults/0/lines/17/words/0", + "#/readResults/0/lines/19/words/0"]}, {"rowIndex": 2, "columnIndex": 2, "text": + "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, 5.7422, + 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": ["#/readResults/0/lines/18/words/0", + "#/readResults/0/lines/18/words/1", "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/20/words/0", + "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2"]}, + {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, + 5.0849, 7.4882, 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": + 3, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program + guide", "boundingBox": [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, + 5.7534], "elements": ["#/readResults/0/lines/21/words/0", "#/readResults/0/lines/22/words/0", + "#/readResults/0/lines/22/words/1", "#/readResults/0/lines/22/words/2", "#/readResults/0/lines/22/words/3", + "#/readResults/0/lines/22/words/4", "#/readResults/0/lines/22/words/5"]}, + {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, + 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": + 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, + 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": ["#/readResults/0/lines/23/words/0"]}, + {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, + 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": + 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": + [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": + ["#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853], "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/30/words/0", "#/readResults/0/lines/32/words/0"]}, + {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Post-keynote + thank you Logo on poster Half page ad in program guide", "boundingBox": [3.15, + 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853], "elements": ["#/readResults/0/lines/26/words/0", + "#/readResults/0/lines/26/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/31/words/0", "#/readResults/0/lines/31/words/1", + "#/readResults/0/lines/31/words/2", "#/readResults/0/lines/33/words/0", "#/readResults/0/lines/33/words/1", + "#/readResults/0/lines/33/words/2", "#/readResults/0/lines/33/words/3", "#/readResults/0/lines/33/words/4", + "#/readResults/0/lines/33/words/5"]}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": + 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, + 6.7788, 5.7489, 6.7853], "elements": ["#/readResults/0/lines/27/words/0"]}, + {"rowIndex": 7, "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", + "boundingBox": [0.9975, 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629], + "elements": ["#/readResults/0/lines/34/words/0", "#/readResults/0/lines/34/words/1"]}, + {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, + 6.7853, 3.15, 6.7853, 3.15, 7.019, 2.6168, 7.019], "elements": ["#/readResults/0/lines/35/words/0"]}, + {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full booth Logo on + poster 50% discount on program guide advertisements", "boundingBox": [3.15, + 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], "elements": ["#/readResults/0/lines/36/words/0", + "#/readResults/0/lines/36/words/1", "#/readResults/0/lines/39/words/0", "#/readResults/0/lines/39/words/1", + "#/readResults/0/lines/39/words/2", "#/readResults/0/lines/41/words/0", "#/readResults/0/lines/41/words/1", + "#/readResults/0/lines/41/words/2", "#/readResults/0/lines/41/words/3", "#/readResults/0/lines/41/words/4", + "#/readResults/0/lines/42/words/0"]}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": + 2, "text": "$1,000", "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, + 7.6355, 5.7489, 7.6355], "elements": ["#/readResults/0/lines/37/words/0"]}, + {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], "elements": + ["#/readResults/0/lines/38/words/0", "#/readResults/0/lines/40/words/0"]}, + {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": + [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, 8.2651], "elements": + ["#/readResults/0/lines/43/words/0", "#/readResults/0/lines/43/words/1"]}, + {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 + Full booth \uf0b7 50% discount on program guide advertisements", "boundingBox": + [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, 8.2651, 2.6102, 8.2651], "elements": + ["#/readResults/0/lines/44/words/0", "#/readResults/0/lines/45/words/0", "#/readResults/0/lines/45/words/1", + "#/readResults/0/lines/47/words/0", "#/readResults/0/lines/48/words/0", "#/readResults/0/lines/48/words/1", + "#/readResults/0/lines/48/words/2", "#/readResults/0/lines/48/words/3", "#/readResults/0/lines/48/words/4", + "#/readResults/0/lines/49/words/0"]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": + 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, 7.4948, + 8.2651, 5.7489, 8.2651], "elements": ["#/readResults/0/lines/46/words/0"]}, + {"rowIndex": 11, "columnIndex": 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": + [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": + ["#/readResults/0/lines/50/words/0", "#/readResults/0/lines/50/words/1"]}, + {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": + "\uf0b7 Full booth \uf0b7 25% discount on program guide advertisements", "boundingBox": + [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": + ["#/readResults/0/lines/51/words/0", "#/readResults/0/lines/52/words/0", "#/readResults/0/lines/52/words/1", + "#/readResults/0/lines/54/words/0", "#/readResults/0/lines/55/words/0", "#/readResults/0/lines/55/words/1", + "#/readResults/0/lines/55/words/2", "#/readResults/0/lines/55/words/3", "#/readResults/0/lines/55/words/4", + "#/readResults/0/lines/56/words/0"]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": + 2, "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, + 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], + "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, + {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": + [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge + Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, + 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": + ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", + "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], + "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", + "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood + Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, + 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": + ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", + "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + headers: + apim-request-id: b142298c-0c65-48d3-82ea-36daa59d6905 + content-length: '37206' + content-type: application/json; charset=utf-8 + date: Wed, 04 Nov 2020 20:59:50 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '26' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/25f49d7c-e433-44fa-bb18-68094af9c65e +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py index 9e132f5a3bea..a81a34eb327a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py @@ -207,6 +207,49 @@ def callback(raw_response, _, headers): # Check page metadata self.assertFormPagesTransformCorrect(invoice.pages, read_results) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + def test_invoice_stream_multipage_transform_pdf(self, client): + responses = [] + + def callback(raw_response, _, headers): + analyze_result = client._deserialize(AnalyzeOperationResult, raw_response) + extracted_invoice = prepare_prebuilt_models(analyze_result) + responses.append(analyze_result) + responses.append(extracted_invoice) + + with open(self.multipage_vendor_pdf, "rb") as fd: + myfile = fd.read() + + poller = client.begin_recognize_invoices( + invoice=myfile, + include_field_elements=True, + cls=callback + ) + + result = poller.result() + raw_response = responses[0] + returned_models = responses[1] + read_results = raw_response.analyze_result.read_results + document_results = raw_response.analyze_result.document_results + page_results = raw_response.analyze_result.page_results + + self.assertEqual(1, len(returned_models)) + returned_model = returned_models[0] + self.assertEqual(2, len(returned_model.pages)) + self.assertEqual(1, returned_model.page_range.first_page_number) + self.assertEqual(2, returned_model.page_range.last_page_number) + + + self.assertEqual(1, len(document_results)) + document_result = document_results[0] + self.assertEqual(1, document_result.page_range[0]) # checking first page number + self.assertEqual(2, document_result.page_range[1]) # checking last page number + + self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) + + self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() def test_invoice_pdf(self, client): @@ -253,6 +296,33 @@ def test_invoice_tiff(self, client): self.assertEqual(invoice.fields.get("InvoiceTotal").value, 56651.49) self.assertEqual(invoice.fields.get("DueDate").value, date(2017, 6, 24)) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + def test_invoice_multipage_pdf(self, client): + + with open(self.multipage_vendor_pdf, "rb") as fd: + invoice = fd.read() + poller = client.begin_recognize_invoices(invoice) + result = poller.result() + + self.assertEqual(len(result), 1) + invoice = result[0] + self.assertEqual("prebuilt:invoice", invoice.form_type) + self.assertEqual(1, invoice.page_range.first_page_number) + self.assertEqual(2, invoice.page_range.last_page_number) + + vendor_name = invoice.fields["VendorName"] + self.assertEqual(vendor_name.value, 'Southridge Video') + self.assertEqual(vendor_name.value_data.page_number, 2) + + remittance_address_recipient = invoice.fields["RemittanceAddressRecipient"] + self.assertEqual(remittance_address_recipient.value, "Contoso Ltd.") + self.assertEqual(remittance_address_recipient.value_data.page_number, 1) + + remittance_address = invoice.fields["RemittanceAddress"] + self.assertEqual(remittance_address.value, '2345 Dogwood Lane Birch, Kansas 98123') + self.assertEqual(remittance_address.value_data.page_number, 1) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() def test_invoice_pdf_include_field_elements(self, client): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py index 13c444471238..06fa5fc94e34 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py @@ -223,6 +223,50 @@ def callback(raw_response, _, headers): # Check page metadata self.assertFormPagesTransformCorrect(invoice.pages, read_results) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + async def test_invoice_stream_multipage_transform_pdf(self, client): + responses = [] + + def callback(raw_response, _, headers): + analyze_result = client._deserialize(AnalyzeOperationResult, raw_response) + extracted_invoice = prepare_prebuilt_models(analyze_result) + responses.append(analyze_result) + responses.append(extracted_invoice) + + with open(self.multipage_vendor_pdf, "rb") as fd: + myfile = fd.read() + + async with client: + poller = await client.begin_recognize_invoices( + invoice=myfile, + include_field_elements=True, + cls=callback + ) + + result = await poller.result() + raw_response = responses[0] + returned_models = responses[1] + read_results = raw_response.analyze_result.read_results + document_results = raw_response.analyze_result.document_results + page_results = raw_response.analyze_result.page_results + + self.assertEqual(1, len(returned_models)) + returned_model = returned_models[0] + self.assertEqual(2, len(returned_model.pages)) + self.assertEqual(1, returned_model.page_range.first_page_number) + self.assertEqual(2, returned_model.page_range.last_page_number) + + + self.assertEqual(1, len(document_results)) + document_result = document_results[0] + self.assertEqual(1, document_result.page_range[0]) # checking first page number + self.assertEqual(2, document_result.page_range[1]) # checking last page number + + self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) + + self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() async def test_invoice_pdf(self, client): @@ -272,6 +316,35 @@ async def test_invoice_tiff(self, client): self.assertEqual(invoice.fields.get("InvoiceTotal").value, 56651.49) self.assertEqual(invoice.fields.get("DueDate").value, date(2017, 6, 24)) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + async def test_invoice_multipage_pdf(self, client): + + with open(self.multipage_vendor_pdf, "rb") as fd: + invoice = fd.read() + + async with client: + poller = await client.begin_recognize_invoices(invoice) + result = await poller.result() + + self.assertEqual(len(result), 1) + invoice = result[0] + self.assertEqual("prebuilt:invoice", invoice.form_type) + self.assertEqual(1, invoice.page_range.first_page_number) + self.assertEqual(2, invoice.page_range.last_page_number) + + vendor_name = invoice.fields["VendorName"] + self.assertEqual(vendor_name.value, 'Southridge Video') + self.assertEqual(vendor_name.value_data.page_number, 2) + + remittance_address_recipient = invoice.fields["RemittanceAddressRecipient"] + self.assertEqual(remittance_address_recipient.value, "Contoso Ltd.") + self.assertEqual(remittance_address_recipient.value_data.page_number, 1) + + remittance_address = invoice.fields["RemittanceAddress"] + self.assertEqual(remittance_address.value, '2345 Dogwood Lane Birch, Kansas 98123') + self.assertEqual(remittance_address.value_data.page_number, 1) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() async def test_invoice_pdf_include_field_elements(self, client): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py index 20bc92bba11c..249acaa8a1f0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py @@ -141,6 +141,46 @@ def callback(raw_response, _, headers): # Check page metadata self.assertFormPagesTransformCorrect(invoice.pages, read_results) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + def test_invoice_url_multipage_transform_pdf(self, client): + responses = [] + + def callback(raw_response, _, headers): + analyze_result = client._deserialize(AnalyzeOperationResult, raw_response) + extracted_invoice = prepare_prebuilt_models(analyze_result) + responses.append(analyze_result) + responses.append(extracted_invoice) + + poller = client.begin_recognize_invoices_from_url( + invoice_url=self.multipage_vendor_url_pdf, + include_field_elements=True, + cls=callback + ) + + result = poller.result() + raw_response = responses[0] + returned_models = responses[1] + read_results = raw_response.analyze_result.read_results + document_results = raw_response.analyze_result.document_results + page_results = raw_response.analyze_result.page_results + + self.assertEqual(1, len(returned_models)) + returned_model = returned_models[0] + self.assertEqual(2, len(returned_model.pages)) + self.assertEqual(1, returned_model.page_range.first_page_number) + self.assertEqual(2, returned_model.page_range.last_page_number) + + + self.assertEqual(1, len(document_results)) + document_result = document_results[0] + self.assertEqual(1, document_result.page_range[0]) # checking first page number + self.assertEqual(2, document_result.page_range[1]) # checking last page number + + self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) + + self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() def test_invoice_pdf(self, client): @@ -181,6 +221,31 @@ def test_invoice_tiff(self, client): self.assertEqual(invoice.fields.get("InvoiceTotal").value, 56651.49) self.assertEqual(invoice.fields.get("DueDate").value, date(2017, 6, 24)) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + def test_invoice_multipage_pdf(self, client): + + poller = client.begin_recognize_invoices_from_url(self.multipage_vendor_url_pdf) + result = poller.result() + + self.assertEqual(len(result), 1) + invoice = result[0] + self.assertEqual("prebuilt:invoice", invoice.form_type) + self.assertEqual(1, invoice.page_range.first_page_number) + self.assertEqual(2, invoice.page_range.last_page_number) + + vendor_name = invoice.fields["VendorName"] + self.assertEqual(vendor_name.value, 'Southridge Video') + self.assertEqual(vendor_name.value_data.page_number, 2) + + remittance_address_recipient = invoice.fields["RemittanceAddressRecipient"] + self.assertEqual(remittance_address_recipient.value, "Contoso Ltd.") + self.assertEqual(remittance_address_recipient.value_data.page_number, 1) + + remittance_address = invoice.fields["RemittanceAddress"] + self.assertEqual(remittance_address.value, '2345 Dogwood Lane Birch, Kansas 98123') + self.assertEqual(remittance_address.value_data.page_number, 1) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() def test_invoice_pdf_include_field_elements(self, client): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py index 17a1e719d074..333225d23859 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py @@ -152,6 +152,47 @@ def callback(raw_response, _, headers): # Check page metadata self.assertFormPagesTransformCorrect(invoice.pages, read_results) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + async def test_invoice_url_multipage_transform_pdf(self, client): + responses = [] + + def callback(raw_response, _, headers): + analyze_result = client._deserialize(AnalyzeOperationResult, raw_response) + extracted_invoice = prepare_prebuilt_models(analyze_result) + responses.append(analyze_result) + responses.append(extracted_invoice) + + async with client: + poller = await client.begin_recognize_invoices_from_url( + invoice_url=self.multipage_vendor_url_pdf, + include_field_elements=True, + cls=callback + ) + + result = await poller.result() + raw_response = responses[0] + returned_models = responses[1] + read_results = raw_response.analyze_result.read_results + document_results = raw_response.analyze_result.document_results + page_results = raw_response.analyze_result.page_results + + self.assertEqual(1, len(returned_models)) + returned_model = returned_models[0] + self.assertEqual(2, len(returned_model.pages)) + self.assertEqual(1, returned_model.page_range.first_page_number) + self.assertEqual(2, returned_model.page_range.last_page_number) + + + self.assertEqual(1, len(document_results)) + document_result = document_results[0] + self.assertEqual(1, document_result.page_range[0]) # checking first page number + self.assertEqual(2, document_result.page_range[1]) # checking last page number + + self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) + + self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() async def test_invoice_pdf(self, client): @@ -194,6 +235,32 @@ async def test_invoice_tiff(self, client): self.assertEqual(invoice.fields.get("InvoiceTotal").value, 56651.49) self.assertEqual(invoice.fields.get("DueDate").value, date(2017, 6, 24)) + @GlobalFormRecognizerAccountPreparer() + @GlobalClientPreparer() + async def test_invoice_multipage_pdf(self, client): + + async with client: + poller = await client.begin_recognize_invoices_from_url(self.multipage_vendor_url_pdf) + result = await poller.result() + + self.assertEqual(len(result), 1) + invoice = result[0] + self.assertEqual("prebuilt:invoice", invoice.form_type) + self.assertEqual(1, invoice.page_range.first_page_number) + self.assertEqual(2, invoice.page_range.last_page_number) + + vendor_name = invoice.fields["VendorName"] + self.assertEqual(vendor_name.value, 'Southridge Video') + self.assertEqual(vendor_name.value_data.page_number, 2) + + remittance_address_recipient = invoice.fields["RemittanceAddressRecipient"] + self.assertEqual(remittance_address_recipient.value, "Contoso Ltd.") + self.assertEqual(remittance_address_recipient.value_data.page_number, 1) + + remittance_address = invoice.fields["RemittanceAddress"] + self.assertEqual(remittance_address.value, '2345 Dogwood Lane Birch, Kansas 98123') + self.assertEqual(remittance_address.value_data.page_number, 1) + @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() async def test_invoice_pdf_include_field_elements(self, client): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py index 619762049421..a573a6080062 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py @@ -109,6 +109,7 @@ def __init__(self, method_name): self.business_card_multipage_url_pdf = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/business_cards/business-card-multipage.pdf" self.invoice_url_pdf = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf" self.invoice_url_tiff = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.tiff" + self.multipage_vendor_url_pdf = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multi1.pdf" self.form_url_jpg = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg" self.multipage_url_pdf = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf" self.multipage_table_url_pdf = "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipagelayout.pdf" From 211a04f676ad95155ed8151faeaffdcae33f03d2 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 5 Nov 2020 13:27:41 -0500 Subject: [PATCH 2/2] check table transforms as well --- .../azure-ai-formrecognizer/tests/test_invoice.py | 2 +- .../azure-ai-formrecognizer/tests/test_invoice_async.py | 2 +- .../azure-ai-formrecognizer/tests/test_invoice_from_url.py | 2 +- .../tests/test_invoice_from_url_async.py | 2 +- sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py index a81a34eb327a..cab423fca46b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice.py @@ -248,7 +248,7 @@ def callback(raw_response, _, headers): self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) - self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + self.assertFormPagesTransformCorrect(returned_model.pages, read_results, page_results) @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py index 06fa5fc94e34..2536fdf5d8c9 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_async.py @@ -265,7 +265,7 @@ def callback(raw_response, _, headers): self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) - self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + self.assertFormPagesTransformCorrect(returned_model.pages, read_results, page_results) @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py index 249acaa8a1f0..3dc8a3debc64 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url.py @@ -179,7 +179,7 @@ def callback(raw_response, _, headers): self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) - self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + self.assertFormPagesTransformCorrect(returned_model.pages, read_results, page_results) @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py index 333225d23859..d1bfdc9937a5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_invoice_from_url_async.py @@ -191,7 +191,7 @@ def callback(raw_response, _, headers): self.assertInvoiceTransformCorrect(returned_model, document_result.fields, read_results) - self.assertFormPagesTransformCorrect(returned_model.pages, read_results) + self.assertFormPagesTransformCorrect(returned_model.pages, read_results, page_results) @GlobalFormRecognizerAccountPreparer() @GlobalClientPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py index a573a6080062..431171134671 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py @@ -213,7 +213,8 @@ def assertFormPagesTransformCorrect(self, form_pages, read_result, page_result=N for page, expected_page in zip(form_pages, page_result): if hasattr(page, "pages"): # this is necessary for how unlabeled forms are structured page = page.pages[0] - self.assertTablesTransformCorrect(page.tables, expected_page.tables, read_result, **kwargs) + if expected_page.tables: + self.assertTablesTransformCorrect(page.tables, expected_page.tables, read_result, **kwargs) def assertBoundingBoxTransformCorrect(self, box, expected): if box is None and expected is None: