From 4922436eb78c6e6735c7fb6ce4920c67a449cbf0 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期一, 13 七月 2020 18:19:18 +0800 Subject: [PATCH] add operator_type --- sdk.proto | 42 +++++++++++++++++++++++++++++++----------- 1 files changed, 31 insertions(+), 11 deletions(-) diff --git a/sdk.proto b/sdk.proto index bc6b90a..874c9fe 100644 --- a/sdk.proto +++ b/sdk.proto @@ -12,6 +12,30 @@ string timestamp = 4; int64 id = 5; string cid = 6; + string cname = 7; +} + +message Target{ + uint64 id = 1; + string type = 2; + int32 confidence = 3; + Rect rect = 4; + bytes feature= 5; + bytes attribute = 6; +} + +message NewSDKMessage{ + string sdkID = 1; + string sdkType = 2; + string sdkName = 3; + repeated Target target = 4; + string timestamp = 5; +} + +message NewRuleMessage{ + string dataType = 1; + string handleTrack = 2; + repeated NewSDKMessage message = 3; } message FaceAngle { @@ -171,18 +195,14 @@ } message HumanTrack { - int32 left = 1; - int32 right = 2; - int32 top = 3; - int32 bottom = 4; - float confidence = 5; - int32 x = 6; - int32 y = 7; - int32 id = 8; - repeated float feature = 9; + Rect rcHuman = 1; + float confidence = 2; + int32 x = 3; + int32 y = 4; + int32 id = 5; + repeated float feature = 6; } message HumanTrackResult { repeated HumanTrack result = 1; - int32 count = 2; -} \ No newline at end of file +} -- Gitblit v1.8.0