Commit da48facb authored by Davis King's avatar Davis King

Changed extract_image_chips() slightly so that it can take non-resizable images

like cv_image as input.
parent 02c377e9
...@@ -1621,7 +1621,7 @@ namespace dlib ...@@ -1621,7 +1621,7 @@ namespace dlib
} }
// now make an image pyramid // now make an image pyramid
dlib::array<image_type1> levels(max_depth); dlib::array<image_type2> levels(max_depth);
if (levels.size() != 0) if (levels.size() != 0)
pyr(img,levels[0]); pyr(img,levels[0]);
for (unsigned long i = 1; i < levels.size(); ++i) for (unsigned long i = 1; i < levels.size(); ++i)
......
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