ocrapi
  1. ImageOcr
ocrapi
  • ImageOcr
    • Convert a scanned image into words with location
      POST
    • Convert a scanned image into words with location
      POST
    • Convert a scanned image into text
      POST
    • Recognize a photo of a business card, extract key business information
      POST
    • Recognize a photo of a form, extract key fields and business information
      POST
    • Recognize a photo of a form, extract key fields using stored templates
      POST
    • Recognize a photo of a receipt, extract key business information
      POST
    • Convert a photo of a document or receipt into words with location
      POST
    • Convert a photo of a document into text
      POST
  • PdfOcr
    • Convert a PDF into text lines with location
      POST
    • Convert a PDF into words with location
      POST
    • Converts an uploaded PDF file into text via Optical Character Recognition.
      POST
  • Preprocessing
    • Convert an image of text into a binarized (light and dark) view
      POST
    • Convert an image of text into a binary (light and dark) view with ML
      POST
    • Get the angle of the page / document / receipt
      POST
    • Detect and unrotate a document image
      POST
    • Detect and unrotate a document image (advanced)
      POST
    • Detect and unskew a photo of a document
      POST
  • Receipts
    • Convert a photo of a receipt into a CSV file containing structured information from the receipt
      POST
  1. ImageOcr

Recognize a photo of a receipt, extract key business information

POST
/ocr/photo/recognize/receipt
Analyzes a photograph of a receipt as input, and outputs key business information such as the name of the business, the address of the business, the phone number of the business, the total of the receipt, the date of the receipt, and more. 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.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.cloudmersive.com/ocr/photo/recognize/receipt' \
--form 'imageFile=@""'
Response Response Example
{
    "AddressString": "string",
    "BusinessName": "string",
    "BusinessWebsite": "string",
    "PhoneNumber": "string",
    "ReceiptItems": [
        {
            "ItemDescription": "string",
            "ItemPrice": 0
        }
    ],
    "ReceiptSubTotal": 0,
    "ReceiptTotal": 0,
    "Successful": true,
    "Timestamp": "2019-08-24T14:15:22Z"
}

Request

Header Params

Body Params multipart/form-data

Responses

🟢200OK
application/json
Body

Modified at 2023-08-15 09:12:04
Previous
Recognize a photo of a form, extract key fields using stored templates
Next
Convert a photo of a document or receipt into words with location
Built with