Skip to content

Commit 6dd382b

Browse files
author
AWS
committed
Amazon Textract Update: Add ocr results in AnalyzeIDResponse as blocks
1 parent 3868111 commit 6dd382b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Textract",
4+
"contributor": "",
5+
"description": "Add ocr results in AnalyzeIDResponse as blocks"
6+
}

services/textract/src/main/resources/codegen-resources/service-2.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@
569569
"members":{
570570
"Code":{
571571
"shape":"String",
572-
"documentation":"<p>Currency code for detected currency.</p>"
572+
"documentation":"<p>Currency code for detected currency. the current supported codes are:</p> <ul> <li> <p>USD</p> </li> <li> <p>EUR</p> </li> <li> <p>GBP</p> </li> <li> <p>CAD</p> </li> <li> <p>INR</p> </li> <li> <p>JPY</p> </li> <li> <p>CHF</p> </li> <li> <p>AUD</p> </li> <li> <p>CNY</p> </li> <li> <p>BZR</p> </li> <li> <p>SEK</p> </li> <li> <p>HKD</p> </li> </ul>"
573573
},
574574
"Confidence":{
575575
"shape":"Percent",
@@ -658,14 +658,14 @@
658658
"members":{
659659
"Types":{
660660
"shape":"StringList",
661-
"documentation":"<p>Informs you on the kind of label associated with the group</p>"
661+
"documentation":"<p>Informs you on whether the expense group is a name or an address.</p>"
662662
},
663663
"Id":{
664664
"shape":"String",
665665
"documentation":"<p>Provides a group Id number, which will be the same for each in the group.</p>"
666666
}
667667
},
668-
"documentation":"<p>Shows the group that a certain key belongs to. This helps differentiate responses like addresses that can appear similar in response JSON.</p>"
668+
"documentation":"<p>Shows the group that a certain key belongs to. This helps differentiate between names and addresses for different organizations, that can be hard to determine via JSON response.</p>"
669669
},
670670
"ExpenseGroupPropertyList":{
671671
"type":"list",
@@ -980,6 +980,10 @@
980980
"IdentityDocumentFields":{
981981
"shape":"IdentityDocumentFieldList",
982982
"documentation":"<p>The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.</p>"
983+
},
984+
"Blocks":{
985+
"shape":"BlockList",
986+
"documentation":"<p>Individual word recognition, as returned by document detection.</p>"
983987
}
984988
},
985989
"documentation":"<p>The structure that lists each document processed in an AnalyzeID operation.</p>"

0 commit comments

Comments
 (0)