Vehicle Density

Make sure you already have configured your Authentication.

Run in postman

Request Body

Send a POST request to https://api.cloud.nodeflux.io/v1/analytics/vehicle-density by providing these arguments as application/json.

{
"images": [
"{INSERT_JPEG_IMAGE_AS_BASE64_STRING}"
]
}

Key

Type

Description

images

array

Your .JPG or .JPEG image in base64 using data URI scheme.

Things to note when making a request

Sample request

{
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/
2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhY
aHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/"
]
}

Response Body

HTTP Mapping: 202 Accepted

{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "CLIENTNAME_SKU_RECOGNITION",
"sku_detection":[
{
"label": "4",
"confidence": 0.99992025,
"bounding_box": {
"top": 11,
"left": 466,
"height": 80,
"width": 47
}
},
{
"label": "10",
"confidence": 0.9997944,
"bounding_box": {
"top": 11,
"left": 424,
"height": 80,
"width": 46
}
}
]
}
},
"message": "Job successfully submitted!",
"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 the 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.