Images
Image record is generated whenever an image is attemped to be uploaded to the cloud. This data can be used to access analysis and further details.
POST /controllers/AssetPurityLite.ashx?action=list
List Properties
All transaction APIs return Asset/ Location related common attributes. Attributes specific to this API are:
Property | Type | Description |
---|---|---|
PurityDateTime | date | Image capture date/ time |
StatusId | int | Image Processing Status |
PurityStatus | string | Image processing Status (text) |
TagStatus | string | String encoded JSON with full analysis |
TagStatus
This analysis has shelf-by-shelf and product-by-product status in JSON format:
{
"tags": [
{
"ProductId": 24665,
"HasTag": 0,
"StockLevelList": [],
"StockLevel": 0,
"Tier": 2,
"isEmpty": false,
"IsForeign": false
},
{
"ProductId": 24664,
"HasTag": 0,
"StockLevelList": [],
"StockLevel": 0,
"Tier": 2,
"isEmpty": false,
"IsForeign": false
}
]
}
Attributes include:
- ProductId: id of the product recognized
- HasTag: whether the pricing tag was recognized
- StockLevelList: an array if there were multiple products stacked
- StockLevel: If depth analysis is enabled, %age stock estimated in the particular location
- Tier: Number of stacked products
- isEmpty: If no product was identified and it is empty space
- IsForeign: If the product is determined as foreign
Note:
- For the image analysis, isEmpty and isForeign are not important as those are derived attributes.
Detailed API
There is an additional api available to get more detailed analysis of each image.