Commit Graph

3797 Commits

Author SHA1 Message Date
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
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