Commit Graph

3610 Commits

Author SHA1 Message Date
Davis King
77ce277518 updated unit test to work with new object detector validation interface 2013-03-31 15:37:26 -04:00
Davis King
a73e76592d Made the object detector validation functions also output the mean average
precision measure.
2013-03-31 15:33:51 -04:00
Davis King
230dc7546e clarified spec 2013-03-31 15:21:00 -04:00
Davis King
f2426231b9 Changed the object_detector interface slightly. In particular, it now handles
the adjust_threshold argument slightly differently in that it does not add it
to the output detection score anymore.
2013-03-31 15:18:24 -04:00
Davis King
238effb9c6 Changed average_precision() to use interpolated precision. So now it uses the
same metric as the one used by the Pascal VOC.
2013-03-31 11:12:43 -04:00
Davis King
7ff4f6f485 clarified example 2013-03-30 21:57:54 -04:00
Davis King
e06d1e697e merged 2013-03-30 17:37:30 -04:00
Davis King
8a3689ff1b Added features to model different detection box sizes. 2013-03-30 17:35:16 -04:00
Davis King
a41e00d823 Added missing template arguments. 2013-03-30 17:12:34 -04:00
Davis King
cac51bfaa8 updated docs 2013-03-30 17:00:38 -04:00
Davis King
b22e9f2fc8 Added linpiece() 2013-03-30 16:51:27 -04:00
Davis King
9d0f6796dc Added the --rmdiff option and also improved the formatting in the output of -h 2013-03-30 08:22:58 -04:00
Davis King
1e1f4efbaf Gave load_image_dataset() the ability to skip images that don't have
any ground truth boxes.
2013-03-28 19:21:52 -04:00
Davis King
d1493c1a50 Refined this object's interface slightly. 2013-03-27 20:21:44 -04:00
Davis King
a4e63d295c made code slightly more robust 2013-03-25 22:37:56 -04:00
Davis King
db5171c4b5 updated docs 2013-03-25 19:02:07 -04:00
Davis King
f528ae2814 merged 2013-03-25 17:56:41 -04:00
Davis King
bb9708da23 added missing bug fix note 2013-03-25 17:56:13 -04:00
Davis King
eb867dd0e3 Fixed spelling errors 2013-03-25 17:52:40 -04:00
Davis King
007a6794e8 Moved randomly_sample_image_features() from the algorithms page to the image
processing page.
2013-03-24 16:36:25 -04:00
Davis King
19608d43f0 updated docs 2013-03-24 16:31:53 -04:00
Davis King
b95b2e14f9 Added a version of setup_hashed_features() for scan_image_boxes objects. 2013-03-24 16:29:39 -04:00
Davis King
cd83f1cb6e updated docs 2013-03-24 16:18:44 -04:00
Davis King
85a226b0e3 Moved setup_hashed_features() into its own file. 2013-03-24 16:16:07 -04:00
Davis King
173a2b6190 updated docs 2013-03-24 15:44:34 -04:00
Davis King
e9823c79d8 fixed another typo in spec 2013-03-24 15:40:07 -04:00
Davis King
f027fc937f fixed typo in spec 2013-03-24 15:36:32 -04:00
Davis King
0104e4bd01 Updated specs to reference both the scan_image_pyramid and scan_image_boxes
objects.
2013-03-24 15:33:54 -04:00
Davis King
7847038b33 Simplified code slightly and filled out the spec 2013-03-24 15:18:12 -04:00
Davis King
94b0344532 clarified spec 2013-03-24 14:10:14 -04:00
Davis King
311075a74f Added initial version of scan_image_boxes object. 2013-03-24 12:13:39 -04:00
Davis King
b6b3cf1f0b updated docs 2013-03-24 11:03:17 -04:00
Davis King
a924bdad61 Filled out spec for find_candidate_object_locations() 2013-03-24 10:57:40 -04:00
Davis King
b638145fb6 Moved the responsibility for automatically filling out a test_box_overlap
object from the structural_object_detection_trainer to the
structural_svm_object_detection_problem.  This allows us to use image scanners
which require an image be loaded before get_best_matching_rect() can be called.
I also made it so that the scanner loading (and therefore feature extraction)
is threaded.  Previously, it only used a single core.
2013-03-23 19:49:42 -04:00
Davis King
d81641cd8e These templates ostensibly allowed a user to supply their own version of the
test_box_overlap object.  However, one place in the code assumed the
test_box_overlap object was used and so this feature has actually been broken
for some time.  Moreover, it's probably just confusing and excessively complex
to have this level of user modifiability so I removed the option and hard coded
everything to use the test_box_overlap object.  This makes the code
significantly clearer.
2013-03-23 18:08:17 -04:00
Davis King
f4cc3c7128 fixed spelling in comment 2013-03-23 14:49:32 -04:00
Davis King
542f8b1cad Added a regularization parameter to cca() 2013-03-21 20:08:51 -04:00
Davis King
3c8db58597 updated docs 2013-03-19 23:04:07 -04:00
Davis King
1b3fbc2c3e Slightly changed unit test to avoid false alarms. 2013-03-18 22:12:01 -04:00
Davis King
c90e865838 merged 2013-03-18 20:40:46 -04:00
Davis King
a228c34652 Fixed a bug I just introduced. It caused the verbose parallel_for()
methods to not print updates after the first print.
2013-03-17 15:21:21 -04:00
Davis King
29eb15d743 moved remove_duplicates() from dlib::impl to dlib namespace. 2013-03-17 14:43:02 -04:00
Davis King
8ab309a894 Changed the verbose parallel_for() methods so that they only
print the final newline if any of the verbose messages printed.
2013-03-17 14:39:05 -04:00
Davis King
64afd2ec9b Made the console_progress_indicator::print_status() method return
a bool indicating if it actually printed anything.
2013-03-17 14:38:15 -04:00
Davis King
2bf68f2c43 Removed unneeded declarations of the constant pi 2013-03-17 14:37:32 -04:00
Davis King
6a8dfdaa05 updated docs 2013-03-17 14:01:57 -04:00
Davis King
9f530e06f7 Removed unneeded #include 2013-03-17 14:00:50 -04:00
Davis King
28e8f34df2 Made algs.h include numeric_constants.h since it adds essentially no overhead
to the compilation process but makes these convenient constants always
available.
2013-03-17 14:00:32 -04:00
Davis King
5f87abc269 fixed typo in docs 2013-03-17 13:42:26 -04:00
Davis King
4934f7b5ec updated docs 2013-03-17 13:40:46 -04:00