Commit cf321559 authored by Davis King's avatar Davis King

Made remove_unobtainable_rectangles() work with all scan_fhog_pyramid objects.

parent 5f48afc5
...@@ -156,10 +156,11 @@ namespace dlib ...@@ -156,10 +156,11 @@ namespace dlib
template < template <
typename image_array_type, typename image_array_type,
typename Pyramid_type typename Pyramid_type,
typename Feature_extractor_type
> >
std::vector<std::vector<rectangle> > remove_unobtainable_rectangles ( std::vector<std::vector<rectangle> > remove_unobtainable_rectangles (
const structural_object_detection_trainer<scan_fhog_pyramid<Pyramid_type> >& trainer, const structural_object_detection_trainer<scan_fhog_pyramid<Pyramid_type,Feature_extractor_type> >& trainer,
const image_array_type& images, const image_array_type& images,
std::vector<std::vector<rectangle> >& object_locations std::vector<std::vector<rectangle> >& object_locations
) )
......
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