六小象SDK(Windows)
首页
语言/Langguage
  • 中文
  • English
首页
语言/Langguage
  • 中文
  • English
  1. gRPC接口
  • 快速开始
  • 对接可用性
  • 功能分类
  • 功能集
    • 设备激活
    • AI识别
    • 快速批量学习
    • 高级配置
    • 商品ICON匹配及预学习
    • 场景模型切换
    • 学习数据管理
    • 商品数据管理
    • 相机管理
    • 局域网自动同步
    • 自托管SDK进程
  • gRPC接口
    • gRPC接口文档
  • HTTP接口
    • 版本信息
      • GetVersion 获取版本信息
      • GetLatestVersion 获取最新版本
    • 高级配置
      • AdvancedConfigGet 高级配置-获取
      • AdvancedConfigSet 高级配置-修改
    • 相机管理
      • CameraEnum 相机-枚举设备
      • CameraFrame 相机-图像帧
      • CameraChange 相机-设备切换
      • CameraDetectRangeGet 相机-识别区域获取
      • CameraDetectRangeSet 相机-识别区域修改
    • 设备管理
      • DeviceGetInfo 设备-获取信息
      • DeviceFreeTrial 设备-免费试用
      • DeviceActivate 设备-激活
      • DeviceShopChange 设备-门店修改
    • 智能识别
      • AiPushWeight 智能识别-推送重量信息
      • AiImageDetectIgnoreSet 智能识别-图像检测过滤设置
      • AiListenResult 监听AI识别结果
      • AiRegisterResultCallback 智能识别-注册识别结果回调
      • AiLearning 智能识别-学习
      • AiFastLearning 智能识别-快速学习
      • AiUnsafeMatching 智能识别-非安全单次AI识别
    • 商品特征
      • SkuFeatQueryImage 商品特征-查询已学习的图像
      • SkuFeatQuery 商品特征-查询特征信息
      • SkuFeatRemove 商品特征-移除指定商品的指定特征
      • SkuFeatClear 商品特征-清除指定商品的所有特征
    • 学习数据
      • LearnDataExport 学习数据-导出
      • LearnDataImport 学习数据-导入
      • LearnDataUpload 学习数据-上传
      • LearnDataClear 学习数据-清空
    • 算法模型
      • AlgoModelEnum 算法模型-枚举
      • AlgoModelChange 算法模型-切换
    • 商品数据
      • SkuDataImport 商品数据-导入
      • SkuDataDelete 商品数据-删除
      • SkuDataIconMatch 商品数据-主图匹配
    • 自动同步
      • AutoSyncGetSelfInfo 自动同步-获取本机信息
      • AutoSyncGetGroupsInfo 自动同步-获取分组表信息
      • AutoSyncRemoveDevice 自动同步-移除设备
      • AutoSyncJoinGroup 自动同步-加入分组
      • AutoSyncExitGroup 自动同步-退出分组
      • AutoSyncSetIntervalTime 自动同步-设置间隔时间
      • AutoSyncUpdateDataSyncRule 自动同步-更新数据同步规则
      • AutoSyncCreateGroup 自动同步-创建分组
      • AutoSyncUpdateGroupName 自动同步-更新分组名称
  1. gRPC接口

gRPC接口文档

SanQingNiaoApi#

