Commit Graph

2394 Commits

Author SHA1 Message Date
Davis King ed7c344a53 Added some examples for the new object detection stuff. 2011-09-17 16:23:06 -04:00
Davis King 79c4c85a44 Fixed grammar. 2011-09-17 16:13:54 -04:00
Davis King 08b23f2f3b Fixed spelling error. 2011-09-17 14:46:15 -04:00
Davis King bfd61cf29b Just renamed get_scales() to get_hash_bin_sizes() to make things more clear. 2011-09-17 13:21:24 -04:00
Davis King bcd9a781f6 Just renamed find_map_nmplp() to find_max_factor_graph_nmplp()
--HG--
rename : dlib/optimization/find_map_nmplp.h => dlib/optimization/find_max_factor_graph_nmplp.h
rename : dlib/optimization/find_map_nmplp_abstract.h => dlib/optimization/find_max_factor_graph_nmplp_abstract.h
rename : dlib/test/find_map_nmplp.cpp => dlib/test/find_max_factor_graph_nmplp.cpp
2011-09-17 11:35:55 -04:00
Davis King b9a9b5991e Minor change to avoid a linker error. 2011-09-17 00:16:51 -04:00
Davis King ff10d3bdbd Changed scan_image() so that once the max number of detections is reached
it begins randomly subsampling possible detection locations rather than
just stopping the detection procedure.
2011-09-15 22:36:51 -04:00
Davis King e30d04a4ed clarified the spec 2011-09-15 21:58:59 -04:00
Davis King a1775d1b1e Added some comments. 2011-09-15 21:16:51 -04:00
Davis King cdcbe6dc3d Fleshed out the spec. 2011-09-15 20:59:00 -04:00
Davis King 97c8bfca75 Fixed bugs in asserts. 2011-09-15 20:21:08 -04:00
Davis King 51491c8cc6 updated docs 2011-09-15 20:05:04 -04:00
Davis King 3eb0d9732e Added the cross_validate_object_detection_trainer() and test_object_detection_function()
routines.
2011-09-15 19:58:49 -04:00
Davis King 0aa89e074b Improved the error messages generated by the structural_svm_object_detection_problem. 2011-09-15 19:32:35 -04:00
Davis King b721e0982b Increased the default max detections per template from 2000 to 10000 since
setting this value too low can sometimes result in the failure of the
structural_svm_object_detection_problem.
2011-09-15 19:09:46 -04:00
Davis King fc84798b7c clarified spec 2011-09-14 23:03:16 -04:00
Davis King 556b6bbd05 updated docs 2011-09-11 22:51:13 -04:00
Davis King 1b8504a09f updated docs 2011-09-11 12:25:36 -04:00
Davis King a66a7dd884 Added an initial version of the structural_object_detection_trainer. This is
a tool for learning the parameters for an object like scan_image_pyramid.
2011-09-11 12:14:31 -04:00
Davis King b795c19b32 Defaulted the overlap tester type to test_box_overlap. 2011-09-11 12:03:08 -04:00
Davis King 3358d71446 added missing requirement. 2011-09-11 11:00:06 -04:00
Davis King ed9f5bd68f Fixed the width_step() member functions. They weren't defined in quite the
way they should have been.
2011-09-11 10:50:37 -04:00
Davis King 275d7d1ac5 Minor change to avoid a compiler warning. 2011-09-11 10:49:57 -04:00
Davis King 4a1b5941c9 Improved the error messages output when a set of truth rectangles can't be
represented by an image scanner.
2011-09-11 10:19:17 -04:00
Davis King 07e48859c2 I needed to make a few minor changes to make this code work with the new
version of dlib.
2011-09-10 21:41:17 -04:00
Davis King e3310d4566 updated docs 2011-09-10 21:28:31 -04:00
Davis King cafa17c836 Changed the test_regression_function() and cross_validate_regression_trainer()
routines so they return both the MSE and R-squared values rather than just the
MSE.
2011-09-10 21:24:08 -04:00
Davis King e2e342aacd updated docs 2011-09-09 23:45:54 -04:00
Davis King a081d4de89 - Renamed spatially_filter_image() for the separable case to spatially_filter_image_separable()
- Changed the behavior of spatially_filter_image().  Now it won't truncate signed pixel values
   to 0 if they go negative.
2011-09-09 23:39:17 -04:00
Davis King 4d8e96ef66 Changed the interface for the spatially_filter_image() routines to take the filter
as a matrix rather than C-array.  I also fixed a bug which showed up when using
non-square filters.  The bug would cause the edges of the output image to be incorrect.
2011-09-09 22:59:03 -04:00
Davis King 3dc0f5a756 Increased the max size matrix which will allocate its memory on the stack
from 128 bytes to 256 bytes.
2011-09-09 22:50:05 -04:00
Davis King 748ec4cb91 changed to avoid a compiler warning 2011-09-09 21:22:07 -04:00
Davis King 73a34f7fd4 Added an overload of spatially_filter_image() that uses a separable filter. 2011-09-09 21:16:49 -04:00
Davis King 16ae5eaca7 Added functions to the interface that allow a user to control the relative
loss from a false alarm vs. a missed detection.
2011-09-09 19:29:21 -04:00
Davis King aa88a574bd setup separate measures of loss for false alarms and missed truth boxes. 2011-09-09 18:59:16 -04:00
Davis King c8ccb488b0 Added comments clarifying the thread safety requirements of the new
object detection tools.
2011-09-08 23:25:07 -04:00
Davis King d9ef460c69 Removed some testing/debugging code like internal asserts, cout
statements, and other cruft.
2011-09-08 23:10:43 -04:00
Davis King 167ddaf99f Fixed a spelling error 2011-09-08 22:54:58 -04:00
Davis King 74c12ff8d1 updated docs 2011-09-08 22:36:54 -04:00
Davis King 860c278e0c Added yet more missing asserts 2011-09-08 22:29:52 -04:00
Davis King 8372b859d0 Added a missing assert 2011-09-08 22:19:48 -04:00
Davis King 4e2ab80eb0 Added a missing assert and fixed some typos. 2011-09-08 22:16:44 -04:00
Davis King ae0c81bc76 Added missing assert 2011-09-08 22:08:23 -04:00
Davis King 5e7d14f4ca simplified this object a little bit. 2011-09-08 22:01:31 -04:00
Davis King 02566cc9b5 Fixed a bug in the cpp_tokenizer that only shows up on newer versions of
gcc.  It wasn't tokenizing double quoted strings right.
2011-09-08 20:15:41 -04:00
Davis King e651368685 updated docs 2011-09-08 19:30:18 -04:00
Davis King 91dbcb33af filled out spec 2011-09-08 19:14:26 -04:00
Davis King cf8e0529ac improved the spec 2011-09-08 18:48:28 -04:00
Davis King 12e6f8eeec Added some comments. Still need to complete the spec. 2011-09-07 23:45:14 -04:00
Davis King 651df561c1 filled in the spec 2011-09-07 23:32:09 -04:00