From adb08adc83dfe9dc5d6170c2322952d77a93c510 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期三, 03 四月 2019 09:54:33 +0800
Subject: [PATCH] Merge branch 'yw.1.2' into yangwu1.3

---
 QiaoJiaSystem/StructureApp/FaceExtractElement.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/FaceExtractElement.h b/QiaoJiaSystem/StructureApp/FaceExtractElement.h
index 94f21b0..bbf7266 100644
--- a/QiaoJiaSystem/StructureApp/FaceExtractElement.h
+++ b/QiaoJiaSystem/StructureApp/FaceExtractElement.h
@@ -14,6 +14,7 @@
 #include <mutex>
 #include <jsoncpp/json/json.h>
 #include "DBStruct.h"
+
 #define VECTOR_MAX 50
 
 class QSharedMemory;
@@ -30,7 +31,7 @@
 class FaceExtractElement : public TimerElement {
 public:
 
-    FaceExtractElement(std::string shareMemoryName,const SdkRule& rule);
+    FaceExtractElement(std::string shareMemoryName, const SdkRule &rule);
     //FaceExtractElement(std::string shareMemoryName,const SdkRule& rule,SaveVideoRpcClient_t& rpcClient);
 
     ~FaceExtractElement();
@@ -57,10 +58,13 @@
 
 //    AlarmServerInterface::TableNames tableNames;
     std::vector<::FaceDetect::Data> features;
-
+    cv::Mat m_image;
     Base64 base64;
     SdkRule m_sdkRule;
     SaveVideoRpcClient_t m_rpcClient;
+
+    void InsertToESDB(const vector<FaceToExtract> &faceExtractQueueTmp, float t_com_sc, int i, int j,
+                      FaceDetect::Data &feature, string &strImgUrl, string &strBigImgUrl);
 };
 
 

--
Gitblit v1.8.0