SanQingNiaoApi 六小象API接口
Method NameRequest TypeResponse TypeDescription
GetVersionGetVersionParamsGetVersionReplyGetVersion 获取版本信息
权限:
1.任意激活状态可调用
GetLatestVersionGetLatestVersionParamsGetLatestVersionReplyGetLatestVersion 获取最新版本
权限:
1.仅已激活状态可调用
AdvancedConfigGetAdvancedConfigGetParamsAdvancedConfigGetReplyAdvancedConfigGet 高级配置-获取
权限:
1.任意激活状态可调用
说明:
1.所有配置项均由SDK进行持久化储存,外部无需储存
AdvancedConfigSetAdvancedConfigSetParamsAdvancedConfigSetReplyAdvancedConfigSet 高级配置-修改
权限:
1.任意激活状态可调用
说明:
1.所有配置项均由SDK进行持久化储存,外部无需储存
CameraEnumCameraEnumParamsCameraEnumReplyCameraEnum 相机-枚举设备
权限:
1.任意激活状态可调用
CameraChangeCameraChangeParamsCameraChangeReplyCameraChange 相机-设备切换
权限:
1.任意激活状态可调用
CameraFrameCameraFrameParamsCameraFrameReplyCameraFrame 相机-图像帧
权限:
1.任意激活状态可调用
CameraDetectRangeGetCameraDetectRangeGetParamsCameraDetectRangeGetReplyCameraDetectRangeGet 相机-识别区域获取
权限:
1.任意激活状态可调用
CameraDetectRangeSetCameraDetectRangeSetParamsCameraDetectRangeSetReplyCameraDetectRangeSet 相机-识别区域修改
权限:
1.任意激活状态可调用
DeviceGetInfoDeviceGetInfoParamsDeviceGetInfoReplyDeviceGetInfo 设备-获取信息
权限:
1.任意激活状态可调用
说明:
1.状态码ErrPciNetCardDisabled(1000): 需要启用PCI网卡后重启应用
2.状态码ErrNetwork(1004): 需要联网后重启应用
3.状态码ErrDeviceNotActivate(1500): 需要激活或免费试用
4.状态码ErrDeviceActivateExpire(1501): 测试激活码已过期,需要重新激活
5.状态码ErrDeviceSystemTime(1503): 设备系统时间异常,请调整后重启应用
DeviceFreeTrialDeviceFreeTrialParamsDeviceFreeTrialReplyDeviceFreeTrial 设备-免费试用
权限:
1.任意激活状态可调用
2.每台设备仅有一次试用机会
3.使用正式激活码激活后的设备将无法再免费试用
说明:
1.在版本v1.5.0.0+支持该接口
DeviceActivateDeviceActivateParamsDeviceActivateReplyDeviceActivate 设备-激活
权限:
1.任意激活状态可调用
DeviceShopChangeDeviceShopChangeParamsDeviceShopChangeReplyDeviceShopChange 设备-门店修改
权限:
1.仅已激活状态可调用
AiPushWeightAiPushWeightParamsAiPushWeightReplyAiPushWeight 智能识别-推送重量信息
权限:
1.仅已激活状态可调用
AiImageDetectIgnoreSetAiImageDetectIgnoreSetParamsAiImageDetectIgnoreSetReplyAiImageDetectIgnoreSet 智能识别-图像检测过滤设置
权限:
1.仅已激活状态可调用
AiListenResultAiListenResultParamsAiListenResultReply streamAiListenResult 智能识别-监听识别结果
权限:
1.仅已激活状态可调用
2.AiListenResult 和 AiRegisterResultCallback 接口二选一使用即可
AiRegisterResultCallbackAiRegisterResultCallbackParamsAiRegisterResultCallbackReplyAiRegisterResultCallback 智能识别-注册识别结果回调
权限:
1.仅已激活状态可调用
2.AiListenResult 和 AiRegisterResultCallback 接口二选一使用即可
AiUnsafeMatchingAiPushWeightParamsAiListenResultReplyAiUnsafeMatching 智能识别-非安全单次AI识别
权限:
1.仅已激活状态可调用
说明:
1.使用该接口需要自行实现识别触发逻辑,触发逻辑涉及场景较多,建议使用HTTP回调或gRPC长连接接口
AiLearningAiLearningParamsAiLearningReplyAiLearning 智能识别-学习
权限:
1.仅已激活状态可调用
AiFastLearningAiFastLearningParamsAiFastLearningReplyAiFastLearning 智能识别-快速学习
权限:
1.仅已激活状态可调用
SkuFeatQueryImageSkuFeatQueryImageParamsSkuFeatQueryImageReplySkuFeatQueryImage 商品特征-查询已学习的图像
权限:
1.仅已激活状态可调用
SkuFeatQuerySkuFeatQueryParamsSkuFeatQueryReplySkuFeatQuery 商品特征-查询特征信息
权限:
1.仅已激活状态可调用
SkuFeatRemoveSkuFeatRemoveParamsSkuFeatRemoveReplySkuFeatRemove 商品特征-移除指定商品的指定特征
权限:
1.仅已激活状态可调用
SkuFeatClearSkuFeatClearParamsSkuFeatClearReplySkuFeatClear 商品特征-清除指定商品的所有特征
权限:
1.仅已激活状态可调用
LearnDataImportLearnDataImportParamsLearnDataImportReplyLearnDataImport 学习数据-导入
权限:
1.仅已激活状态可调用
LearnDataExportLearnDataExportParamsLearnDataExportReplyLearnDataExport 学习数据-导出
权限:
1.仅已激活状态可调用
LearnDataUploadLearnDataUploadParamsLearnDataUploadReplyLearnDataUpload 学习数据-上传
权限:
1.仅已激活状态可调用
LearnDataClearLearnDataClearParamsLearnDataClearReplyLearnDataClear 学习数据-清空
权限:
1.仅已激活状态可调用
AlgoModelEnumAlgoModelEnumParamsAlgoModelEnumReplyAlgoModelEnum 算法模型-枚举
权限:
1.仅已激活状态可调用
AlgoModelChangeAlgoModelChangeParamsAlgoModelChangeReplyAlgoModelChange 算法模型-切换
权限:
1.仅已激活状态可调用
SkuDataImportSkuDataImportParamsSkuDataImportReplySkuDataImport 商品数据-导入
权限:
1.仅已激活状态可调用
SkuDataDeleteSkuDataDeleteParamsSkuDataDeleteReplySkuDataDelete 商品数据-删除
权限:
1.仅已激活状态可调用
SkuDataIconMatchSkuDataIconMatchParamsSkuDataIconMatchReplySkuDataIconMatch 商品数据-主图匹配
权限:
1.仅已激活状态可调用
AutoSyncGetSelfInfoAutoSyncGetSelfInfoParamsAutoSyncGetSelfInfoReplyAutoSyncGetSelfInfo 自动同步-获取本机信息
权限:
1.仅已激活状态可调用
AutoSyncGetGroupsInfoAutoSyncGetGroupsInfoParamsAutoSyncGetGroupsInfoReplyAutoSyncGetGroupsInfo 自动同步-获取分组表信息
权限:
1.仅已激活状态可调用
AutoSyncRemoveDeviceAutoSyncRemoveDeviceParamsAutoSyncRemoveDeviceReplyAutoSyncRemoveDevice 自动同步-移除设备
权限:
1.仅已激活状态可调用
AutoSyncJoinGroupAutoSyncJoinGroupParamsAutoSyncJoinGroupReplyAutoSyncJoinGroup 自动同步-加入分组
权限:
1.仅已激活状态可调用
AutoSyncExitGroupAutoSyncExitGroupParamsAutoSyncExitGroupReplyAutoSyncExitGroup 自动同步-退出分组
权限:
1.仅已激活状态可调用
AutoSyncSetIntervalTimeAutoSyncSetIntervalTimeParamsAutoSyncSetIntervalTimeReplyAutoSyncSetIntervalTime 自动同步-设置间隔时间
权限:
1.仅已激活状态可调用
AutoSyncUpdateDataSyncRuleAutoSyncUpdateDataSyncRuleParamsAutoSyncUpdateDataSyncRuleReplyAutoSyncUpdateDataSyncRule 自动同步-更新数据同步规则
权限:
1.仅已激活状态可调用
AutoSyncCreateGroupAutoSyncCreateGroupParamsAutoSyncCreateGroupReplyAutoSyncCreateGroup 自动同步-创建分组
权限:
1.仅已激活状态可调用
AutoSyncUpdateGroupNameAutoSyncUpdateGroupNameParamsAutoSyncUpdateGroupNameReplyAutoSyncUpdateGroupName 自动同步-更新分组名称
权限:
1.仅已激活状态可调用
Top

