Refined this object's interface slightly.

This commit is contained in:
Davis King 2013-03-27 20:21:44 -04:00
parent a4e63d295c
commit d1493c1a50
2 changed files with 12 additions and 3 deletions

View File

@ -71,6 +71,9 @@ namespace dlib
const box_generator& bg
);
const box_generator& get_box_generator (
) const { return detect_boxes; }
inline void copy_configuration (
const scan_image_boxes& item
);

View File

@ -194,13 +194,19 @@ namespace dlib
);
/*!
ensures
- Let BASE_BG denote the box_generator object used internally for candidate
box generation. Then this function performs:
BASE_BG = bg;
- #get_box_generator() == bg
(i.e. this function allows you to configure the parameters of the
underlying box generator used by a scan_image_boxes object)
!*/
const box_generator& get_box_generator (
) const;
/*!
ensures
- returns the box_generator used by this object to generate candidate
object locations.
!*/
void copy_configuration (
const scan_image_boxes& item
);