Commit Graph

4528 Commits

Author SHA1 Message Date
Davis King
c75bbc7dda Added a version of poly_min_extrap() that uses a 2nd degree model. 2013-09-14 16:42:14 -04:00
Davis King
aaeb52ba2d Updated the interface to allow the user to set different loss values for
false alarming vs getting a correct detection.
2013-09-13 22:41:53 -04:00
Davis King
1de36ea271 updated piwik tracker code 2013-09-12 18:33:40 -04:00
Davis King
47dbb7b8cd removed unneeded #includes 2013-09-10 19:35:55 -04:00
Davis King
2f8a06d531 Made HTTP server parsing work when a query like "GET /" comes in that
is missing the HTTP/1.1 version field.
2013-09-09 17:47:50 -04:00
Davis King
f67cc88394 Made the structural svm solver use its cache elements to try and mitigate the
errors made by an approximate separation oracle.  In particular, the solver
will now check the output of the separation oracle against the cache and if the
cache gives a better value, even when we would otherwise not use the cache, the
cache value is used.  Similarly, we can output the truth psi vector to avoid
outputting a psi with a negative risk.  All this stuff only happens when the
cache is enabled, if its disabled then the outputs of the separation oracle are
used without any kind of modification.
2013-09-08 17:57:29 -04:00
Davis King
0a28845626 Cleaned up the scan_image_pyramid code a little and also made its estimation of
which detection template generated a detection slightly more accurate.
2013-09-08 16:52:00 -04:00
Davis King
e0b47315e7 Minor code cleanup and error message improvement. 2013-09-06 11:06:00 -04:00
Davis King
e5752c34fd Slightly changed make_potts_grid_problem() so that it allows the user to give
two images with different pixel types rather than requiring the images to have
the same pixel types.
2013-09-06 09:53:25 -04:00
Davis King
8fb7aa5ce8 Improved determine_object_boxes(). It will now avoid selecting object boxes
that redundant with detection templates already in a scanner object.
2013-09-05 16:23:41 -04:00
Davis King
8e7133d6db Removed old and unneeded ::kernel_2a typedef references. 2013-09-05 15:49:34 -04:00
Davis King
82188a3d7e Tweaked the cutting plane cache threshold test slightly. This method
reduces the separation oracle calls by about 10%.
2013-09-01 21:47:28 -04:00
Davis King
377f330907 Removed cmake statement that is no longer needed. 2013-09-01 13:17:45 -04:00
Davis King
6fc0d8f608 Moved python C++ utility headers into dlib/python and updated
#include statements to reflect this move.

--HG--
rename : tools/python/src/boost_python_utils.h => dlib/python/boost_python_utils.h
rename : tools/python/src/pyassert.h => dlib/python/pyassert.h
rename : tools/python/src/serialize_pickle.h => dlib/python/serialize_pickle.h
2013-09-01 13:15:04 -04:00
Davis King
0eb8296872 Added missing #include and inclusion guard 2013-09-01 13:05:29 -04:00
Davis King
8da213ccc2 Made len() work on dlib.range objects. 2013-09-01 13:03:33 -04:00
Davis King
10caab26a3 Updated projection_hash creation functions to allow user to supply
the random number generator that gets used.
2013-09-01 12:55:12 -04:00
Davis King
97d6125f0b Made the PNG loader able to load in grayscale images with an alpha channel. 2013-09-01 12:42:19 -04:00
Davis King
f2a52a47e0 Changed structural SVM solver to only disable the cache after two successive
iterations of apparent convergence since this results in fewer separation
oracle calls overall.
2013-08-24 08:21:56 -04:00
Davis King
78050870ca updated docs 2013-08-23 09:53:38 -04:00
Davis King
cab12bb195 Added add_image_left_right_flips() 2013-08-23 09:36:28 -04:00
Davis King
dc907c334c updated docs 2013-08-23 07:16:31 -04:00
Davis King
138be05dda Added split_array() 2013-08-23 07:11:09 -04:00
Davis King
98d7a8bf06 Changed python cmake file to work with older versions of boost. 2013-08-20 19:57:12 -04:00
Davis King
95324c12fa Minor code cleanup 2013-08-18 16:36:38 -04:00
Davis King
2f6419cd59 Added remove_unobtainable_rectangles() for the scan_image_custom scanner. 2013-08-18 15:37:05 -04:00
Davis King
7da29fb98b updated docs 2013-08-17 22:17:15 -04:00
Davis King
09b4ec67eb Added scan_image_custom 2013-08-17 22:02:13 -04:00
Davis King
cf7e70769a clarified specs 2013-08-17 22:00:42 -04:00
Davis King
a63e76d718 Fixed typos in some error message strings. 2013-08-17 19:31:22 -04:00
Davis King
ff8191f38e Slightly relaxed the tolerance on the test that the user supplied
feature extraction is correctly programmed to avoid false alarms.
2013-08-17 17:09:41 -04:00
Davis King
013eb467d1 Changed macro so it can be placed inside a class as well as at global scope
and in headers.
2013-08-17 16:42:53 -04:00
Davis King
c1545996b3 updated docs 2013-08-17 16:30:39 -04:00
Davis King
8b65624019 Added the DLIB_MAKE_HAS_MEMBER_FUNCTION_TEST() macro and switched some
code over to use it.
2013-08-17 16:26:22 -04:00
Davis King
08f716538f Made it so that the python example programs are run, just to make sure they
work, before the makerel script is allowed to complete.
2013-08-17 10:35:35 -04:00
Davis King
3d728cc95b merged 2013-08-17 09:45:43 -04:00
Davis King
ee07bbe00b removed cruft 2013-08-17 09:45:16 -04:00
Davis King
b56667d3c3 updated docs 2013-08-14 21:27:43 -04:00
Davis King
e16a3a3f0a improved makedocs script 2013-08-14 21:23:16 -04:00
Davis King
6a5a3431e6 merged 2013-08-14 21:06:20 -04:00
Davis King
9d6386ad99 Fixed a bug in the sequence_segmenter which could cause it to output detected
sequences that go slightly beyond the end of the input sequence.
2013-08-14 21:05:29 -04:00
Davis King
3bcfddc004 Created release v18.4 2013-08-11 21:49:30 -04:00
Davis King
e183a6a127 Added tag v18.4 for changeset 78be73b57b82 2013-08-11 21:49:30 -04:00
Davis King
0a5d62d85c Made makedocs recompile the python interface so sphinx can always use the current stuff. 2013-08-11 21:48:18 -04:00
Davis King
9e41955cf5 Minor change to avoid doing unnecessary computations in certain cases. 2013-08-11 13:21:12 -04:00
Davis King
d9f38e986a Minor changes to avoid warnings in visual studio 2005 2013-08-10 09:21:42 -04:00
Davis King
c72f709bbc Fixed incorrect type used for iterator in example program. 2013-08-10 09:21:01 -04:00
Davis King
2a56ca8d33 updated release notes 2013-08-09 12:51:05 -04:00
Davis King
0d110bc40e updated docs 2013-08-09 12:48:13 -04:00
Davis King
299b0051d6 cleaned up main page a little 2013-08-09 12:43:34 -04:00