From b795c19b323e45469b181555df132ff947778715 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 11 Sep 2011 12:03:08 -0400 Subject: [PATCH] Defaulted the overlap tester type to test_box_overlap. --- dlib/image_processing/object_detector.h | 3 ++- dlib/image_processing/object_detector_abstract.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlib/image_processing/object_detector.h b/dlib/image_processing/object_detector.h index 5272fe1f2..23993da74 100644 --- a/dlib/image_processing/object_detector.h +++ b/dlib/image_processing/object_detector.h @@ -7,6 +7,7 @@ #include "../matrix.h" #include "../geometry.h" #include +#include "box_overlap_testing.h" namespace dlib { @@ -15,7 +16,7 @@ namespace dlib template < typename image_scanner_type, - typename overlap_tester_type + typename overlap_tester_type = test_box_overlap > class object_detector { diff --git a/dlib/image_processing/object_detector_abstract.h b/dlib/image_processing/object_detector_abstract.h index 3739b32b5..3ed3b506d 100644 --- a/dlib/image_processing/object_detector_abstract.h +++ b/dlib/image_processing/object_detector_abstract.h @@ -6,6 +6,7 @@ #include "../matrix.h" #include "../geometry.h" #include +#include "box_overlap_testing_abstract.h" namespace dlib { @@ -14,7 +15,7 @@ namespace dlib template < typename image_scanner_type, - typename overlap_tester_type + typename overlap_tester_type = test_box_overlap > class object_detector {