From 25f94726888e19d6efed7b393217d9f56a0ca767 Mon Sep 17 00:00:00 2001
From: chenshijun <chenshijun@aiotlink.com>
Date: 星期五, 15 三月 2019 18:44:46 +0800
Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of ssh://192.168.1.226:29418/development/c++ into yw.1.2.fixbug

---
 QiaoJiaSystem/StructureApp/FaceExtractElement.cpp |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
index a8aa27e..b6cbc28 100644
--- a/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
+++ b/QiaoJiaSystem/StructureApp/FaceExtractElement.cpp
@@ -38,7 +38,7 @@
                         appPref.getIntData("faceSear.port"), "tcp"),
 //    faceSearchRpcClient("faceCmServer", "", 10004, "tcp")
     m_sdkRule(rule),
-    m_rpcClient("RtspAnalysServer", "127.0.0.1", appPref.getIntData("RpcServerPort"), "tcp") {
+    m_rpcClient("RtspAnalysServer", "127.0.0.1", appPref.getIntData("RpcVTIMPort"), "tcp") {
     sharedMemory = new QSharedMemory(QString(shareMemoryName.c_str()));
     if (!sharedMemory->create(4608 * 2592 * 4)) {
         sharedMemory->attach();
@@ -139,8 +139,11 @@
                 Json::Value t_json;
                 t_json["Id"] = str_uuid; //涓婚敭
 
+                std::string feature_base64;
+                feature_base64 = base64.Encode(feature.data(), feature.size());
+
                 //#鍦ㄥ姣斾腑娣诲姞鐗瑰緛鍊�
-                t_json["FaceFeature"] = "base64";
+                t_json["FaceFeature"] = feature_base64;
                 t_json["personId"] = "";//鍏宠仈搴曞簱浜哄憳id,浜鸿劯id
                 t_json["BaseName"] = "";//鍏宠仈搴曞簱琛ㄥ悕
                 //#end

--
Gitblit v1.8.0