Commit e2350cae authored by Davis King's avatar Davis King

Made spec slightly clearer

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