Commit Graph

2520 Commits

Author SHA1 Message Date
Davis King
18cc4fd28b updated docs with recent additions 2011-12-27 10:25:00 -05:00
Davis King
55013778ec Removed cruft 2011-12-27 09:25:55 -05:00
Davis King
f62235db7c changed code to avoid a compiler warning 2011-12-27 08:59:28 -05:00
Davis King
a44ae8747b Added more serialization tests for dlib::rand. 2011-12-27 08:58:13 -05:00
Davis King
419eebc81b Changed to avoid compiler error in visual studio 2005 2011-12-27 08:56:02 -05:00
Davis King
e4cd58aae5 updated docs 2011-12-26 22:13:56 -05:00
Davis King
e1b2928556 Fixed linker error. 2011-12-26 22:00:46 -05:00
Davis King
8808006cf2 updated examples 2011-12-26 21:43:07 -05:00
Davis King
bfa7d1d73e Added the setup_grid_detection_templates() routine. 2011-12-26 21:07:44 -05:00
Davis King
b4734976a2 Added determine_object_boxes() 2011-12-26 20:49:42 -05:00
Davis King
849fd0c252 Made the spec a little clearer. 2011-12-26 17:50:47 -05:00
Davis King
ffa0ae4cfb Made the randomly_sample_image_features() routine a little more general.
Also improved its spec.
2011-12-26 12:33:42 -05:00
Davis King
06dc489cc5 Added some more tests and also fixed the existing ones to work
given the recent changes to the object detection tools.
2011-12-26 12:23:10 -05:00
Davis King
c2ad96983c Added the setup_hashed_features() helper routine for configuring
a scan_image_pyramid when it is used with a hashed_feature_image
and projection_function.
2011-12-26 12:13:10 -05:00
Davis King
1fe548f32f Added some useful typedefs to this object. 2011-12-26 10:28:08 -05:00
Davis King
2dcc0253ac Added the randomly_sample_image_features() routine. 2011-12-26 10:17:18 -05:00
Davis King
63e17485c1 Fixed constness bug 2011-12-26 10:02:30 -05:00
Davis King
7a6ec2f162 Clarified spec 2011-12-26 10:02:08 -05:00
Davis King
2e98a785bc Removed constness from the operator() member functions of the object_detector
since they logically modify the state of the object detector now that
we are exposing the state of the underlying image scanner.
2011-12-26 09:34:24 -05:00
Davis King
bf0ed361d7 Refactored code into a cleaner form. 2011-12-26 09:27:31 -05:00
Davis King
1bb12d6a08 Made the object_detector's interface a little more complete and flexible. 2011-12-26 08:59:11 -05:00
Davis King
806c637259 Made this trainer automatically determine decent parameters
for the test_box_overlap object when it is used and the user
hasn't specifically assigned an overlap tester.
2011-12-26 00:11:17 -05:00
Davis King
9027f84ceb Fixed grammar 2011-12-25 23:14:03 -05:00
Davis King
c0d38e4d6d The word "overlap" was used to describe the concept of a rectangle
matching with a truth rectangle as well as overlap in the context of
non-max suppression of results.  Since these are two very separate
ideas I renamed some things to avoid any confusion.
2011-12-25 22:46:56 -05:00
Davis King
87366f5171 Refactored this object so it uses a hashing function supplied
by a template argument rather than its own method.  By default,
this object will use the projection_hash.
2011-12-25 14:21:37 -05:00
Davis King
cfd0c9941b Added asserts and filled out the spec files. 2011-12-25 13:27:12 -05:00
Davis King
5f19180473 Moved create_random_projection_hash() into its own file. 2011-12-25 12:14:17 -05:00
Davis King
320d56cea8 Added some basic locality sensitive hashing tools. 2011-12-25 11:36:53 -05:00
Davis King
3ebf0f2e3f Refined the scan_image_pyramid interface a little. In particular, I split the
get_feature_vector() method into two separate functions so the interface
is a little simpler and more flexible.
2011-12-24 18:39:35 -05:00
Davis King
578322dca2 Renamed a variable to make the code clearer. 2011-12-24 15:25:34 -05:00
Davis King
e57d4c28bc Improved an error message. 2011-12-24 15:23:05 -05:00
Davis King
ac83daec4a Made the test_box_overlap a little more flexible. This change breaks
backwards compatibility with the previous version though.
2011-12-24 15:12:30 -05:00
Davis King
8268c2fee7 Added an operator != to the file and directory objects. 2011-12-24 08:51:46 -05:00
Davis King
d53a37e770 Added another member function which enables you to get the detection
strengths from the object_detector.
2011-12-21 19:47:26 -05:00
Davis King
ca6bd2caa8 updated spec 2011-12-18 17:02:40 -05:00
Davis King
d6012c413b Added some simple normality tests for the new rand::get_random_gaussian() method. 2011-12-18 17:00:03 -05:00
Davis King
b436d840fb Added a function for generating Gaussian random numbers. 2011-12-18 16:51:56 -05:00
Davis King
83623fd800 updated version number 2011-12-17 12:24:29 -05:00
Davis King
1ecfd5bb5c Fixed a typo in the spec. 2011-12-15 20:51:02 -05:00
Davis King
331b2d753f Improved error messages from object detector. 2011-12-15 20:30:32 -05:00
Davis King
dcb8b6ff2a Changed code to avoid compiler warnings. Also added support for the
difficult, truncated, and occluded metadata fields of the pascal datasets.
2011-12-15 19:41:07 -05:00
Davis King
0ac4a54094 The object_detector had code in it which limited the number of outputs
to 100 rectangles.  This has been removed.
2011-12-15 18:26:29 -05:00
Davis King
7b591aba7a Made assign_image() and assign_image_scaled() capable of assigning to
matrices.
2011-12-13 19:04:17 -05:00
Davis King
d45a52ede7 merged 2011-12-13 18:06:07 -05:00
Davis King
acb1cdf2df changed code to avoid a compiler warning 2011-12-13 18:05:36 -05:00
Davis King
f1f9a018cf Fixed some comments. 2011-12-11 23:36:15 -05:00
Davis King
3ecacdccb6 updated docs 2011-12-11 17:41:47 -05:00
Davis King
3bcd9df592 made comment more clear 2011-12-11 17:29:47 -05:00
Davis King
dc4d537122 updated docs 2011-12-11 17:20:13 -05:00
Davis King
8ce84862a9 Added an example program for the new assignment learning tools. 2011-12-11 17:15:18 -05:00