AI Image Recognition: Difference between revisions
m Jzambor moved page AI Vision to AI Image Recognition |
ai vision => ai image recognition |
||
| Line 12: | Line 12: | ||
== Change field format to barcode == | == Change field format to barcode == | ||
The entity where you want to use | The entity where you want to use image recognition has to include a field with barcode format. | ||
# Using [[Woodford]], edit an [[app projects|app project]] and select the entity from the '''Project''' menu. | # Using [[Woodford]], edit an [[app projects|app project]] and select the entity from the '''Project''' menu. | ||
# Select the field. It must have the type '''Single Line of Text'''. | # Select the field. It must have the type '''Single Line of Text'''. | ||
| Line 22: | Line 22: | ||
== Set up connection to Azure services == | == Set up connection to Azure services == | ||
# Edit an [[app projects|app project]] and select '''Settings > AI | # Edit an [[app projects|app project]] and select '''Settings > AI Image Recognition''' from the '''Project''' menu. | ||
# Click '''New''' to define a new model. | # Click '''New''' to define a new model. | ||
# As '''Name''', enter the name of the configuration model. | # As '''Name''', enter the name of the configuration model. | ||
| Line 34: | Line 34: | ||
== Use case: Find a record in a view == | == Use case: Find a record in a view == | ||
For entities that include a barcode field and have at least one model created, there's an additional button in the views for | For entities that include a barcode field and have at least one model created, there's an additional button in the views for image recognition. It allows you to take a photo. The picture is then analyzed by Azure. If the resulting tag (with highest probability) equals the primary name of a record in the list, that record is selected. In effect, this is similar to [[barcode scanning]], using image tag instead of a barcode for record identification. | ||
== Use case: Place image classifier to a field in a form == | == Use case: Place image classifier to a field in a form == | ||
| Line 48: | Line 48: | ||
| '''If''' || '''Condition''' || ChangedItem || Equals || MyScanButton | | '''If''' || '''Condition''' || ChangedItem || Equals || MyScanButton | ||
|- | |- | ||
| '''Then''' || '''Scan:''' || Action: | | '''Then''' || '''Scan:''' || Action: AI Image Recognition || Save to: Entity.name || Probability: <Pick Value> | ||
|} | |} | ||
Revision as of 07:57, 13 September 2019
| Warning | This page describes a function that has not yet been publicly released, or has been released in beta / preview quality. Subject to change. |
Resco can integrate with Azure's Custom Vision service to classify images. This essentially allows functions similar to barcode scanning - except you don't need barcodes!
Prerequisites
Mind the following prerequisites for using this function:
- Azure Custom Vision license or subscription and at least one model for classifying images
- Connection to the Internet to access Azure servers that perform the necessary image analysis
- Proper configuration in Woodford (see below)
Change field format to barcode
The entity where you want to use image recognition has to include a field with barcode format.
- Using Woodford, edit an app project and select the entity from the Project menu.
- Select the field. It must have the type Single Line of Text.
- On the Properties pane, set Formatting to Barcode.
- Click Save.
For more information about managing entities and fields in Woodford, see Managing entities.
Set up connection to Azure services
- Edit an app project and select Settings > AI Image Recognition from the Project menu.
- Click New to define a new model.
- As Name, enter the name of the configuration model.
- As Entity, enter the entity where the model should be used.
- As Service type, use Azure.
- For Prediction key and URL, use the values from your Azure Custom Vision site.
- Click OK to save the model.
You can define multiple models as needed.
Use case: Find a record in a view
For entities that include a barcode field and have at least one model created, there's an additional button in the views for image recognition. It allows you to take a photo. The picture is then analyzed by Azure. If the resulting tag (with highest probability) equals the primary name of a record in the list, that record is selected. In effect, this is similar to barcode scanning, using image tag instead of a barcode for record identification.
Use case: Place image classifier to a field in a form
Using rules, you can add a custom function to your forms that initiates camera and image classification. If the image matches the model (with a probability above a customizable threshold), the name of the model is saved to a field.
For example, you can add a row button to your form that uses the Scan Image step to fill the value on a form.
- Edit a form.
- Click Add Button and set Binding to MyScanButton.
- Click Button Click to open the rules editor.
- Add the following rule and save your changes.
If Condition ChangedItem Equals MyScanButton Then Scan: Action: AI Image Recognition Save to: Entity.name Probability: <Pick Value>