Commit e5df3d8e authored by Davis King's avatar Davis King

merged

parents 972bf3c4 0bb3d9f1
......@@ -534,7 +534,7 @@ namespace dlib
{
auto&& rects = any_cast<std::vector<rectangle>>(data.annotation());
DLIB_CASSERT(rects.size() > 0);
return rects[0].contains(p);
return rects[0].contains(p+rects[0].tl_corner());
}
drectangle tensor_space_to_image_space (
......
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