houxiao
2017-06-28 d892dff4cac95f1b6692d7821a2006679a554aaf
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();