"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "2fada8dc1b4859c0c5ed04423a3386cc9e31ddd9"
Commit e5df3d8e authored by Davis King's avatar Davis King
Browse files

merged

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