SKU Recognition
Run in postman
Send a POST request to
https://api.cloud.nodeflux.io/v1/analytics/clientname-sku-recognition
by providing these arguments as application/json
.{
"images": [
"{INSERT_JPEG_IMAGE_AS_BASE64_STRING}"
]
}
Key | Type | Description |
images | array |
Sample request
{
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/
2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhY
aHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/"
]
}
- Provide only 1 image.
HTTP Mapping: 202 Accepted
{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "CLIENT_NAME_SKU_RECOGNITION",
"result": [
{
"sku_recognition": [
{
"label": "0",
"confidence": 0.999836564064026,
"bounding_box": {
"top": 0.2748015873015873,
"left": 0.5376984126984127,
"width": 0.09250992063492064,
"height": 0.29662698412698413
}
}
]
}
]
}
},
"message": "SKU Recognition Success",
"ok": true
}
Key | Type | Description |
id | string | Job ID of your request. |
status | string | Status of your success , ongoing , or failed . |
analytic_type | string | Type of analytic that your request. |
label | string | Class type recognized by the model. |
confidence | float | The confidence level of label based on the registered label. |
bounding_box | dict | Bounding box coordinate in a ratio of overall image size.
top is the top (y) coordinate of the bounding box.
left is the left (x) coordinate of the bounding box.
left is the height of the bounding box.
width is the width of the bounding box. |
Last modified 1yr ago