Skip to main content

Notifications

Search a specific Text in an image

plarrue Profile Picture Posted by plarrue

Hello,

 

I am sharing an instant cloud flow setup that can be used to search a specific text in an image using AI Builder Text Recognition.

 

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

 

plarrue_0-1655369618824.png

 

 

Select +New step > AI Builder, and then select Recognize text in an image or a PDF document in the list of actions.

 

Select the Image input, and then select File Content from the Dynamic content list:

 

plarrue_1-1655369618828.png

 

 

To process results, select +New step > Control, and then select Apply to each.

 

Add an Apply to Each action and select results as an input of this Apply to each action

* Within this Apply to each, add a Condition action and select the Text in the left field.

It will automatically create a new Apply to each to browse every line of text.

* In the right field, select the field you want to look for.

To make sure your comparison is not case sensitive you can use the toUpper function.

Example if I look for the word "universel" as described in the screenshot.

 

plarrue_2-1655369618837.png

 

 

Select if yes and click on add an action

Type compose in choose an operation and select Compose Data Operation

  • In Inputs, type Found

 

Select if No and click on add an action

Type compose in choose an operation and select Compose Data Operation

  • In Inputs, type Not Found

 

 

plarrue_3-1655369618842.png

 

 

Or you can send an e-mail to yourself when the condition is met

 

Select if yes and click on add an action

Search Get my profile (V2)

Click add an action

Search Send an email (V2)

  • In the To line, add a dynamic content and select Mail
  • In the Subject, you can type “Text Found”
  • In the Body, add a dynamic content and select Text

 

 

plarrue_4-1655369618848.png

 

Click on Save

Categories:

AI Builder

Comments

*This post is locked for comments