fix typo
This commit is contained in:
@@ -102,7 +102,7 @@ struct Feature
|
|||||||
if (useBoxes)
|
if (useBoxes)
|
||||||
rect = cv::Rect(x, y, w, h);
|
rect = cv::Rect(x, y, w, h);
|
||||||
else
|
else
|
||||||
rect = cv::Rect(x, y, w + x, h + x);
|
rect = cv::Rect(x, y, w + x, h + y);
|
||||||
|
|
||||||
// 1 / area
|
// 1 / area
|
||||||
rarea = 1.f / ((rect.width - rect.x) * (rect.height - rect.y));
|
rarea = 1.f / ((rect.width - rect.x) * (rect.height - rect.y));
|
||||||
|
Reference in New Issue
Block a user