Skip to content

Commit eb16cd9

Browse files
committed
add new json responses
1 parent d2798ce commit eb16cd9

File tree

4 files changed

+583
-0
lines changed

4 files changed

+583
-0
lines changed

curl/business-card-result.json

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
{
2+
"status":"succeeded",
3+
"createdDateTime":"2021-02-09T18:14:05Z",
4+
"lastUpdatedDateTime":"2021-02-09T18:14:10Z",
5+
"analyzeResult":{
6+
"version":"2.1.0",
7+
"readResults":[
8+
{
9+
"page":1,
10+
"angle":-16.6836,
11+
"width":4032,
12+
"height":3024,
13+
"unit":"pixel"
14+
}
15+
],
16+
"documentResults":[
17+
{
18+
"docType":"prebuilt:businesscard",
19+
"pageRange":[
20+
1,
21+
1
22+
],
23+
"fields":{
24+
"ContactNames":{
25+
"type":"array",
26+
"valueArray":[
27+
{
28+
"type":"object",
29+
"valueObject":{
30+
"FirstName":{
31+
"type":"string",
32+
"valueString":"Avery",
33+
"text":"Avery",
34+
"boundingBox":[
35+
683,
36+
1098,
37+
1158,
38+
984,
39+
1187,
40+
1103,
41+
712,
42+
1212
43+
],
44+
"page":1
45+
},
46+
"LastName":{
47+
"type":"string",
48+
"valueString":"Smith",
49+
"text":"Smith",
50+
"boundingBox":[
51+
1179,
52+
979,
53+
1610,
54+
871,
55+
1637,
56+
990,
57+
1209,
58+
1097
59+
],
60+
"page":1
61+
}
62+
},
63+
"text":"Dr. Avery Smith",
64+
"boundingBox":[
65+
413.8,
66+
1151.8,
67+
1610,
68+
871,
69+
1639.5,
70+
996.8,
71+
443.4,
72+
1277.6
73+
],
74+
"page":1,
75+
"confidence":0.979
76+
}
77+
]
78+
},
79+
"JobTitles":{
80+
"type":"array",
81+
"valueArray":[
82+
{
83+
"type":"string",
84+
"valueString":"Senior Researcher",
85+
"text":"Senior Researcher",
86+
"boundingBox":[
87+
446.8,
88+
1312.2,
89+
1318,
90+
1103,
91+
1336.7,
92+
1180.9,
93+
465.5,
94+
1390.1
95+
],
96+
"page":1,
97+
"confidence":0.99
98+
}
99+
]
100+
},
101+
"Departments":{
102+
"type":"array",
103+
"valueArray":[
104+
{
105+
"type":"string",
106+
"valueString":"Cloud & Al Department",
107+
"text":"Cloud & Al Department",
108+
"boundingBox":[
109+
473.1,
110+
1407.2,
111+
1594,
112+
1132,
113+
1615.4,
114+
1219.3,
115+
494.5,
116+
1494.5
117+
],
118+
"page":1,
119+
"confidence":0.989
120+
}
121+
]
122+
},
123+
"Emails":{
124+
"type":"array",
125+
"valueArray":[
126+
{
127+
"type":"string",
128+
"valueString":"[email protected]",
129+
130+
"boundingBox":[
131+
2103,
132+
935,
133+
2926,
134+
701,
135+
2938,
136+
764,
137+
2119,
138+
994
139+
],
140+
"page":1,
141+
"confidence":0.99
142+
}
143+
]
144+
},
145+
"Websites":{
146+
"type":"array",
147+
"valueArray":[
148+
{
149+
"type":"string",
150+
"valueString":"https://www.contoso.com/",
151+
"text":"https://www.contoso.com/",
152+
"boundingBox":[
153+
2116,
154+
1004,
155+
2981,
156+
757,
157+
3006,
158+
824,
159+
2136,
160+
1075
161+
],
162+
"page":1,
163+
"confidence":0.99
164+
}
165+
]
166+
},
167+
"MobilePhones":{
168+
"type":"array",
169+
"valueArray":[
170+
{
171+
"type":"phoneNumber",
172+
"text":"+44 (0) 7911 123456",
173+
"boundingBox":[
174+
2431.9,
175+
1037.2,
176+
3081.2,
177+
843.3,
178+
3102.7,
179+
915.2,
180+
2453.3,
181+
1109.1
182+
],
183+
"page":1,
184+
"confidence":0.99
185+
}
186+
]
187+
},
188+
"OtherPhones":{
189+
"type":"array",
190+
"valueArray":[
191+
{
192+
"type":"phoneNumber",
193+
"text":"+44 (0) 20 9876 5432",
194+
"boundingBox":[
195+
2469.1,
196+
1118.1,
197+
3136.2,
198+
912.4,
199+
3158.8,
200+
985.8,
201+
2491.8,
202+
1191.5
203+
],
204+
"page":1,
205+
"confidence":0.99
206+
}
207+
]
208+
},
209+
"Faxes":{
210+
"type":"array",
211+
"valueArray":[
212+
{
213+
"type":"phoneNumber",
214+
"text":"+44 (0) 20 6789 2345",
215+
"boundingBox":[
216+
2521.3,
217+
1196.2,
218+
3198,
219+
979,
220+
3222.3,
221+
1054.7,
222+
2545.6,
223+
1271.9
224+
],
225+
"page":1,
226+
"confidence":0.99
227+
}
228+
]
229+
},
230+
"CompanyNames":{
231+
"type":"array",
232+
"valueArray":[
233+
{
234+
"type":"string",
235+
"valueString":"Contoso",
236+
"text":"Contoso",
237+
"boundingBox":[
238+
1157,
239+
1923,
240+
2299,
241+
1565,
242+
2361,
243+
1731,
244+
1213,
245+
2098
246+
],
247+
"page":1,
248+
"confidence":0.222
249+
}
250+
]
251+
},
252+
"Addresses":{
253+
"type":"array",
254+
"valueArray":[
255+
{
256+
"type":"string",
257+
"valueString":"2 Kingdom Street Paddington, London, W2 6BD",
258+
"text":"2 Kingdom Street Paddington, London, W2 6BD",
259+
"boundingBox":[
260+
1224.6,
261+
2139.5,
262+
2536.4,
263+
1685.2,
264+
2613.1,
265+
1906.7,
266+
1301.3,
267+
2361
268+
],
269+
"page":1,
270+
"confidence":0.979
271+
}
272+
]
273+
}
274+
}
275+
}
276+
]
277+
}
278+
}

curl/form-recognizer/Invoice-6.pdf

163 KB
Binary file not shown.

0 commit comments

Comments
 (0)