Convert image to text
Function: Convert image to text
This function allows you to extract text from an image. Imagine you have a picture of a document, a sign, or a handwritten note, and you want to get the actual words from it. This action takes an image you've uploaded to your media library and processes it to find and return any readable text.
Input,
- Media ID of the image file (Type: STRING) The unique identifier for the image file stored in your platform's media library that you want to convert into text.
Output,
- Result (Type: STRING) The name of the variable where the extracted text from the image will be stored. This variable will contain all the readable text found in the image.
Execution Flow,
Real-Life Examples,
-
Extracting text from a scanned invoice:
- Inputs:
- Media ID of the image file:
invoice_scan_12345 - Result:
invoiceDetails
- Media ID of the image file:
- Result: The text from the scanned invoice image is extracted and stored in a variable named
invoiceDetails. You can then use this variable to automatically populate fields in a database or another form.
- Inputs:
-
Getting information from a business card photo:
- Inputs:
- Media ID of the image file:
business_card_photo_987 - Result:
contactInfo
- Media ID of the image file:
- Result: The name, company, and contact details from the business card image are extracted and stored in a variable named
contactInfo. This can be used to quickly add a new contact to your CRM.
- Inputs:
-
Translating text from a foreign language sign:
- Inputs:
- Media ID of the image file:
foreign_sign_image_001 - Result:
signText
- Media ID of the image file:
- Result: The text from the foreign language sign image is extracted and stored in a variable named
signText. You could then pass thissignTextto another action for translation.
- Inputs: