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