diff --git a/src/core/plate_judge.cpp b/src/core/plate_judge.cpp index 1b7c935..a190882 100644 --- a/src/core/plate_judge.cpp +++ b/src/core/plate_judge.cpp @@ -88,7 +88,7 @@ int CPlateJudge::plateJudge(const vector& inVec, int w = inMat.cols; int h = inMat.rows; //再取中间部分判断一次 - Mat tmpmat = inMat(Rect(w * 0.05, h * 0.1, w * 0.9, h * 0.8)); + Mat tmpmat = inMat(Rect_(w * 0.05, h * 0.1, w * 0.9, h * 0.8)); Mat tmpDes = inMat.clone(); resize(tmpmat, tmpDes, Size(inMat.size()));