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
Davis King
b4ba2fce4b
Fixed a bug which triggered when using variable length matrices
...
as the feature vector type.
2011-12-11 14:37:57 -05:00
Davis@potato-xp.localnet
560e5a4628
Changed code so it compiles in visual studio 2010
2011-12-11 13:42:32 -05:00
Davis King
d89d784a95
Just added a try/catch block around the whole program.
2011-12-10 11:41:43 -05:00
Davis King
cbcb80bfd2
Changed the add_probability() method of joint_probability_table so
...
it does a saturating add rather than a normal add. This ensures the
probability value stays exactly <= 1. Previously, floating point
rounding error could cause it to be slightly above 1 and would therefore
cause some asserts to misfire during debugging mode.
2011-12-10 11:38:05 -05:00
Davis King
10829e4d69
fixed some typos in assert messages
2011-12-10 10:19:34 -05:00
Davis King
87292660c7
Fixed a bug which caused the tests to fail if run more than once.
2011-12-09 23:51:52 -05:00
Davis King
0243b0050c
Changed code to avoid a compiler warning
2011-12-09 23:46:21 -05:00
Davis King
a80d9d57e2
updated docs
2011-12-09 22:42:33 -05:00
Davis King
14ae1d7656
Made the sequence trainer use the reject_labeling() information from
...
the feature extractor. Also added the necessary input validation
to make sure this feature doesn't get misused.
2011-12-08 20:04:39 -05:00
Davis King
1e1d7fc8a1
Added the contains_invalid_labeling() routine.
2011-12-08 19:51:21 -05:00
Davis King
ea26c37bad
Updated example to reflect relaxed feature extraction interface.
2011-12-07 23:12:40 -05:00
Davis King
0250dd00c5
Added unit tests for the assignment learning stuff
2011-12-07 23:05:38 -05:00
Davis King
44c79bcb91
Relaxed the requirements on the feature extractor interface and also
...
added some tests to make sure the code really does work with the
relaxed interface.
2011-12-07 23:03:47 -05:00
Davis King
6d48b166a2
Added methods to get the assignment by reference rather than returning
...
a copy by value.
2011-12-06 23:16:14 -05:00
Davis King
407e9aff8b
Clarified specs
2011-12-05 18:46:38 -05:00
Davis King
23ae045264
clarified docs
2011-12-05 18:09:06 -05:00
Davis King
794b9f1b5b
Clarified spec
2011-12-05 18:08:57 -05:00
Davis King
3757fc7374
Made the order of constructor arguments in the various overloads
...
for the assignment_function and sequence_labeler consistent.
2011-12-04 09:34:32 -05:00
Davis King
890d4e5394
updated docs
2011-12-04 09:21:44 -05:00
Davis King
e64b7e74fd
updated docs
2011-12-03 23:44:27 -05:00
Davis King
e61caca362
Filled out the spec and added the usual boilerplate for a trainer object.
2011-12-03 23:18:57 -05:00