From 3e253c674f3ebe0da414d34751c5c259a378375a Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期五, 25 一月 2019 20:58:55 +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