| | |
| | | { |
| | | 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; |
| | |
| | | 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); |