mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made spec slightly clearer
This commit is contained in:
parent
c4a7f0c9ba
commit
e2350caed2
@ -28,8 +28,8 @@ namespace dlib
|
||||
);
|
||||
/*!
|
||||
ensures
|
||||
- #get_overlap_thresh() == 0.5
|
||||
- #get_match_thresh() == 0.5
|
||||
- #get_overlap_thresh() == 0.5
|
||||
!*/
|
||||
|
||||
test_box_overlap (
|
||||
@ -60,15 +60,6 @@ namespace dlib
|
||||
- returns false
|
||||
!*/
|
||||
|
||||
double get_overlap_thresh (
|
||||
) const;
|
||||
/*!
|
||||
ensures
|
||||
- returns the threshold used to determine if two rectangles overlap. This
|
||||
value is the percent of a rectangle's area covered by another rectangle.
|
||||
|
||||
!*/
|
||||
|
||||
double get_match_thresh (
|
||||
) const;
|
||||
/*!
|
||||
@ -79,6 +70,15 @@ namespace dlib
|
||||
|
||||
!*/
|
||||
|
||||
double get_overlap_thresh (
|
||||
) const;
|
||||
/*!
|
||||
ensures
|
||||
- returns the threshold used to determine if two rectangles overlap. This
|
||||
value is the percent of a rectangle's area covered by another rectangle.
|
||||
|
||||
!*/
|
||||
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user