Commit b2a0bae4 authored by Davis King's avatar Davis King

Added warning about crazy training data.

parent a05b8651
......@@ -353,6 +353,11 @@ namespace dlib
shape(2*i+1) = p.y();
present(2*i) = 1;
present(2*i+1) = 1;
if (length(p) > 100)
{
std::cout << "Warning, one of your objects has parts that are way outside its bounding box! This is probably an error in your annotation." << std::endl;
}
}
else
{
......
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