sanqingniaopb/message_common.proto#

ActivateInfo#

ActivateInfo 设备激活信息
FieldTypeLabelDescription
activateCodestring激活码
activateExpireTimeint64激活过期时间
activateCodeTypeActivateCodeType激活码类型

AlgoModelInfo#

AlgoModelInfo 算法模型信息
FieldTypeLabelDescription
codeuint32模型代号
namestring模型名称

AutoSyncDeviceInfo#

AutoSyncDeviceInfo 自动同步设备信息
FieldTypeLabelDescription
deviceSNstring设备SN
hostNamestring主机名
systemTypeSystemType系统类型
algoModeluint32算法模型
servicePortuint32服务端口号
ipAddrListstringrepeatedIP地址列表
dataSyncRuleAutoSyncDataSyncRule数据同步规则
statusbool设备状态(false:离线, true:在线)
latestPullAtuint64学习数据最新拉取时间

AutoSyncGroupInfo#

AutoSyncGroupInfo 自动同步分组信息
FieldTypeLabelDescription
groupIDstring分组ID
groupNamestring分组名称
groupUpdateAtuint64分组信息更新时间
deviceInfoListAutoSyncDeviceInforepeated设备列表

CameraInfo#

CameraInfo 相机信息
FieldTypeLabelDescription
idstring相机ID
namestring相机名称
usbPathstring设备USB路径
sysPathstring设备系统路径
resolutionInfoListCameraResolutionInforepeated支持的分辨率列表

CameraResolutionInfo#

CameraResolutionInfo 相机分辨率信息
FieldTypeLabelDescription
widthuint32图像宽度(像素)
heightuint32图像高度(像素)
fpsuint32图像帧率(张/秒)
formatstring图像帧格式,支持版本:[v1.5.3.0+]

DeviceInfo#

DeviceInfo 设备信息
FieldTypeLabelDescription
deviceSNstring设备SN
activateInfoActivateInfo激活信息
shopShopInfo门店信息

PlanePositionInfo#

PlanePositionInfo 平面坐标信息
FieldTypeLabelDescription
xuint32X轴坐标值
yuint32Y轴坐标值

ShopInfo#

ShopInfo 门店信息
FieldTypeLabelDescription
codestring门店编码【不允许修改】
namestring门店名称
scaleAliasstring秤号别名
externalCodestring外部门店编码

SkuFeatImageInfo#

SkuFeatImageInfo 商品特征图像信息
FieldTypeLabelDescription
idint64识别ID
pathstring图片HTTP访问路径

SkuFeatNumberInfo#

SkuFeatNumberInfo 商品特征数量信息
FieldTypeLabelDescription
skuSkuInfo商品信息
numberuint64特征数量

SkuIconInfo#

SkuIconInfo 商品主图信息
FieldTypeLabelDescription
skuSkuInfo商品信息
iconListstringrepeated匹配到的商品主图列表
keywordListstringrepeated匹配到的关键字列表
preLearningLabelint32匹配到的商品预学习标签

SkuInfo#

SkuInfo 商品信息
FieldTypeLabelDescription
codestring商品唯一编码
namestring商品名称
spuCodestring商品上级码(spuCode==code 或 spuCode为空时,该商品为顶级商品)

SkuSaleInfo#

