Commit Graph

4207 Commits

Author SHA1 Message Date
Davis King
6aec6888a0 Added get_frontal_face_detector() 2013-12-09 21:11:09 -05:00
Davis King
0cd7969147 Clarified spec 2013-12-08 10:51:21 -05:00
Davis King
da73e4bdd4 Changed requires clause slightly to increase usability. 2013-12-08 10:50:13 -05:00
Davis King
be31bd4779 updated docs 2013-12-08 10:47:36 -05:00
Davis King
03a34a69d1 Added threshold_filter_singular_values() 2013-12-08 10:46:51 -05:00
Davis King
30963435cc Made the spatial filtering functions always center their filters over the
output pixel exactly the same way as defined by centered_rect().
2013-12-07 11:52:07 -05:00
Davis King
4dd693e44c merged 2013-12-06 19:48:57 -05:00
Davis King
898d2e10c2 fixed some typos 2013-12-06 19:48:40 -05:00
Davis King
c8817fa93d Another minor thing to avoid warnings from visual studio. 2013-12-05 23:29:35 -05:00
Davis King
ce597d35cb Added missing #include (needed only to avoid gcc warnings) 2013-12-04 21:07:18 -05:00
Davis King
8e80150f00 Minor changes to avoid conflicts and warnings in visual studio. 2013-12-04 18:34:45 -05:00
Davis King
56d69eeed1 Just removed some typedefs because they cause name conflicts in
visual studio 2010.  So I just replaced the uses of the typedef
with the actual type.
2013-12-04 18:30:08 -05:00
Davis King
fa25ae783a Just removed unused variable names to avoid warnings from gcc. 2013-12-03 22:51:11 -05:00
Davis King
c2ff0cf81c Added a copy of libpng and zlib that will be statically compiled in
if no dynamic version of these libraries are installed on the system.
2013-12-03 22:44:47 -05:00
Davis King
7cd5f66492 Added a copy of libjpeg so that it can be statically compiled in when
cmake can't find a copy to dynamically link to.  This is especially
useful on windows where cmake never finds libjpeg.
2013-12-03 22:24:14 -05:00
Davis King
481c85b213 Made the SIMD code automatically pick which kind of instructions to use when compiled
in visual studio based on the setting of the /arch compiler option.
2013-12-01 17:17:50 -05:00
Davis King
7e7943cd37 Made all the simd functions explicitly inline because otherwise visual studio 2010
won't inline them.
2013-12-01 16:27:14 -05:00
Davis King
f2cc77aa11 Added convenience overloads of pyramid_up() that work in place. 2013-12-01 15:55:48 -05:00
Davis King
13058b1bb6 updated docs 2013-12-01 15:22:31 -05:00
Davis King
55ee9dbaba Added flip_image_dataset_left_right(), upsample_image_dataset(), and
rotate_image_dataset().
2013-12-01 15:15:14 -05:00
davis@potato.localnet
c1b71795b5 Some minor changes to avoid compiler errors in cygwin. 2013-12-01 13:52:50 -05:00
Davis King
1cf740156d Added --flip to imglab 2013-11-29 22:35:52 -05:00
Davis King
40f30aade2 Made directory implicitly convertible to string. 2013-11-29 22:35:28 -05:00
Davis King
520b7c30db Made dlib::file implicitly convertible to std::string. 2013-11-29 18:21:52 -05:00
Davis King
454c2ea121 updated docs 2013-11-29 17:25:09 -05:00
Davis King
ef56ef22e8 updated docs 2013-11-29 17:12:43 -05:00
Davis King
29381bcccb Updated find_max_factor_graph_nmplp() to use the version of the algorithm from
the 2011 paper Introduction to dual decomposition for inference by David
Sontag, Amir Globerson, and Tommi Jaakkola since the original 2008 paper had an
error in the algorithm that negatively effected its convergence.  Thanks to
James Gunning for pointing this out.
2013-11-29 17:05:38 -05:00
Davis King
251196c34a Minor changes to avoid compiler errors in visual studio 2013 2013-11-28 02:51:00 -05:00
Davis King
1b0ecb94aa Fixed a bug in the average precision calculation when ignore boxes were used. 2013-11-23 20:07:13 -05:00
Davis King
363d505c10 Simplified code slightly. 2013-11-23 19:55:44 -05:00
Davis King
77f6c9f27e Made num_separable_filters() work with multi-filter object detectors. 2013-11-23 19:34:04 -05:00
Davis King
d02e647275 Slightly changed code to reduce the number of memory allocations
made during object detection.
2013-11-23 15:48:02 -05:00
Davis King
8e3181909d Added float_spatially_filter_image_separable() to the public API. 2013-11-23 15:47:32 -05:00
Davis King
9d3e40a6d5 Added support for ignore rectangles into the object detection testing functions. I also
changed the interfaces to these functions slightly.  Instead of taking a double that
determines how we decide if boxes match, they now take a test_box_overlap object.
2013-11-23 14:20:47 -05:00
Davis King
f53da5ed6b updated docs 2013-11-23 11:52:46 -05:00
Davis King
11e574ff97 Set a default value for the second argument of test_box_overlap's constructor.
Also added overlaps_any_box().
2013-11-23 11:49:45 -05:00
Davis King
5d264ae5cd Changed the default parameters of the test_box_overlap object. Now it
defaults to using exactly the PASCAL VOC match criterion.
2013-11-22 20:07:12 -05:00
Davis King
afc756ff88 A minor change to avoid compiler warnings. 2013-11-22 19:05:52 -05:00
Davis King
48413ae845 Updated about window text for imglab. 2013-11-22 18:45:06 -05:00
Davis King
277e13dfa7 Added an overload of add_image_left_right_flips() that can take two sets of
rectangles instead of just one.
2013-11-21 23:20:23 -05:00
Davis King
8b95426015 Added the option to tell the optimizer there are "ignorable" rectangles
in each image.
2013-11-21 23:14:18 -05:00
Davis King
1df8c4412d Upgraded load_image_dataset() so that it returns the list of ignored
rectangles.
2013-11-21 22:15:36 -05:00
Davis King
647285e808 Updated imglab so it loads and stores the new ignore option from the gui
to/from the xml files.
2013-11-21 20:40:12 -05:00
Davis King
e11666b4e5 Added an ignore option to the image dataset metadata file format. 2013-11-21 20:39:12 -05:00
Davis King
e3818c4e12 Added the option to draw crossed out rectangles onto the image_display widget. 2013-11-21 20:38:45 -05:00
Davis King
edeb4f86ce Made the multiclass SVM work with label types other than basic integers and floats. 2013-11-21 19:45:17 -05:00
Davis King
967b521512 Upgraded the object_detector. Now it can store multiple weight vectors and hence
multiple object detectors.
2013-11-20 20:29:26 -05:00
Davis King
8194f4ab49 Fixed off by one bug in resize_image() 2013-11-19 23:57:41 -05:00
Davis King
be6a1be494 removed cruft 2013-11-18 21:39:58 -05:00
Davis King
f2139b5000 Changed code a bit so that the scan_fhog_pyramid can avoid constructing
the fhog_filterbank each time the detector executes.
2013-11-18 21:05:40 -05:00