From d892dff4cac95f1b6692d7821a2006679a554aaf Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 28 六月 2017 09:56:10 +0800 Subject: [PATCH] modify proto --- FaceServer/face_daemon_proto.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/FaceServer/face_daemon_proto.h b/FaceServer/face_daemon_proto.h index 4bc6e34..6bc5689 100644 --- a/FaceServer/face_daemon_proto.h +++ b/FaceServer/face_daemon_proto.h @@ -19,6 +19,7 @@ FDC_SENSETIMEFACEDETECT_PB, FDC_SENSETIMEFACEDETECT_RESULT_JSON, FDC_SENSETIMEFACEDETECT_SAVE, + FDC_SENSETIMEFACEDETECT_COMPARE, FDC__LAST, }; }; @@ -29,6 +30,7 @@ int16_t mb_type; // MB_Frame::MBFType int16_t width; int16_t height; + int16_t size; uint8_t buff[0]; void hton(); @@ -51,8 +53,9 @@ { int32_t db_id; int32_t st_id; // sensetime id + int16_t confidence; // 1000 times of float confidence - FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id) + FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id), confidence(0) {} void hton(); -- Gitblit v1.8.0