SkuSaleInfo 商品销售信息
FieldTypeLabelDescription
salesint32销量:重量(克) 、数量
priceUnitint32计价方式(0-重量计价,1-数量计价)
priceint32原始单价(分/Kg)
salePriceint32销售单价(分/Kg)
amountint32销售总价(分)
barCodestring条码
priceChangeModeint32商品是否改价(0-未改价,1-改单价,2-改总价)
priceTypeint32商品价格类型(1-正常价格,2-临时改价,3-永久改价,4-阶梯变价)

SkuStatusInfo#

SkuStatusInfo 商品状态信息
FieldTypeLabelDescription
skuSkuInfo商品信息
statusSkuStatus商品状态

VendorInfo#

VendorInfo 厂商信息
FieldTypeLabelDescription
codestring授权编码
keystring授权密钥

VersionDownloadInfo#

VersionInfo 版本下载信息
FieldTypeLabelDescription
versionInfoVersionInfo版本信息
urlstring下载地址

VersionInfo#

VersionInfo 版本信息
FieldTypeLabelDescription
appTypeuint32应用类型
versionstring版本号
internalVersionstring内部版本号

ActivateCodeType#

ActivateCodeType 激活码类型
NameNumberDescription
ActivateCodeTypeUnknown0激活码类型:未知
ActivateCodeTypeTestLimitOffline1激活码类型:测试激活码,有使用期限制,有离线时长限制
ActivateCodeTypeTestOnlyOnline2激活码类型:测试激活码,有使用期限制,仅允许在线使用
ActivateCodeTypeFormalLimitOffline100激活码类型:正式激活码,有离线时长限制
ActivateCodeTypeFormalAllowOffline101激活码类型:正式激活码,允许离线使用

AdvancedConfigKey#

AdvancedConfigKey 高级配置项键
NameNumberDescription
DetectMode0检测模式(取值范围:0-重量检测,1-图像检测;赋值字段:uint32Val)
WeightDetectMode1重量检测模式(取值范围:0-满足最小识别重量后;赋值字段:uint32Val)
WeightDetectMinValue2重量检测最小触发重量(单位:克;取值范围:闭区间[1,10000];赋值字段:uint32Val)
WeightDetectAppendMinValue3重量检测商品叠加最小触发重量(单位:克;取值范围:闭区间[1,10000];赋值字段:uint32Val)
WeightDetectStatusJudgment4重量检测状态判断模式(取值范围:0-外部传入,1-内部自动;赋值字段:uint32Val)
WeightDetectCameraDelay5重量检测相机拍照延迟时间(单位:毫秒;取值范围:闭区间[0,5000];赋值字段:uint32Val)
ImageDetectMode20图像检测模式(取值范围:0-特征相似度;赋值字段:uint32Val)
ImageDetectIgnoreThreshold21图像检测忽略相似阈值(取值范围:闭区间[0,1000];赋值字段:uint32Val)
ImageDetectStableNumber22图像检测特征稳定统计次数(取值范围:闭区间[2,20];赋值字段:uint32Val)
ImageDetectStableThreshold23图像检测特征稳定相似阈值(取值范围:闭区间[0,1000];赋值字段:uint32Val)
ImageDetectRepeatThreshold24图像检测特征重复相似阈值(取值范围:闭区间[0,1000];赋值字段:uint32Val)
ImageDetectInterval25图像检测间隔时间(单位:毫秒;取值范围:闭区间[0,5000];赋值字段:uint32Val)
MaxOutputNum100最大识别输出数量(取值范围:闭区间[1,10];赋值字段:uint32Val)
PerformanceMode101推理引擎处理器使用模式(取值范围:0-均衡模式,1-性能模式;赋值字段:uint32Val)
PreLearnSwitch102预学习开关(取值范围:true-开启,false-关闭;赋值字段:boolVal)
LiveLearnSwitch103实时学习开关(取值范围:true-开启,false-关闭;赋值字段:boolVal)
DemoModeSwitch104演示模式开关(取值范围:true-开启,false-关闭;赋值字段:boolVal)
BaizeThreshold105白泽算法推荐阈值(取值范围:闭区间[0,3];赋值字段:floatVal)
BaizeTopOneThreshold106白泽算法首位推荐阈值(取值范围:闭区间[0.70,0.85];赋值字段:floatVal)

AutoSyncDataSyncRule#

AutoSyncDataSyncRule 自动同步数据同步规则
NameNumberDescription
AutoSyncDataSyncRuleDisable0自动同步数据同步规则: 禁用数据同步
AutoSyncDataSyncRuleDuplex1自动同步数据同步规则: 双向数据同步
AutoSyncDataSyncRuleOnlySend2自动同步数据同步规则: 仅发送数据
AutoSyncDataSyncRuleOnlyReceive3自动同步数据同步规则: 仅接收数据

LearnDataExportMode#

LearnDataExportMode 学习数据导出模式
NameNumberDescription
LearnDataExportModeFull0全量导出
LearnDataExportModeIncrSku1商品维度增量导出
LearnDataExportModeIncrFeat2特征维度增量导出

LearnDataImportMode#

