From 30d0bd43f53740554e8387fcd14bfab689eeca9c Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期五, 25 一月 2019 21:03:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/ywv1.2_布控feature' into ywv1.2_布控feature --- 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