From 1621a97f2bf85b53d40ae98fbc15b99239e1535f Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期六, 26 一月 2019 16:11:59 +0800
Subject: [PATCH] 人脸对比优化
---
QiaoJiaSystem/StructureApp/AppPipeController.cpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.cpp b/QiaoJiaSystem/StructureApp/AppPipeController.cpp
index 457c8db..8bf95e3 100644
--- a/QiaoJiaSystem/StructureApp/AppPipeController.cpp
+++ b/QiaoJiaSystem/StructureApp/AppPipeController.cpp
@@ -196,10 +196,10 @@
cv::Mat imageTemp = videoCaptureElement.getImage();
std::string strNewTime = AppUtil::getTimeUSecString();;
- mutex.unlock();
-//DBG("m_camId="<<m_camId<<" strNewTime="<<strNewTime);
-// cv::putText(imageTemp, strNewTime, cv::Point(408, 540), cv::HersheyFonts::FONT_HERSHEY_PLAIN, 5,
-// cv::Scalar(255, 255, 0), 2);
+
+ //DBG("m_camId="<<m_camId<<" strNewTime="<<strNewTime);
+ cv::putText(imageTemp, strNewTime, cv::Point(408, 540), cv::HersheyFonts::FONT_HERSHEY_PLAIN, 5,
+ cv::Scalar(255, 255, 0), 2);
if (m_camId.size() > 0) {
@@ -229,6 +229,7 @@
strNewTime = newDt.toString("yyyy-MM-dd hh:mm:ss").toStdString();
}
+ mutex.unlock();
// DBG(strNewTime);
if (!faceRpcElement.isBusy()) {
--
Gitblit v1.8.0