LearnDataImportMode 学习数据导入模式
NameNumberDescription
LearnDataImportModeFull0全量导入
LearnDataImportModeIncrSku1商品维度增量导入
LearnDataImportModeIncrFeat2特征维度增量导入
LearnDataImportModeStrictFull3严格模式全量导入
LearnDataImportModeStrictIncrSku4严格模式商品维度增量导入
LearnDataImportModeStrictIncrFeat5严格模式特征维度增量导入

LearningMode#

LearningMode 学习模式
NameNumberDescription
LearningModeSearch0使用搜索方式学习
LearningModeShortcut1使用快捷方式学习
LearningModeOutput2使用输出结果学习
LearningModeSkip3跳过学习

SkuDataImportMode#

SkuDataImportMode 商品数据导入模式
NameNumberDescription
SkuDataImportModeIncr0增量导入
SkuDataImportModeFull1全量导入

SkuStatus#

SkuStatus 商品状态
NameNumberDescription
SkuStatusNone0不存在
SkuStatusNormal1正常
SkuStatusTemporaryLock2临时锁定
SkuStatusPermanentLock3永久锁定

SystemType#

SystemType 系统类型
NameNumberDescription
SystemTypeUnknown0
SystemTypeWindows1
SystemTypeLinux2
SystemTypeAndroid3

VersionUpdateType#

VersionUpdateType 版本更新类型
NameNumberDescription
VersionUpdateTypeUnknown0未知
VersionUpdateTypeOptional1可选更新
VersionUpdateTypeQuiet2静默更新
VersionUpdateTypeForce3强制更新

WeightStatus#

WeightStatus 重量状态
NameNumberDescription
WeightStatusUnstable0不稳定
WeightStatusStable1稳定
WeightStatusUnder2欠载
WeightStatusOverflow3超载
WeightStatusException4异常
Top

sanqingniaopb/message_params.proto#

AdvancedConfigGetParams#

AdvancedConfigGetParams 高级配置-获取
FieldTypeLabelDescription
keyAdvancedConfigKey配置项键名【必填】

AdvancedConfigSetParams#

AdvancedConfigSetParams 高级配置-修改
FieldTypeLabelDescription
keyAdvancedConfigKey配置项键名【必填】
doubleValdouble双精度浮点型值
floatValfloat单精度浮点型值
int32Valint32有符号32位整型值
int64Valint64有符号64位整型值
uint32Valuint32无符号32位整型值
uint64Valuint64无符号64位整型值
boolValbool布尔型值
stringValstring字符串型值
bytesValbytes字节切片/字节数组型值

AiFastLearningParams#

AiFastLearningParams 智能识别-快速学习
FieldTypeLabelDescription
skuSkuInfo目标商品信息【必填】

AiImageDetectIgnoreSetParams#

AiImageDetectIgnoreSetParams 智能识别-图像检测过滤设置

AiLearningParams#

AiLearningParams 智能识别-学习
FieldTypeLabelDescription
idint64识别ID【必填】
skuSkuInfo需要的学习商品信息【必填】
learningModeLearningMode学习模式【必填】
skuSaleInfoSkuSaleInfo商品销售信息【选填】

AiListenResultParams#

AiListenResultParams 智能识别-监听识别结果

AiPushWeightParams#

AiPushWeightParams 智能识别-推送重量信息
FieldTypeLabelDescription
weightint32重量(单位:克)【必填】
statusWeightStatus重量状态【选填】
forceMatchingbool是否期望对该重量进行一次强制识别【选填】
transparentDatastring透传数据,该数据会在识别结果中一同返回出来【选填】

AiRegisterResultCallbackParams#

AiRegisterResultCallbackParams 智能识别-注册识别结果回调
FieldTypeLabelDescription
urlstring回调地址【必填】

AlgoModelChangeParams#

AlgoModelChangeParams 算法模型-模型
FieldTypeLabelDescription
codeuint32模型代号【必填】

AlgoModelEnumParams#

AlgoModelEnumParams 算法模型-枚举

AutoSyncCreateGroupParams#

AutoSyncCreateGroupParams 自动同步-创建分组
FieldTypeLabelDescription
groupNamestring分组名称(长度不超过20个字符)【必填】

AutoSyncExitGroupParams#

AutoSyncExitGroupParams 自动同步-退出分组

AutoSyncGetGroupsInfoParams#

AutoSyncGetGroupsInfoParams 自动同步-获取分组表信息

AutoSyncGetSelfInfoParams#

AutoSyncGetSelfInfoParams 自动同步-获取本机信息

AutoSyncJoinGroupParams#

AutoSyncJoinGroupParams 自动同步-加入分组
FieldTypeLabelDescription
groupIDstring分组ID【必填】
groupNamestring分组名称【必填】

AutoSyncRemoveDeviceParams#

AutoSyncRemoveDeviceParams 自动同步-移除设备
FieldTypeLabelDescription
groupIDstring分组ID(为空将清空所有分组)
deviceSNstring设备SN(为空将清空指定分组)

AutoSyncSetIntervalTimeParams#

