Commit 08a74837 authored by Davis King's avatar Davis King

I accidentally slightly changed the cropping behavior of

get_face_chip_details() when used with the 68 point landmark model about a
month ago.  This change reverts it back to the previous behavior.  The change
was very minor, so it shouldn't matter either way.  But being consistent is
important and I'm changing it back.
parent 38dd831d
......@@ -2077,13 +2077,6 @@ namespace dlib
if (17 <= i && i <= 26)
continue;
if (1+i != 37 &&
1+i != 40 &&
1+i != 43 &&
1+i != 46 &&
1+i != 34)
continue;
dpoint p;
p.x() = (padding+mean_face_shape_x[i-17])/(2*padding+1);
p.y() = (padding+mean_face_shape_y[i-17])/(2*padding+1);
......
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