Commit Graph

3583 Commits

Author SHA1 Message Date
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
Davis King e66d588cd7 Removed the max_n feature from the running_stats object since it's actually
been broken for a while and I doubt anyone ever used it (this also simplifies
it's interface).  Note that this change, along with the previous change by
Steven breaks backwards compatibility with the previous serialization format
for running_stats object.
2013-03-17 13:38:25 -04:00
Steve Taylor a75645b1af Added a numerical constants file numeric_constants.h. Expanded the
running_stats object in statistics.h by including two functions that
compute the unbiased empirical skewness and kurtosis of a set
of real numbers.  Added unit tests for these functions in statistics.cpp.
2013-03-17 13:32:30 -04:00
Davis King 40bab842bf Added code to avoid a potential division by zero 2013-03-15 20:37:08 -04:00
Davis King 5977b0b8e8 updated docs 2013-03-14 21:36:03 -04:00
Davis King 0cb100d357 Made graph_utils_threaded.h #include graph_utils.h 2013-03-14 21:33:32 -04:00
Davis King e2c8b3306c updated docs 2013-03-14 21:24:46 -04:00
Davis King 392ac2e6bd fixed typo in spec 2013-03-14 21:23:41 -04:00
Davis King 3401325107 Added unit tests for the find_k_nearest_neighbors_lsh() method
and related tools.
2013-03-14 21:10:08 -04:00
Davis King 5cee2563a3 A minor change to avoid a compiler warning from clang 2013-03-14 21:09:35 -04:00
Davis King 1153e05622 removed cruft 2013-03-14 21:05:17 -04:00
Davis King 9d055a4e87 Added find_k_nearest_neighbors_lsh() and hash_samples() 2013-03-14 20:36:48 -04:00
Davis King 4e96485601 Added a set of new LSH based hashing functions meant for use
with larger vectors and high bit sizes than the current LSH tool.
These are the new hash_similar_angles_xxx objects.
2013-03-14 20:01:30 -04:00
Davis King 6f5ef4c089 Added initial version of find_candidate_object_locations() 2013-03-13 21:18:00 -04:00
Davis King aa6468c557 Added missing #include 2013-03-13 18:11:18 -04:00
Davis King c79a34b230 Added database::last_insert_rowid() 2013-03-12 18:39:13 -04:00
Davis King 1290790682 This doesn't change the behavior of segment_image(). I just refactored it to
avoid duplicate code and generally cleaned things up a little.
2013-03-09 09:07:36 -05:00
Davis King 20eb9c3540 Made the console output from the verbose parallel for routines
a little nicer.
2013-03-04 18:59:44 -05:00
Davis King 47dbdfdf5f Created release v18.1 2013-03-03 18:59:58 -05:00
Davis King ae548726dd Added tag v18.1 for changeset 8d0762ab49b9 2013-03-03 18:59:57 -05:00
Davis King 06fc96b920 updated release notes 2013-03-03 18:38:31 -05:00
Davis King a97a2c90f2 simplified SURF example program 2013-03-03 17:25:10 -05:00
Davis King 9160565fc9 updated docs 2013-03-03 17:19:46 -05:00
Davis King bd6c145b1a Added draw_surf_points(). 2013-03-03 17:16:05 -05:00
Davis King 1cab1fae44 Set a default value for the max number of points argument for get_surf_points(). 2013-03-03 16:49:19 -05:00
Davis King 26639d629b minor change to avoid compiler warning 2013-03-03 16:33:35 -05:00
Davis King 4cb7f7af8f removed unused variable 2013-03-03 16:28:10 -05:00
Davis King 94d1e7874f Changed code slightly to avoid a bug in gcc 4.1.2 2013-03-03 16:27:49 -05:00