Swift
Item Retrieval
The Vision SDK supports on-device AI scanning for Item Retrieval, allowing you to retrieve items in a from a shelf or stack of items in a warehouse environment without requiring an internet connection.
⚙️ SDK Configuration
To enable on-device scanning for item retrieval, you must first check for feature availability using the method below. This setup is required before any image processing.
💡 You must provide either an
apiKey
or a validtoken
during configuration.
📸 Extracting Data from an Image
Once the permission has been set, you can start item retrieval mode scanning using the following method:
📦 Delegate Method for Price Tag Values
When an item is successfully scanned, the following delegate method is called:
❗️Error Handling Delegate
If an error occurs during the price tag scanning process, the following delegate method will be triggered. You can implement this to handle any failures gracefully.
Use this method to log errors, display messages to the user, or perform recovery actions when scanning fails.