From e4c9b5bfb1d9000c08d84f2f044cd0c3605a2945 Mon Sep 17 00:00:00 2001
From: miyanhui <dennismi1024@gmail.com>
Date: 星期三, 13 二月 2019 14:17:13 +0800
Subject: [PATCH] 修复检测结果ImgKey不对应的问题

---
 QiaoJiaSystem/StructureApp/FaceExtractElement.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
index 4fed07d..93666fa 100644
--- a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
+++ b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
@@ -212,6 +212,10 @@
                 t_json["indeviceid"] = appPref.getStringData("fxDevID");
                 t_json["indevicename"] = appPref.getStringData("fxDevNAME");
 
+                std::string strImageKey = faceExtractQueueTmp[i].scoredRects[j].properties["imgKey"];
+                INFO("SaveImageKey To ES: "<<strImageKey);
+                t_json["imgKey"] = strImageKey;
+
                 auto faceSearchServer = faceSearchRpcClient.getServer();
                 if (!faceSearchServer) {
                     ERR("faceSearchServer is null");

--
Gitblit v1.8.0