From b95da65535d039db20a4362d33c3a39fe84436e2 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期四, 19 十二月 2019 11:37:25 +0800 Subject: [PATCH] fix es.proto --- sdk.proto | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/sdk.proto b/sdk.proto index 4e41732..8fcec05 100644 --- a/sdk.proto +++ b/sdk.proto @@ -112,12 +112,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 +137,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 +164,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