六小象SDK(Windows)
首页
语言/Langguage
  • 中文
  • English
首页
语言/Langguage
  • 中文
  • English
  1. Advanced configuration
  • 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
        POST
      • AdvancedConfigSet Advanced Config - Modify
        POST
    • 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
      • AiImageDetectIgnoreSet - Image Detection Filtering Settings
      • AiRegisterResultCallback - Callback of the registration recognition result
      • AiUnsafeMatching Intelligent Recognition - Non-Security AI Recognition (Strongly Not Recommended)
      • AiLearning
      • AiFastLearning Intelligent Recognition - Fast Learning
    • 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. Advanced configuration

AdvancedConfigSet Advanced Config - Modify

POST
/rpc/advanced/config/set
Advanced configuration
Permissions:
1.
Any activation status can be called
Illustrate:
2.
All configuration items are persisted and stored by the SDK, and no external storage is required

请求参数

Body 参数application/json
key
enum<integer> <int32>
必需
0: Detection mode (value range: 0 - weight detection, 1 - image detection; Assignment field: uint32Val)
1: Weight detection mode (value range: 0 - after meeting the minimum recognition weight; Assignment field: uint32Val)
2: Minimum trigger weight (unit: grams; Value range: closed interval [1,10000]; Assignment field: uint32Val)
3: Weight detection product stacks minimum trigger weight (unit: grams; Value range: closed interval [1,10000]; Assignment field: uint32Val)
4: Weight detection status judgment mode (value range: 0 - external incoming, 1 - internal automatic; Assignment field: uint32Val)
5: Weight detection camera photo delay time (unit: milliseconds; Value range: closed interval [0,5000]; Assignment field: uint32Val)
20: Image detection mode (value range: 0-feature similarity; Assignment field: uint32Val)
21: Image detection ignores the similarity threshold (value range: closed interval [0,1000]; Assignment field: uint32Val)
22: number of stable statistics of image detection features (value range: closed interval [2,20]; Assignment field: uint32Val)
23: Stable similarity threshold for image detection features (value range: closed interval [0,1000]; Assignment field: uint32Val)
24: Repeat similarity threshold for image detection features (value range: closed interval [0,1000]; Assignment field: uint32Val)
25: Image detection interval in milliseconds; Value range: closed interval [0,5000]; Assignment field: uint32Val)
100: maximum number of recognition outputs (value range: closed interval [1,10]; Assignment field: uint32Val)
101: Inference Engine Processor Usage Mode (Value range: 0-Balanced mode, 1-Performance mode; Assignment field: uint32Val)
102: Pre-learning switch (value range: true-on, false-off; Assignment field: boolVal)
枚举值:
012345202122232425100101102
默认值:
0
doubleVal
number <double>
Double-precision floating-point value
可选
floatVal
number <float>
Single-precision floating-point value
可选
int32Val
integer <int32>
Signed 32-bit integer value
可选
int64Val
string <int64>
Signed 64-bit integer value
可选
uint32Val
integer <int64>
Unsigned 32-bit integer value
可选
uint64Val
string <uint64>
An unsigned 64-bit integer value
可选
boolVal
boolean 
Boolean value
可选
stringVal
string 
String value
可选
bytesVal
string <byte>
Byte slices/byte arrays
可选
示例
{
    "key": 0,
    "doubleVal": 0,
    "floatVal": 0,
    "int32Val": 0,
    "int64Val": "string",
    "uint32Val": 0,
    "uint64Val": "string",
    "boolVal": true,
    "stringVal": "string",
    "bytesVal": "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"
}
上一页
AdvancedConfigGet - AdvancedConfigGet
下一页
CameraEnum Camera-enumeration device
Built with