mirror of https://github.com/davisking/dlib.git
Refined this object's interface slightly.
This commit is contained in:
parent
a4e63d295c
commit
d1493c1a50
|
@ -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
|
||||
);
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue