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 |  112 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 102 insertions(+), 10 deletions(-)

diff --git a/sdk.proto b/sdk.proto
index afe0f0a..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 {
@@ -99,18 +123,86 @@
     Rect rcLocation = 8;
     int32 nTime = 9;
     int32 nCarBright = 10;
-    int32 nCarLogo = 11;
-    int32 nCarType = 12;
-    bytes plateBin = 13;
-    bytes nBinPlateWidth = 14;
-    bytes nBinPlateHeight = 15;
-    Rect rcLogoLocation = 16;
-    bytes nCarModel = 17;
-    bytes nCarModelConfidence = 18;
+    int32 NCarColor = 11;
+    int32 nCarLogo = 12;
+    int32 nCarType = 13;
+    bytes plateBin = 14;
+    bytes nBinPlateWidth = 15;
+    bytes nBinPlateHeight = 16;
+    Rect rcLogoLocation = 17;
+    bytes nCarModel = 18;
+    bytes nCarModelConfidence = 19;
 
     // bytes picCache = 19;
     // bytes reserved = 20;
 }
+
+// cloud
+message PlateIDCloud{
+    string license = 1;
+    Rect rcLocation = 2;
+    int32 nConfidence = 3;
+    int32 nType = 4;
+    int32 nDirection = 5;
+    int32 nCarColor = 6;
+    int32 nCarColor1 = 7;
+    int32 nCarBright = 8;
+    int32 frameNo = 9;
+    int32 faceWidth = 10;
+    int32 faceHeight = 11;
+    int32 grayFaceFlag = 12;
+    int32 charNum = 13;
+
+    // bytes X = 14;
+    // bytes Y = 15;
+    // int32 pResultBits = 16;
+    // bytes time = 17;
+    // repeated Rect charLocation = 18;
+    // repeated Rect charConfidence = 19;
+}
+
+message PlateIDVehicle{
+    int32 nPlateFlag = 1;
+    int32 nColor = 2;
+    int32 nType = 3;
+    string license = 4;
+    int32 nConfidence = 5;
+    int32 nCharNum = 6;
+    repeated int32 nCharConfidence = 7;
+    Rect rcLocation = 8;
+    Rect rcCarLocation = 9;
+    string vehicleType = 10;
+    string vehicleBrand = 11;
+    string vehicleSub = 12;
+    string vehicleType1 = 13;
+    float fvdConf = 14;
+    float fConfdence = 15;
+    int32 nVehicleSubModel = 16;
+    int32 nVehicleBright = 17;
+    int32 nVehicleColor1 = 18;
+    int32 nVehicleColor2 = 19;
+
+    // PCaptureImage [4]uint8 //瑙嗛妯″紡璇嗗埆涓嬫姄鎷嶇殑鍥剧墖鏁版嵁
+	// NImageWidth   int32    //瑙嗛妯″紡涓嬫姄鎷嶅浘鍍忓搴�
+	// NImageHeight  int32    //瑙嗛妯″紡涓嬫姄鎷嶅浘鍍忛珮搴�
+
+}
+
 message PlateIDResult {
-    repeated PlateID result = 1;
-}
\ No newline at end of file
+    // repeated PlateID result = 1;
+    // repeated PlateIDCloud result = 1;
+    repeated PlateIDVehicle result = 1;
+}
+
+message HumanTrack {
+    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;
+}

--
Gitblit v1.8.0