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/PerStaticElement.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/PerStaticElement.cpp b/QiaoJiaSystem/StructureApp/PerStaticElement.cpp index 4877fbe..a8156c3 100644 --- a/QiaoJiaSystem/StructureApp/PerStaticElement.cpp +++ b/QiaoJiaSystem/StructureApp/PerStaticElement.cpp @@ -80,7 +80,7 @@ { if(ele.id==obj.id) { - if((obj.rect&ele.rect).area()>ele.rect.area()*0.8) + if((obj.rect&ele.rect).area()>ele.rect.area()*m_sdkRule.fSensitivity) { //not moving obj.isMove = true; @@ -183,7 +183,7 @@ CvUtil::cvMat2Buffer(image, buffer); std::string strImgUrlTmp = ""; fdfsClient->fastFds->uploadFile(buffer, strImgUrlTmp, "jpg"); - strImgUrl.append(fdfsClient->fastFds->getIp() + "/" + strImgUrlTmp); + //strImgUrl.append(fdfsClient->fastFds->getIp() + "/" + strImgUrlTmp); strImgUrl.clear(); strImgUrl = strImgUrlTmp; // strImgUrl.append("/").append(strImgUrlTmp); -- Gitblit v1.8.0