Last Updated on : 2023-06-21 07:13:05download
Set the configuration information of the linked foot traffic statistics devices under the specified asset, so as to count the foot traffic data.
POST: /v1.0/iot-03/passenger-flows/assets/assigned-devices/{device_id}/actions/config-set
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
image_width | Integer | true | The image width in pixels. | |
image_height | Integer | true | The image height in pixels. | |
areas | List |
true | The region of interest. |
Description of areas
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
type | Integer | true | The type of the region of interest. Valid values:
|
|
points | List |
true | The information about a specific point.Establish a coordinate system by using the top left corner of the image as the zero point, the width as the x-axis, and the height as the y-axis. Unit: in pixels. You must set 4 points. | |
in | String | false | The direction of entering the store. Valid values:
|
|
out | String | false | The direction of leaving the store. Valid values:
|
Description of points
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
x | Integer | true | The point of the latitudinal coordinate. | |
y | Integer | true | The point of the longitudinal coordinate. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/iot-03/passenger-flows/assets/assigned-devices/111111****/actions/config-set
{
"result": true,
"t": 11111111111111,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback