Converts an uploaded image in common formats such as JPEG, PNG into words/text with location information and other metdata via Optical Character Recognition. This API is intended to be run on scanned documents. If you want to OCR photos (e.g. taken with a smart phone camera), be sure to use the photo/toText API instead, as it is designed to unskew the image first. Note: for free tier API keys, it is required to add a credit card to your account for security reasons, to use the free tier key with this API.
643 matches
18 actions
ocrapi
18 actions
- Convert a PDF into text lines with locationPOSTv1.0.0
- Convert a PDF into words with locationPOSTv1.0.0
- Convert a photo of a document into textPOSTv1.0.0
- Convert a photo of a document or receipt into words with locationPOSTv1.0.0
- Convert a photo of a receipt into a CSV file containing structured information from the receiptPOSTv1.0.0
- Convert a scanned image into textPOSTv1.0.0
- Convert a scanned image into words with locationPOSTv1.0.0
- Convert a scanned image into words with locationPOSTv1.0.0
- Convert an image of text into a binarized (light and dark) viewPOSTv1.0.0
- Convert an image of text into a binary (light and dark) view with MLPOSTv1.0.0
- Detect and unrotate a document imagePOSTv1.0.0
- Detect and unrotate a document image (advanced)POSTv1.0.0
- Detect and unskew a photo of a documentPOSTv1.0.0
- Get the angle of the page / document / receiptPOSTv1.0.0
- Recognize a photo of a business card, extract key business informationPOSTv1.0.0
- Recognize a photo of a form, extract key fields and business informationPOSTv1.0.0
- Recognize a photo of a form, extract key fields using stored templatesPOSTv1.0.0
- Recognize a photo of a receipt, extract key business informationPOSTv1.0.0
Other/ocrapi
Convert a scanned image into words with location
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
{
"type": "object",
"properties": {
"language": {
"type": "string"
},
"preprocessing": {
"type": "string"
}
},
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
{
"type": "object",
"description": "Result of an image to words-with-location OCR operation",
"properties": {
"Successful": {
"type": "boolean",
"description": "True if successful, false otherwise"
},
"Words": {
"type": "array",
"description": "Word elements in the image",
"items": {
"type": "object",
"description": "A single word in an OCR document",
"properties": {
"BlockNumber": {
"type": "integer",
"format": "int32",
"description": "Index of the containing block"
},
"ConfidenceLevel": {
"type": "number",
"format": "double",
"description": "Confidence level of the machine learning result; possible values are 0.0 (lowest accuracy) - 1.0 (highest accuracy)"
},
"Height": {
"type": "integer",
"format": "int32",
"description": "Height of the word in pixels"
},
"LineNumber": {
"type": "integer",
"format": "int32",
"description": "Line number of the word"
},
"PageNumber": {
"type": "integer",
"format": "int32",
"description": "Index of the containing page"
},
"ParagraphNumber": {
"type": "integer",
"format": "int32",
"description": "Index of the containing paragraph"
},
"Width": {
"type": "integer",
"format": "int32",
"description": "Width of the word in pixels"
},
"WordNumber": {
"type": "integer",
"format": "int32",
"description": "Index of the word in the line"
},
"WordText": {
"type": "string",
"description": "Text of the word"
},
"XLeft": {
"type": "integer",
"format": "int32",
"description": "X location of the left edge of the word in pixels"
},
"YTop": {
"type": "integer",
"format": "int32",
"description": "Y location of the top edge of the word in pixels"
}
}
}
}
}
}