Skip to content

Commit

Permalink
Added missing requires clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
davisking committed May 26, 2014
1 parent 4562b2e commit 040cfe8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dlib/image_processing/scan_fhog_pyramid_abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,10 @@ namespace dlib
const double adjust_threshold = 0
);
/*!
requires
- image_type == is an implementation of array2d/array2d_kernel_abstract.h
- img contains some kind of pixel type.
(i.e. pixel_traits<typename image_type::type> is defined)
ensures
- This function runs each of the provided object_detector objects over img and
stores the resulting detections into #dets. Importantly, this function is
Expand Down Expand Up @@ -751,6 +755,10 @@ namespace dlib
const double adjust_threshold = 0
);
/*!
requires
- image_type == is an implementation of array2d/array2d_kernel_abstract.h
- img contains some kind of pixel type.
(i.e. pixel_traits<typename image_type::type> is defined)
ensures
- This function just calls the above evaluate_detectors() routine and copies
the output dets into a vector<rectangle> object and returns it. Therefore,
Expand Down

0 comments on commit 040cfe8

Please sign in to comment.