Commit Graph

3909 Commits

Author SHA1 Message Date
Davis King b5a90e52fb Updated tests to work with current code 2013-08-06 21:25:07 -04:00
Davis King 36d5677a26 Updated example program to work best with the new code 2013-08-06 00:33:50 -04:00
Davis King 4b29dec604 Added use_relative_feature_weights() and use_uniform_feature_weights()
functions to make it easy to configure image scanners that use the hashed_feature_image.
2013-08-06 00:31:58 -04:00
Davis King 615b3cf6a0 Added an option to weight the features from a hashed_feature_image
relative to the number of times they occur in an image.  I also set
the new default behavior to use this relative weighting and changed
the serialization format to accommodate this.
2013-08-06 00:03:24 -04:00
Davis King 712c65779c Added get_feature_extractor() functions to the image scanners so the underlying
feature extractors can have their parameters queried.
2013-08-05 23:50:51 -04:00
Davis King a448b452da Removed cruft 2013-08-05 23:02:40 -04:00
Davis King a8acc89c76 Added --shuffle and --split options to imglab. Also added more outputs to --stats 2013-08-05 15:48:34 -04:00
Davis King de663ec21d Added the --stats option to imglab 2013-08-05 15:04:13 -04:00
Davis King e2350caed2 Made spec slightly clearer 2013-08-05 14:48:33 -04:00
Davis King c4a7f0c9ba Clarified the error message you get when an impossible set of object
boxes is detected.
2013-07-31 19:26:00 -04:00
Davis King 92a3c41010 Fixed a bug in the object_detector testing code that caused the average
precision values to be slightly wrong.
2013-07-31 19:24:42 -04:00
Davis King c0c1995d50 Clarified example 2013-07-27 02:49:50 +10:00
Davis King ed9f00ba98 Fully qualified the char_traits references to avoid name conflicts in
certain rare cases.
2013-07-26 07:54:12 +10:00
Davis King 1b23bb13e9 Updated comments in examples to account for recent code change. 2013-07-25 20:38:23 +10:00
Davis King c9ed8aa600 Changed object detector testing functions to output average precision
instead of mean average precision.
2013-07-25 20:37:36 +10:00
Davis King 3bfc361205 Fixed a bug in running_scalar_covariance that caused the covariance() and
correlation() methods to output the wrong answer if the covariance was
negative.
2013-07-17 18:51:30 -04:00
Davis King b9f45f37cb updated docs 2013-07-16 18:03:00 -04:00
Davis King df920f761e Changed unit test so it has the same behavior everywhere. Previously, since
the order of function argument evaluation is not defined, the test had slightly
different results on different systems which could cause the tests to falsely
indicate failure.
2013-07-16 17:45:44 -04:00
Davis King 131686f4ed Changed cmake file so python libraries have the correct extension on mac systems. 2013-07-15 22:58:43 -04:00
Davis King 56d6a8a4d4 fixed compile error in older gcc 2013-07-15 08:01:07 -04:00
Davis King 95aacdfdfb Improved the way the feature vector cache is used within the structural svm
solver.  This makes some things, such as the structural_object_detection_trainer,
significantly faster.
2013-07-14 10:10:14 -04:00
Davis King 06d1331c4d Fixed incorrect comment in example program. 2013-07-13 16:30:22 -04:00
Davis King da44aa6299 slightly simplified code 2013-07-12 20:26:28 -04:00
Davis King 2a3d7494e5 Made the integral image swappable 2013-07-12 20:26:18 -04:00
Davis King 5dace981d8 Updated matrix example to show how to print in csv format. 2013-07-08 22:19:44 -04:00
Davis King 1175623810 Added the csv io manipulator that lets you print a matrix in cvs format. 2013-07-08 22:19:17 -04:00
Davis King a97b5794d3 Another minor change for python 2.6 compatibility. 2013-07-08 21:33:49 -04:00
Davis King a6c9767e6b Minor change to made code work in python 2.6 2013-07-08 21:32:09 -04:00
Davis King 225e1c5ab0 Fixed typo in doc string 2013-07-07 23:24:14 -04:00
Davis King b0a8831cb8 Added python docstring 2013-07-07 21:36:07 -04:00
Davis King 59ad798d1a cleanup 2013-07-07 21:07:49 -04:00
Davis King 44fd6f4279 refined example 2013-07-07 17:43:04 -04:00
Davis King aa46752d89 updated example program 2013-07-07 16:37:18 -04:00
Davis King d134e2ec94 clarified docs 2013-07-07 14:59:54 -04:00
Davis King 71b3605d5c clarified spec 2013-07-07 14:59:42 -04:00
Davis King 1c50321904 Improved svm struct interface a little more. Fixed a bug and added
non-negative weight learning support.
2013-07-07 13:16:23 -04:00
Davis King cc9ff97a29 Cleaned up python svm struct code a little. 2013-07-07 12:28:31 -04:00
Davis King d0a054f15a Added a sphinx python API page. 2013-07-05 14:56:51 -04:00
Davis King 5f874ce93f updated ignore list 2013-07-05 14:33:46 -04:00
Davis King 9f50ab67fb Added more stuff to example 2013-07-02 22:53:07 -04:00
Davis King e1307b314b updated docs 2013-07-01 17:33:50 -04:00
Davis King 7f22ec06b8 Added order_by_descending_distance() 2013-07-01 17:31:21 -04:00
Davis King 2d034a58a0 Minor change to work with older versions of boost python. 2013-06-26 23:01:45 -04:00
Davis King 9bd149a65e updated docs 2013-06-26 22:45:29 -04:00
Davis King 89d96687a1 updated docs 2013-06-26 22:39:59 -04:00
Davis King 097b4eab22 Added initial version of structural svm python example program. 2013-06-26 22:34:29 -04:00
Davis King a0fe7efc8f Added initial version of structural svm python bindings 2013-06-26 22:34:00 -04:00
Davis King 421e5bcd6f Added a dot() and slicing support to dlib.vector() 2013-06-26 21:45:57 -04:00
Davis King 20ed7ebeb8 Added missing license statements to the tops of these files. 2013-06-26 18:37:42 -04:00
Davis King afe67a2bb0 Fixed typo in learn_platt_scaling(). The method wasn't using the exact prior
suggested by Platt's paper.
2013-06-23 14:58:51 -04:00