The Image Recognition component
Learn how to trigger an action from an image scanned by the user.
How does it work?
The image recognition works on the same principle as the QR code. The user opens the camera from the application: as soon as the camera detects the image, the component triggers the action: open a pop-up, go to a screen.... Unlike the QR code, you can choose any image and any action. This is a feature that is particularly used for tour apps and treasure hunts.
⚠️ Only for iOS & Android apps: These features are only available for native apps.
Choose the right image
In the Properties, click + Add Image and select one or more images. For each image, you can choose Sensitivity and Number of Matches for recognition of that image:
- Sensitivity: it is a value between 0.1 and 10, 10 being the maximum sensitivity.
- Number of matches: it corresponds to the number of times the camera must detect the image before triggering the action. If the recognition is too instantaneous, it is relevant to increase this value (by default to 1).
Trigger an action
💡 💡 By default the Recognizer component works with a camera that opens in full screen. If you want to customize the camera display or include a layer, you have the possibility to use the Camera component and customize the interface around it. Once the image is captured by the camera (trigger "Change frame"), you can trigger the image recognition and the related action in cascade.
💡 You can add multiple images to be recognized within a single component. Each image has its own trigger and action.