fix typo
This commit is contained in:
parent
0a40bbd0d0
commit
f9649a029b
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user