From 16255a4639f072ece37aaf141391960a6ce9c0bd Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 08 二月 2023 11:32:55 +0800
Subject: [PATCH] 修改提交的dataprocess.proto
---
sdk.proto | 59 +++++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 47 insertions(+), 12 deletions(-)
diff --git a/sdk.proto b/sdk.proto
index 4e41732..71258fe 100644
--- a/sdk.proto
+++ b/sdk.proto
@@ -12,6 +12,33 @@
string timestamp = 4;
int64 id = 5;
string cid = 6;
+ string cname = 7;
+
+ int32 channel = 8;
+ int64 i64timestamp = 9;
+}
+
+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 {
@@ -112,12 +139,9 @@
// bytes picCache = 19;
// bytes reserved = 20;
}
-message PlateIDResult {
- repeated PlateID result = 1;
-}
// cloud
-message PlateCloudID{
+message PlateIDCloud{
string license = 1;
Rect rcLocation = 2;
int32 nConfidence = 3;
@@ -140,18 +164,14 @@
// repeated Rect charConfidence = 19;
}
-message PlateCloudIDResult {
- repeated PlateCloudID result = 1;
-}
-
-message PlateVehicleID{
+message PlateIDVehicle{
int32 nPlateFlag = 1;
int32 nColor = 2;
int32 nType = 3;
string license = 4;
int32 nConfidence = 5;
int32 nCharNum = 6;
- bytes nCharConfidence = 7;
+ repeated int32 nCharConfidence = 7;
Rect rcLocation = 8;
Rect rcCarLocation = 9;
string vehicleType = 10;
@@ -171,6 +191,21 @@
}
-message PlateVehicleIDResult {
- repeated PlateVehicleID result = 1;
+message PlateIDResult {
+ // 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