六小象SDK(Windows)
首页
语言/Langguage
  • 中文
  • English
首页
语言/Langguage
  • 中文
  • English
  1. Intelligent recognition
  • Get started quickly
  • Docking availability
  • Functional classification
  • Features
    • Device activation
  • gRPC interface
    • gRPC interface documentation
  • HTTP interface
    • Version information
      • GetVersion to get version information
      • GetLatestVersion to get the latest version
    • Advanced configuration
      • AdvancedConfigGet - AdvancedConfigGet
      • AdvancedConfigSet Advanced Config - Modify
    • Camera management
      • CameraEnum Camera-enumeration device
      • CameraChange camera-device switching
      • CameraDetectRangeGet Camera-Recognition Area Get
      • CameraDetectRangeSet Camera-Recognition Area Modification
    • Device management
      • DeviceGetInfo device-get-info
      • DeviceActivate Device - Activate
      • DeviceShopChange - Store Modification
    • Intelligent recognition
      • AiPushWeight intelligently recognizes and pushes weight information
        POST
      • AiImageDetectIgnoreSet - Image Detection Filtering Settings
        POST
      • AiRegisterResultCallback - Callback of the registration recognition result
        POST
      • AiUnsafeMatching Intelligent Recognition - Non-Security AI Recognition (Strongly Not Recommended)
        POST
      • AiLearning
        POST
      • AiFastLearning Intelligent Recognition - Fast Learning
        POST
    • Product features
      • SkuFeatQueryImage Product Features - Query the learned image
      • SkuFeatQuery Product Features - Query feature information
      • SkuFeatRemove Product Features - Removes the specified characteristics of a specified product
      • SkuFeatClear Product Features - Clears all characteristics of the specified product
    • Learning data
      • LearnDataUpload Learning Data - Upload
      • LearnDataClear Learning Data - Empty
    • Algorithmic models
      • AlgoModelEnum algorithm model-enumeration
      • AlgoModelChange algorithm model-switching
    • Product data
      • SkuDataImport Product Data - Import
      • SkuDataDelete - Delete
      • SkuDataIconMatch Product Data - Main Image Match
    • Automatic syncing
      • AutoSyncGetSelfInfo Auto Sync - Get native information
      • AutoSyncGetGroupsInfo - Get grouping table information
      • AutoSyncRemoveDevice Auto Sync - Remove the device
      • AutoSyncJoinGroup
      • AutoSyncExitGroup Auto-sync-exit group
      • AutoSyncSetIntervalTime - Set the interval
      • AutoSyncUpdateDataSyncRule - Updates the data synchronization rule
      • AutoSyncCreateGroup Auto Sync - Create a group
      • AutoSyncUpdateGroupName Auto Sync - Update the group name
  1. Intelligent recognition

AiPushWeight intelligently recognizes and pushes weight information

POST
/rpc/ai/push/weight
Intelligent recognition
Permissions:
1.
Only the activated state can be called

请求参数

Body 参数application/json
weight
integer <int32>
Weight in grams【Required】
必需
status
enum<integer> <int32>
可选
0: Unstable
1: Stable
2: Under load
3: Overload
4: Exceptional
枚举值:
01234
默认值:
0
forceMatching
boolean 
Do you want to make a mandatory identification of this weight [optional]
可选
transparentData
string 
Transparent data, which will be returned together in the recognition result [Optional]
可选
示例
{
    "weight": 0,
    "status": 0,
    "forceMatching": true,
    "transparentData": "string"
}

返回响应

🟢200A successful response.
application/json
Body
code
enum<integer> <int32>
必需
0: Unknown anomaly
1: Success
1000: The PCI NIC of the device has been disabled
1001: Device camera abnormal
1002: Image decoding failed
1003: Image encoding failed
1004: Network abnormal
1005: The ECS is abnormal
1006: Abnormal input parameters
1007: Exported learning data is empty
1500: The device is not activated
1501: The device activation status has expired
1503: Device system time is abnormal
2000: Erlang God's algorithm is abnormal
2500: Bai Ze's algorithm is abnormal
枚举值:
011000100110021003100410051006100715001501150320002500
默认值:
0
msg
string 
Status reason
必需
示例
{
    "code": 0,
    "msg": "string"
}
上一页
DeviceShopChange - Store Modification
下一页
AiImageDetectIgnoreSet - Image Detection Filtering Settings
Built with