From 65a094bd57829118503802220b7125053c643c41 Mon Sep 17 00:00:00 2001
From: qvyuanxin <qvyuanxin@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 04 七月 2017 18:58:25 +0800
Subject: [PATCH]
---
FaceServer/face_daemon_proto.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/FaceServer/face_daemon_proto.h b/FaceServer/face_daemon_proto.h
index 6bc5689..ed82594 100644
--- a/FaceServer/face_daemon_proto.h
+++ b/FaceServer/face_daemon_proto.h
@@ -20,6 +20,7 @@
FDC_SENSETIMEFACEDETECT_RESULT_JSON,
FDC_SENSETIMEFACEDETECT_SAVE,
FDC_SENSETIMEFACEDETECT_COMPARE,
+ FDC_SENSETIMEFACEDETECT_SEARCH,
FDC__LAST,
};
};
@@ -53,9 +54,9 @@
{
int32_t db_id;
int32_t st_id; // sensetime id
- int16_t confidence; // 1000 times of float confidence
+ int16_t confidence; // 1000 times of float confidence, less than zero means error
- FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id), confidence(0)
+ FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id, int _confidence) : db_id(_db_id), st_id(_st_id), confidence(_confidence)
{}
void hton();
--
Gitblit v1.8.0