@@ -22,19 +22,19 @@ interactions:
22
22
string : ' '
23
23
headers :
24
24
apim-request-id :
25
- - fd0ce4b0-afb2-47bc-887d-863aa0e76163
25
+ - 1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4
26
26
content-length :
27
27
- ' 0'
28
28
date :
29
- - Wed, 11 Nov 2020 18:03:31 GMT
29
+ - Mon, 16 Nov 2020 19:08:58 GMT
30
30
operation-location :
31
- - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/fd0ce4b0-afb2-47bc-887d-863aa0e76163
31
+ - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4
32
32
strict-transport-security :
33
33
- max-age=31536000; includeSubDomains; preload
34
34
x-content-type-options :
35
35
- nosniff
36
36
x-envoy-upstream-service-time :
37
- - ' 1385 '
37
+ - ' 677 '
38
38
status :
39
39
code : 202
40
40
message : Accepted
@@ -50,65 +50,65 @@ interactions:
50
50
User-Agent :
51
51
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
52
52
method : GET
53
- uri : https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/fd0ce4b0-afb2-47bc-887d-863aa0e76163
53
+ uri : https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4
54
54
response :
55
55
body :
56
- string : ' {"status": "succeeded", "createdDateTime": "2020-11-11T18:03:30Z ",
57
- "lastUpdatedDateTime": "2020-11-11T18:03:34Z ", "analyzeResult": {"version":
58
- "2.1.0", "readResults": [{"page": 1, "angle": 0.1273 , "width": 1688, "height":
56
+ string : ' {"status": "succeeded", "createdDateTime": "2020-11-16T19:08:58Z ",
57
+ "lastUpdatedDateTime": "2020-11-16T19:09:02Z ", "analyzeResult": {"version":
58
+ "2.1.0", "readResults": [{"page": 1, "angle": 0.6893 , "width": 1688, "height":
59
59
3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt",
60
60
"pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString":
61
- "Itemized", "confidence": 0.99 }, "MerchantName": {"type": "string", "valueString":
62
- "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [380.9, 282.9 ,
63
- 1116, 473.2, 1025, 824.4, 290, 634 ], "page": 1, "confidence": 0.716}, "MerchantAddress":
64
- {"type": "string", "valueString": "123 Main Street Redmond, WA 98052", "text":
65
- " 123 Main Street Redmond, WA 98052", "boundingBox": [298.3, 676.5, 844.6 ,
66
- 781.5, 810. 7, 958, 264 .4, 853 ], "page": 1, "confidence": 0.989}, "MerchantPhoneNumber ":
67
- {"type": "phoneNumber", "valuePhoneNumber": "+19876543210", "text": "987-654-3210",
68
- "boundingBox": [271, 1000, 651, 1049, 643, 1125, 264, 1075], "page": 1, "confidence":
69
- 0.99}, "TransactionDate": {"type ": "date" , "valueDate ": "2019-06-10" , "text ":
70
- "6/10/2019" , "boundingBox ": [259, 1224, 510, 1246, 505, 1331, 255, 1312],
71
- "page": 1, "confidence": 0.99}, "TransactionTime": {"type": "time", "valueTime":
72
- "13:59:00" , "text ": "13:59", "boundingBox ": [527, 1248, 681, 1262, 675, 1341 ,
73
- 522, 1332], "page": 1, "confidence": 0.989}, "Items": {"type ": "array" , "valueArray ":
74
- [ {"type": "object ", "valueObject ": {"Quantity": {" type": "number ", "valueNumber ":
75
- 1, "text ": "1 ", "boundingBox ": [244, 1581, 288, 1584, 285, 1678, 241, 1675],
76
- "page": 1, "confidence": 0.919}, "Name": {"type": "string", "valueString":
77
- "Cappuccino", "text ": "Cappuccino ", "boundingBox ": [306, 1585, 658, 1598 ,
78
- 657, 1688, 304, 1679], "page": 1, "confidence": 0.959} , "TotalPrice ": {"type ":
79
- " number", "valueNumber": 2.2, "text": "$2.20", "boundingBox": [1106, 1579 ,
80
- 1260, 1574 , 1263, 1656, 1108, 1662 ], "page": 1, "confidence": 0.959}}}, {"type":
81
- "object", "valueObject": {"Quantity": {"type": "number", "valueNumber": 1,
82
- "text": "1", "boundingBox": [227, 1839, 278, 1839, 277, 1924, 226, 1924] ,
83
- "page": 1, "confidence": 0.91 }, "Name": {"type": "string", "valueString":
84
- "BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [294, 1839, 737, 1839 ,
85
- 737, 1924, 294, 1924 ], "page": 1, "confidence": 0.955}, "TotalPrice": {"type":
86
- "number", "valueNumber": 9.5, "text": "$9.5", "boundingBox": [1134, 1948,
87
- 1252, 1948, 1252, 2041, 1134, 2041 ], "page": 1, "confidence": 0.958}}}]},
88
- "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70", "boundingBox":
89
- [1139, 2228, 1309, 2228, 1308, 2313, 1138, 2313 ], "page": 1, "confidence":
90
- 0.923 }, "Tax": {"type": "number", "valueNumber": 1.17, "text": "1.17", "boundingBox ":
91
- [1186, 2356, 1307, 2361, 1303, 2452, 1182, 2447 ], "page": 1, "confidence ":
92
- 0.979}, "Tip": {"type": "number", "valueNumber": 463 , "text": "$463", "boundingBox ":
93
- [1034, 2483, 1268, 2488, 1266, 2583, 1032, 2577 ], "page": 1, "confidence ":
94
- 0.975 }, "Total": {"type": "number", "valueNumber": 14.5, "text": "$14.50" ,
95
- "boundingBox ": [1033, 2623, 1376, 2641, 1370, 2758, 1027, 2740], "page": 1 ,
96
- " confidence": 0.987 }}}]}}'
61
+ "Itemized", "confidence": 0.692 }, "MerchantName": {"type": "string", "valueString":
62
+ "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [378.2, 292.4 ,
63
+ 1117.7, 468.3, 1035.7, 812.7, 296.3, 636.8 ], "page": 1, "confidence": 0.613},
64
+ "MerchantAddress": {"type": "string", "valueString": "123 Main Street Redmond,
65
+ WA 98052", "text": " 123 Main Street Redmond, WA 98052", "boundingBox": [302 ,
66
+ 675.8, 848.1, 793. 7, 809.9, 970 .4, 263.9, 852.5 ], "page": 1, "confidence":
67
+ 0.99}, "MerchantPhoneNumber": {"type": "phoneNumber", "valuePhoneNumber":
68
+ "+19876543210", "text": "987-654-3210", "boundingBox": [278, 1004, 656, 1057,
69
+ 647, 1123, 271, 1075], "page ": 1 , "confidence ": 0.99} , "TransactionDate ":
70
+ {"type": "date" , "valueDate ": "2019-06-10", "text": "6/10/2019", "boundingBox":
71
+ [267, 1229, 525, 1247, 517, 1332, 259, 1313], "page": 1, "confidence": 0.99},
72
+ "TransactionTime": {"type": "time" , "valueTime ": "13:59:00 ", "text ": "13:59" ,
73
+ "boundingBox": [541, 1248, 677, 1263, 669, 1345, 533, 1333], "page ": 1 , "confidence ":
74
+ 0.977}, "Items": {"type": "array ", "valueArray ": [{" type": "object ", "valueObject ":
75
+ {"Quantity": {"type ": "number ", "valueNumber ": 1, "text": "1", "boundingBox":
76
+ [245, 1583, 299, 1585, 295, 1676, 241, 1671], "page": 1, "confidence": 0.92},
77
+ "Name": {"type ": "string ", "valueString ": "Cappuccino", "text": "Cappuccino" ,
78
+ "boundingBox": [322, 1586, 654, 1605, 648, 1689, 318, 1678] , "page ": 1, "confidence ":
79
+ 0.923}, "TotalPrice": {"type": " number", "valueNumber": 2.2, "text": "$2.20",
80
+ "boundingBox": [1108, 1584 , 1263, 1574, 1268, 1656, 1113, 1666 ], "page": 1,
81
+ "confidence": 0.918}}}, {"type": " object", "valueObject": {"Quantity": {"type":
82
+ "number", "valueNumber": 1, " text": "1", "boundingBox": [232, 1834, 286, 1836 ,
83
+ 285, 1920, 231, 1920], "page": 1, "confidence": 0.858 }, "Name": {"type": "string",
84
+ "valueString": " BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [308 ,
85
+ 1836, 746, 1841.4, 745, 1925.4, 307, 1920 ], "page": 1, "confidence": 0.916},
86
+ "TotalPrice": {"type": " number", "valueNumber": 9.5, "text": "$9.5", "boundingBox":
87
+ [1135, 1955, 1257, 1952, 1259, 2036, 1136, 2039 ], "page": 1, "confidence":
88
+ 0.916}}}]}, "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70",
89
+ "boundingBox": [1146, 2221, 1297, 2223, 1296, 2319, 1145, 2317 ], "page": 1,
90
+ "confidence": 0.955 }, "Tax": {"type": "number", "valueNumber": 1.17, "text":
91
+ "1.17", "boundingBox": [1190, 2359, 1304, 2359, 1304, 2456, 1190, 2456 ], "page":
92
+ 1, "confidence": 0.979}, "Tip": {"type": "number", "valueNumber": 1.63 , "text":
93
+ "1.63", "boundingBox": [1094, 2479, 1267, 2485, 1264, 2591, 1091, 2585 ], "page":
94
+ 1, "confidence": 0.941 }, "Total": {"type": "number", "valueNumber": 14.5,
95
+ "text ": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030 ,
96
+ 2739], "page": 1, " confidence": 0.985 }}}]}}'
97
97
headers :
98
98
apim-request-id :
99
- - 6d4f38cc-a802-4e2f-8e13-b3bd85a0bd69
99
+ - c2856806-d705-4338-be31-aa24fa0c3489
100
100
content-length :
101
- - ' 2820 '
101
+ - ' 2835 '
102
102
content-type :
103
103
- application/json; charset=utf-8
104
104
date :
105
- - Wed, 11 Nov 2020 18:03:35 GMT
105
+ - Mon, 16 Nov 2020 19:09:03 GMT
106
106
strict-transport-security :
107
107
- max-age=31536000; includeSubDomains; preload
108
108
x-content-type-options :
109
109
- nosniff
110
110
x-envoy-upstream-service-time :
111
- - ' 57 '
111
+ - ' 95 '
112
112
status :
113
113
code : 200
114
114
message : OK
0 commit comments