Skip to content

Commit

Permalink
Add Reading Order parameter to Computer Vision 3.2 Read Operation (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
TFR258 authored May 3, 2021
1 parent dceaa75 commit c16a571
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
},
{
"$ref": "#/parameters/OcrModelVersion"
},
{
"$ref": "#/parameters/ReadingOrder"
}
],
"consumes": [
Expand Down Expand Up @@ -133,6 +136,12 @@
},
{
"$ref": "#/parameters/Pages"
},
{
"$ref": "#/parameters/OcrModelVersion"
},
{
"$ref": "#/parameters/ReadingOrder"
}
],
"consumes": [
Expand Down Expand Up @@ -594,6 +603,15 @@
"type": "string",
"pattern": "^(latest|\\d{4}-\\d{2}-\\d{2})(-preview)?$",
"default": "latest"
},
"ReadingOrder": {
"name": "readingOrder",
"in": "query",
"description": "Optional parameter to specify which reading order algorithm should be applied when ordering the extract text elements. Can be either 'basic' or 'natural'. Will default to 'basic' if not specified",
"required": false,
"x-ms-parameter-location": "method",
"type": "string",
"default": "basic"
}
}
}

0 comments on commit c16a571

Please sign in to comment.