Commit Graph

2529 Commits

Author SHA1 Message Date
Davis King 6c0f5980d3 Changed code a bit to make it run faster. 2011-12-29 15:42:08 -05:00
Davis King 6010de9b43 Removed unnecessary load() calls now that they aren't required. 2011-12-29 10:28:44 -05:00
Davis King 3f203cbcba Removed the requirement that an image be loaded before
calling get_best_matching_rect().
2011-12-29 10:28:03 -05:00
Davis King 04626317fb Made this object cache image scanner objects internally rather than
reconstruct them for each separation oracle call.
2011-12-29 09:37:27 -05:00
Davis King 46681570dd Made this code a little more efficient. 2011-12-29 09:31:51 -05:00
Davis King 70aaa13a5b Removed unnecessary requirement on get_block_rect() 2011-12-29 09:30:13 -05:00
Davis King 462c8c5cec updated release notes 2011-12-27 11:59:37 -05:00
Davis King 592c52b970 updated docs 2011-12-27 11:09:59 -05:00
Davis King 76277c881e Clarified comment. 2011-12-27 10:27:59 -05:00
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