Commit f9649a02 authored by marina.kolpakova's avatar marina.kolpakova

fix typo

parent 0a40bbd0
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment