Extract Text from an image
Hello,
I am sharing an instant cloud flow setup that can be used to extract text from an image using AI Builder Text Recognition.
Select My flows in the left panel, and then select New flow > Instant cloud flow.
Name your flow, select Manually trigger a flow under Choose how to trigger this flow, and then select Create.
Expand Manually trigger a flow, and then select +Add an input > File as the input type.
Select +New step > type predict
Select Predict AI Builder
Select TextRecognition model
Select the Image input, and then select File Content from the Dynamic content list
Select +New step
Select Initialize variable
Enter a variable name <var>
Select Array as Type
Select +New step
Select Append to Array Variable
In Name, select the name of your variable “var”
Select Lines in the Dynamic content list
That will automatically add a loop “Apply to each”
Click on Append to Array Variable
Change lines by Detected text
Change to lines in Apply to each 2 loop inside the results
Select +New step
Select Compose Data operation
In inputs select the variable that you have defined “var”
Click on Save
Comments
-
Extract Text from an image
I tried this out and i am getting an error on the apply to each step. See attached screenshots of details. Thanks
*This post is locked for comments