Barcode Less Items Recognition (BLIR) on Lane POS - Integration Guide
Solution Description
This document outlines the integration guide for integrating with Edgify agent via REST APIs. The Lane POS UI application (“UI Application”) interacts with the Edgify Agent (“Agent”) via 2 main REST APIs: Capture & Predict and Put Sample (see below). The Edgify Agent can be installed on a Windows device, in which it will run as a service or on Linux devices in a Docker container. The agent enables Lane POS devices to execute real-time predictions and obtain the certainty of these predictions. The agent is capable of detecting false selections and initiating intervention procedures via the POS screen and attendant application.
Video Examples You can see here an example of integrating with our software:
- Lane POS integration for Shufersal
API Flow
The calls need to be authenticated using “Digest Authentication” *Username and Password should be in a config file and will change between customers.
Capture & Predict
POST http://localhost:8090/api/v2/capture-and-predict
The Agent captures an image and runs a prediction on it, (Image is in base64 text). In The Body you will need to add captureTrigger and family.
Body Example:
{
"captureTrigger": "Picklist selection+scale stable",
"family": "Bakery"
}
Parameters Explanation:
- “captureTrigger” informs Edgify what user experience triggered the call to this Edgify prediction call.
- “family” parameter - the parameter informs Edgify from what item’s assortment the prediction will probably be. This value can come from the name of the menu in the POS application. Example family values:
- Fruits
- Vegetables
- Bakery
- Cases
- OrganicVegetables
- OrganicFruits
- ScannedBarcodeItem
The call provides an output with: sampleId image certain(true/false) the predictions and confidence
Examples:
In the following example: The agent predicts the item is SKU # “1000000002940” with Confidence of 0.4597 and 2 other SKUs 1000000003012 with confidence of 0.2153 & 1000000000029 with confidence of 0.211, and we were not certain (false) what is the item For unknown items, the agent will return a prediction object with “Unknown” in the prediction array. In the following example: The agent predicts “Unknown”.