Important featuresClick to apply | Detailed description |
---|---|
Applicable Scenarios | Support text detection and recognition in any natural scene |
Textual Direction | Mixed horizontal and vertical text recognition supported by default |
Printed Handwriting | Default support for handwriting and printing judgment and mixed recognition of printed and handwritten text |
Character Information | Optionally returns complete character information including character coordinates, candidate words, etc. |
Language Type | Default Support Simplified English / Japanese / Korean / French / German / Portuguese / Spanish / Italian / Dutch / Swedish / Finnish / Danish / Norwegian / Hungarian / Vietnamese / Afrikaans / Albanian / Basque / Catalan / Croatian / Czech / Estonian / Icelandic / Irish / Latin/ Chinese / Traditional Chinese / Latvian/Lithuanian/Malay/Polish/Romanian/Slovak/Slovenian/Swahili/Turkish/Welsh/Marathi/Creole/Galician/Esperanto/Filipino/Indonesian/Azerbaijani/Russian/Bulgarian/Macedonian/Ukrainian/Serbian/Belarusian/Greek/Armenian and other 52 common languages. Armenian, 52 common languages and many more mapped languages. |
The images to be uploaded currently support jpg, png, bmp, pdf, tiff, single frame gif and most other formats. The file size should not exceed 10M, and the width and height of the image should be between 20 and 10000 (pixels).
parameter name | data type | description |
---|---|---|
imageUrl | String | Valid URL or base64 string starting with “http(s)😕/” |
imageFile | File |
Content-Type: application/json
The JSON structure is described below:
field name | data type | data type |
---|---|---|
code | integer | 200-SUCCESS; 400-FAILED |
status | string | Status result information |
service | string | |
message | string | |
result | object | |
+ angle | integer | Image Angle, define 0 degree as the image direction for human to read the text, it is called orthographic image, this field indicates that the input image is the result of rotating the orthographic image by a number of clockwise angles. 0: ▲90: ▶180: ▼270: ◀ |
+ width | integer | Width of the input image. |
+ height | integer | Height of the input image. |
+ lines | array | Recognition results in lines of text |
++ text | string | Recognize content strings |
++ score | number | Recognition confidence |
++ type | string | text type, used to represent the shape of the text. Under the current version, text types include: text (text) stamp (stamp) formula (formula) |
++ position | array | The coordinates of the identified value in the transitive map are an array of length 8 [0,1,2,3,4,5,6,7]. (0, 1) coordinates of the upper left corner (2, 3) coordinates of the upper right corner (4, 5) Coordinate of the lower right corner. (6, 7) Bottom-left corner coordinates |
++ angle | integer | Image Angle, define 0 degree as the image direction for human to read the text, it is called orthographic image, this field indicates that the input image is the result of rotating the orthographic image by a number of clockwise angles. 0: ▲90: ▶180: ▼270: ◀ |
++ direction | integer | Text reading direction. -1: Other 0: Single word 1: Landscape 2: Portrait |
++ handwritten | integer | Whether the text is handwritten or not. -1: Unknown 0: Text is not handwritten, usually printed 1: Text is handwritten, usually with distinctive writing characteristics |