Commit 3358d714 authored by Davis King's avatar Davis King

added missing requirement.

parent ed9f5bd6
...@@ -88,6 +88,7 @@ namespace dlib ...@@ -88,6 +88,7 @@ namespace dlib
requires requires
- is_learning_problem(images, truth_rects) - is_learning_problem(images, truth_rects)
- scanner.get_num_detection_templates() > 0 - scanner.get_num_detection_templates() > 0
- scanner.load(images[0]) must be a valid expression.
ensures ensures
- This object attempts to learn a mapping from the given images to the - This object attempts to learn a mapping from the given images to the
object locations given in truth_rects. In particular, it attempts to object locations given in truth_rects. In particular, it attempts to
......
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