Home / Docs Center / Device API Reference / Smart RecognitionBoxConfiguration(E-bike,Garbage Sorting)

Smart RecognitionBoxConfiguration(E-bike,Garbage Sorting)

Device API Reference · New API

Project: Device API Documentation (New) | page_id: 359

Brief Description:

  • A specific version that supports smart recognition is required. E-bike and waste sorting are supported. Custom development is available for special requirements

Request URL:
- /xsw/set_mode

Request Method:
- POST or GET

Parameters:

Parameter Required Type Description
x Yes number Recognition rectangle coordinate X
y Yes number Recognition rectangle coordinate Y
width Yes number Recognition rectangle width
height Yes number Recognition rectangle height
work_mode Yes number 1 mobike (e-bike at the building entrance), 2 people (for waste sorting)

Response Example

  {
    "code": 0,
    "msg": "",
}

Request Example

    http://serialnumber.cloud.xstrive.com:9502/set_mode?x=1&y=2&width=100&height=100&work_mode=1
    http://192.168.0.15/set_mode?x=1&y=2&width=100&height=100&work_mode=1
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.