update 标签外扩2pix

dev_lsy
liusiyang 2 weeks ago
parent 29086815bc
commit 8728bbdb68

@ -724,6 +724,10 @@ int CameraCheckAnalysisy::preDet_BQ(const cv::Mat &L255CutImg, std::shared_ptr<I
for (int i = 0; i < m_pCheck_Result->cameraBaseResult->pBQ_Result->pBQ_roiList.size(); i++)
{
cv::Rect boundingRect = m_pCheck_Result->cameraBaseResult->pBQ_Result->pBQ_roiList.at(i);
boundingRect.x -= 2;
boundingRect.y -= 2;
boundingRect.width += 4;
boundingRect.height += 4;
detImg_mask(boundingRect).setTo(255);
}
if (L255->result->in_shareImage->bDebugsaveImg)

Loading…
Cancel
Save