Commit e2350cae authored by Davis King's avatar Davis King

Made spec slightly clearer

parent c4a7f0c9
...@@ -28,8 +28,8 @@ namespace dlib ...@@ -28,8 +28,8 @@ namespace dlib
); );
/*! /*!
ensures ensures
- #get_overlap_thresh() == 0.5
- #get_match_thresh() == 0.5 - #get_match_thresh() == 0.5
- #get_overlap_thresh() == 0.5
!*/ !*/
test_box_overlap ( test_box_overlap (
...@@ -60,22 +60,22 @@ namespace dlib ...@@ -60,22 +60,22 @@ namespace dlib
- returns false - returns false
!*/ !*/
double get_overlap_thresh ( double get_match_thresh (
) const; ) const;
/*! /*!
ensures ensures
- returns the threshold used to determine if two rectangles overlap. This - returns the threshold used to determine if two rectangles match.
value is the percent of a rectangle's area covered by another rectangle. Note that the match score varies from 0 to 1 and only becomes 1
when two rectangles are identical.
!*/ !*/
double get_match_thresh ( double get_overlap_thresh (
) const; ) const;
/*! /*!
ensures ensures
- returns the threshold used to determine if two rectangles match. - returns the threshold used to determine if two rectangles overlap. This
Note that the match score varies from 0 to 1 and only becomes 1 value is the percent of a rectangle's area covered by another rectangle.
when two rectangles are identical.
!*/ !*/
......
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