AutoSyncSetIntervalTimeParams 自动同步-设置同步时间间隔
FieldTypeLabelDescription
broadcastIntervaluint32广播时间间隔(单位: 秒钟)【必填】
dataSyncIntervaluint32数据同步时间间隔(单位: 分钟)【必填】

AutoSyncUpdateDataSyncRuleParams#

AutoSyncUpdateDataSyncRuleParams 自动同步-更新数据同步规则
FieldTypeLabelDescription
dataSyncRuleAutoSyncDataSyncRule数据同步规则【必填】
dataPullRuleLearnDataExportMode数据拉取规则【必填】
dataImportRuleLearnDataImportMode数据导入规则【必填】

AutoSyncUpdateGroupNameParams#

AutoSyncUpdateGroupNameParams 自动同步-更新分组名称
FieldTypeLabelDescription
groupNamestring分组名称(长度不超过20个字符)【必填】

CameraChangeParams#

CameraChangeParams 相机-切换
FieldTypeLabelDescription
idstring要使用的相机ID【必填】
resolutionInfoCameraResolutionInfo要使用的相机图像分辨率【必填】

CameraDetectRangeGetParams#

CameraDetectRangeGetParams 相机-识别区域获取
FieldTypeLabelDescription
maxRenderWidthuint32最大渲染宽度(单位:像素)【必填】
maxRenderHeightuint32最大渲染高度(单位:像素)【必填】

CameraDetectRangeSetParams#

CameraDetectRangeSetParams 相机-识别区域修改
FieldTypeLabelDescription
renderWidthuint32实际渲染宽度(单位:像素)【必填】
renderHeightuint32实际渲染高度(单位:像素)【必填】
dotListPlanePositionInforepeated识别区域坐标列表(原点为图像左上角,坐标均为换算后的实际渲染值)【必填】

CameraEnumParams#

CameraEnumParams 相机-枚举

CameraFrameParams#

CameraFrameParams 相机-图像帧

DeviceActivateParams#

DeviceActivateParams 设备-激活
FieldTypeLabelDescription
activateCodestring激活码【必填】
shopShopInfo门店信息【选填】

DeviceFreeTrialParams#

DeviceGetInfoParams#

DeviceGetInfoParams 设备-获取信息

DeviceShopChangeParams#

DeviceShopChangeParams 设备-门店修改
FieldTypeLabelDescription
shopInfoShopInfo门店信息【必填】

GetLatestVersionParams#

GetLatestVersionReply 获取最新版本

GetVersionParams#

GetVersionParams 获取版本信息

LearnDataClearParams#

LearnDataClearParams 学习数据-清空

LearnDataExportParams#

LearnDataExportParams 学习数据-导出
FieldTypeLabelDescription
modeLearnDataExportMode导出模式【必填】
nodeTimestampint64指定时间节点毫秒时间戳,仅增量导出有效【选填】

LearnDataImportParams#

LearnDataImportParams 学习数据-导入
FieldTypeLabelDescription
modeLearnDataImportMode导入模式【必填】
databytes学习数据【必填】

LearnDataUploadParams#

LearnDataUploadParams 学习数据-上传

SkuDataDeleteParams#

SkuDataDeleteParams 商品数据-删除
FieldTypeLabelDescription
skuListSkuInforepeated商品数据列表【必填】

SkuDataIconMatchParams#

SkuDataIconMatchParams 商品数据-主图匹配
FieldTypeLabelDescription
skuListSkuInforepeated商品数据列表【必填】

SkuDataImportParams#

SkuDataImportParams 商品数据-导入
FieldTypeLabelDescription
modeSkuDataImportMode商品数据导入模式【必填】
skuListSkuStatusInforepeated商品数据列表【必填】

SkuFeatClearParams#

SkuFeatClearParams 商品特征-清除指定商品的所有特征
FieldTypeLabelDescription
skuListSkuInforepeated商品信息【必填】

SkuFeatQueryImageParams#

SkuFeatQueryImageParams 商品特征-查询图像
FieldTypeLabelDescription
skuSkuInfo商品信息【必填】

SkuFeatQueryParams#

SkuFeatQueryParams 商品特征-批量查询特征信息
FieldTypeLabelDescription
skuListSkuInforepeated商品信息【必填】

SkuFeatRemoveParams#

SkuFeatRemoveParams 商品特征-移除指定商品的指定特征
FieldTypeLabelDescription
skuSkuInfo商品信息【必填】
idint64识别ID【必填】
Top

sanqingniaopb/message_reply.proto#

AdvancedConfigGetReply#

AdvancedConfigGetReply 高级配置-获取
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAdvancedConfigGetReply.Data响应数据

AdvancedConfigGetReply.Data#

AdvancedConfigGetReply_Data 声明响应数据结构
FieldTypeLabelDescription
keyAdvancedConfigKey配置项键名
doubleValdouble双精度浮点型值
floatValfloat单精度浮点型值
int32Valint32有符号32位整型值
int64Valint64有符号64位整型值
uint32Valuint32无符号32位整型值
uint64Valuint64无符号64位整型值
boolValbool布尔型值
stringValstring字符串型值
bytesValbytes字节切片/字节数组型值

AdvancedConfigSetReply#

AdvancedConfigSetReply 高级配置-修改
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AiFastLearningReply#

AiFastLearningReply 智能识别-快速学习
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAiFastLearningReply.Data响应数据

AiFastLearningReply.Data#

AiFastLearningReply_Data 声明响应数据结构
FieldTypeLabelDescription
featImgSkuFeatImageInfo商品特征图像信息

AiImageDetectIgnoreSetReply#

AiImageDetectIgnoreSetReply 智能识别-图像检测过滤设置
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAiImageDetectIgnoreSetReply.Data响应数据

AiImageDetectIgnoreSetReply.Data#

AiImageDetectIgnoreSetReply_Data 声明响应数据结构
FieldTypeLabelDescription
pathstring图片HTTP访问路径

AiLearningReply#

AiLearningReply 智能识别-学习
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AiListenResultReply#

AiListenResultReply 智能识别-监听识别结果
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAiListenResultReply.Data响应数据

AiListenResultReply.Data#

AiListenResultReply_Data 声明响应数据结构
FieldTypeLabelDescription
idint64识别ID
skuListSkuInforepeated识别结果列表
transparentDatastring透传数据,该数据来源于重量推送接口

AiPushWeightReply#

AiPushWeightReply 智能识别-推送重量信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AiRegisterResultCallbackReply#

AiRegisterResultCallbackReply 智能识别-注册识别结果回调
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AlgoModelChangeReply#

AlgoModelChangeReply 算法模型-切换
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AlgoModelEnumReply#

AlgoModelEnumReply 算法模型-枚举
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAlgoModelEnumReply.Data响应数据

AlgoModelEnumReply.Data#

AlgoModelEnumReply_Data 声明响应数据结构
FieldTypeLabelDescription
modelListAlgoModelInforepeated模型列表
modelAlgoModelInfo当前使用的模型

AutoSyncCreateGroupReply#

AutoSyncCreateGroupParams 自动同步-创建分组
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncExitGroupReply#

AutoSyncExitGroupParams 自动同步-退出分组
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncGetGroupsInfoReply#

AutoSyncGetGroupsInfoParams 自动同步-获取分组表信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAutoSyncGetGroupsInfoReply.Data响应数据

AutoSyncGetGroupsInfoReply.Data#

AutoSyncGetGroupsInfoReply_Data 声明响应数据结构
FieldTypeLabelDescription
groupsAutoSyncGroupInforepeated分组表

AutoSyncGetSelfInfoReply#

AutoSyncGetSelfInfoParams 自动同步-获取本机信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataAutoSyncGetSelfInfoReply.Data响应数据

AutoSyncGetSelfInfoReply.Data#

AutoSyncGetSelfInfoReply_Data 声明响应数据结构
FieldTypeLabelDescription
deviceSNstring本机SN
hostNamestring本机主机名
systemTypeSystemType本机系统类型
algoModelCodeuint32本机使用的算法模型代号
groupIDstring本机所属分组ID
groupNamestring本机所属分组名称
dataSyncRuleAutoSyncDataSyncRule本机数据同步规则
dataPullRuleLearnDataExportMode本机数据拉取规则
dataImportRuleLearnDataImportMode本机数据导入规则
groupUpdateAtuint64分组信息最新更新时间(毫秒时间戳)
broadcastIntervaluint32本机广播时间间隔(秒)
pullIntervaluint32本机数据拉取间隔(分)

AutoSyncJoinGroupReply#

AutoSyncJoinGroupParams 自动同步-加入分组
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncRemoveDeviceReply#

AutoSyncRemoveDeviceParams 自动同步-移除设备
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncSetIntervalTimeReply#

AutoSyncSetIntervalTimeParams 自动同步-设置同步时间间隔
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncUpdateDataSyncRuleReply#

AutoSyncUpdateDataSyncRuleParams 自动同步-更新数据同步规则
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

AutoSyncUpdateGroupNameReply#

AutoSyncUpdateGroupNameParams 自动同步-更新分组名称
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

CameraChangeReply#

CameraChangeReply 相机-切换
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

CameraDetectRangeGetReply#

CameraDetectRangeGetReply 相机-识别区域获取
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataCameraDetectRangeGetReply.Data响应数据

CameraDetectRangeGetReply.Data#

CameraDetectRangeGetReply_Data 声明响应数据结构
FieldTypeLabelDescription
renderWidthuint32实际渲染宽度(单位:像素)
renderHeightuint32实际渲染高度(单位:像素)
dotListPlanePositionInforepeated识别区域坐标列表(原点为图像左上角,坐标均为换算后的实际渲染值)

CameraDetectRangeSetReply#

CameraDetectRangeSetReply 相机-识别区域修改
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

CameraEnumReply#

CameraEnumReply 相机-枚举
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataCameraEnumReply.Data响应数据

CameraEnumReply.Data#

CameraEnumReply_Data 声明响应数据结构
FieldTypeLabelDescription
cameraListCameraInforepeated相机列表
idstring当前使用的相机ID
resolutionInfoCameraResolutionInfo当前使用的相机图像分辨率

CameraFrameReply#

CameraFrameReply 相机-图像帧
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataCameraFrameReply.Data响应数据

CameraFrameReply.Data#

CameraFrameReply_Data 声明响应数据结构
FieldTypeLabelDescription
imageDatabytes图像数据
imageWidthuint32图像原始宽度
imageHeightuint32图像原始高度

DeviceActivateReply#

DeviceActivateReply 设备-激活
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataDeviceActivateReply.Data响应数据

DeviceActivateReply.Data#

DeviceActivateReply_Data 声明响应数据结构
FieldTypeLabelDescription
deviceInfoDeviceInfo设备信息

DeviceFreeTrialReply#

DeviceFreeTrialReply 设备-免费试用
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

DeviceGetInfoReply#

DeviceGetInfoReply 设备-获取信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataDeviceGetInfoReply.Data响应数据

DeviceGetInfoReply.Data#

DeviceGetInfoReply_Data 声明响应数据结构
FieldTypeLabelDescription
deviceInfoDeviceInfo设备信息

DeviceShopChangeReply#

DeviceShopChangeReply 设备-门店修改
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

GetLatestVersionReply#

GetLatestVersionReply 获取最新版本
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataGetLatestVersionReply.Data响应数据

GetLatestVersionReply.Data#

GetLatestVersionReply_Data 声明响应数据结构
FieldTypeLabelDescription
updateTypeVersionUpdateType版本更新类型
updateContentstring更新内容
versionListVersionDownloadInforepeated版本列表

GetVersionReply#

GetVersionReply 获取版本信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataGetVersionReply.Data响应数据

GetVersionReply.Data#

GetVersionReply_Data 声明响应数据结构
FieldTypeLabelDescription
versionListVersionInforepeated版本信息列表

LearnDataClearReply#

LearnDataClearReply 学习数据-清空
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

LearnDataExportReply#

LearnDataExportReply 学习数据-导出
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataLearnDataExportReply.Data响应数据

LearnDataExportReply.Data#

LearnDataExportReply_Data 声明响应数据结构
FieldTypeLabelDescription
successCountint64成功导出数量
nodeTimestampint64本次导出的时间节点
databytes学习数据

LearnDataImportReply#

LearnDataImportReply 学习数据-导入
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataLearnDataImportReply.Data响应数据

LearnDataImportReply.Data#

LearnDataImportReply_Data 声明响应数据结构
FieldTypeLabelDescription
successCountint64成功导入数量

LearnDataUploadReply#

LearnDataUploadReply 学习数据-上传
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

SkuDataDeleteReply#

SkuDataDeleteReply 商品数据-删除
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

SkuDataIconMatchReply#

SkuDataIconMatchReply 商品数据-主图匹配
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataSkuDataIconMatchReply.Data响应数据

SkuDataIconMatchReply.Data#

SkuDataIconMatchReply_Data 声明响应数据结构
FieldTypeLabelDescription
downloadUrlPrefixstringICON下载路径前缀
skuIconListSkuIconInforepeated商品ICON信息列表

SkuDataImportReply#

SkuDataImportReply 商品数据-导入
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

SkuFeatClearReply#

SkuFeatClearReply 商品特征-清除指定商品的所有特征
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

SkuFeatQueryImageReply#

SkuFeatQueryImageReply 商品特征-查询图像
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataSkuFeatQueryImageReply.Data响应数据

SkuFeatQueryImageReply.Data#

SkuFeatQueryImageReply_Data 声明响应数据结构
FieldTypeLabelDescription
featImgListSkuFeatImageInforepeated商品特征图像列表

SkuFeatQueryReply#

SkuFeatQueryReply 商品特征-批量查询特征信息
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述
dataSkuFeatQueryReply.Data响应数据

SkuFeatQueryReply.Data#

SkuFeatQueryReply_Data 声明响应数据结构
FieldTypeLabelDescription
featNumListSkuFeatNumberInforepeated商品特征数量列表

SkuFeatRemoveReply#

SkuFeatRemoveReply 商品特征-移除指定商品的指定特征
FieldTypeLabelDescription
codeStatusCode状态码
msgstring状态描述

StatusCode#

StatusCode 状态码定义
NameNumberDescription
ErrUnknow0未知异常
Success1成功
ErrPciNetCardDisabled1000设备PCI网卡已被禁用
ErrCamera1001设备相机异常
ErrImageDecode1002图像解码失败
ErrImageEncode1003图像编码失败
ErrNetwork1004网络异常,请联网
ErrCloudServer1005云服务器异常
ErrInputParam1006输入参数异常
ErrExportLearnDataEmpty1007导出学习数据为空
ErrDeviceNotActivate1500设备未激活
ErrDeviceActivateExpire1501设备激活状态已过期
ErrDeviceSystemTime1503设备系统时间异常
ErrDeviceRepeatFreeTrial1504设备禁止重复试用
ErrErLangShenAlgo2000二郎神算法异常
ErrBaiZeAlgo2500白泽算法异常

Scalar Value Types#

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)
上一页
自托管SDK进程
下一页
GetVersion 获取版本信息
Built with