Commit Graph

5170 Commits

Author SHA1 Message Date
jimreesman 0b3cc3c4a1 add import of get_config_var 2016-02-11 11:32:47 -05:00
jimreesman 6411b5f65d detect OS X, and query sysconfig for libdir 2016-02-11 10:17:13 -05:00
Davis King c9090bfdfb updated docs 2016-02-06 19:05:25 -05:00
Davis King 2b7b4649e2 Added probability_gradient_greater_than() and probability_gradient_less_than()
global functions.
2016-02-06 18:59:12 -05:00
Davis King 16d4d5d8bd Added serialization support for std::deque. 2016-02-06 18:53:10 -05:00
Davis King a3dad7aca6 fixed compiler warnings in old gcc 2016-02-05 15:40:52 -05:00
Davis King 6b064d3584 Made the python __version__ field come from the DLIB_VERSION macro set by
CMake.
2016-02-03 08:32:59 -05:00
Davis King fcf80e1dd0 merged 2016-02-03 08:24:37 -05:00
Davis King 96e9129105 Made the python build get a DLIB_VERSION macro defined. Also cleaned up cmake
a little bit.
2016-02-03 08:24:11 -05:00
Davis E. King 66d11e8910 Merge pull request #73 from patricksnape/drectangle_equality
Drectangle equality
2016-02-03 08:22:40 -05:00
Patrick Snape 86e93291a0 Add __version__ to dlib module
Only issue is that the strong is hardcoded - otherwise
this is actually technically required by PEP 396
2016-02-03 10:59:04 +00:00
Patrick Snape d7cac78757 Allow serilization and printing of shape_predictor_training_options
Add a simple print and serialization scheme for
shape_predictor_training_options. This enables you to serialize
your training options.
2016-02-03 10:58:21 +00:00
Patrick Snape ad882c4a31 Propagate equality operators through to Python
Easy change to allow comparisons on the Python side for
both rectangle and drectangle
2016-02-03 10:57:39 +00:00
Patrick Snape ca568f54da Add equality to drectangle
This is in the main dlib source code (rather than specifically
Python). Equality operators were missing for drectangles and
so were copied from rectangle.
2016-02-03 10:56:59 +00:00
Davis King b6b62fa2b1 Made cmake avoid using the Intel MKL when building mex files since it will
often create a conflict with MATLAB's copy of the MKL.
2016-01-29 15:22:41 -05:00
Davis King c029600a26 Added more Intel MKL search paths 2016-01-29 10:44:14 -05:00
Davis King 060cdd092f Added struct support to matlab to C++ API 2016-01-28 10:38:58 -05:00
Davis King 27274c17d9 updated docs 2016-01-23 19:46:31 -05:00
Davis King 3ca91aae81 Added unserialize. 2016-01-23 19:42:48 -05:00
Davis King 316099a93f Made the search for the installed matlab a little more robust. 2016-01-22 12:25:47 -05:00
Davis E. King e0995a6740 Merge pull request #71 from paulinus/handle-no-encoding
Decode message only if encoding is known
2016-01-20 06:15:44 -05:00
Pau Gargallo 05e2471555 Decode message only if encoding is known
When python does not know the encoding of stdout, sys.stdout.encoding
is None.  Then calling decode(None) raises an exception.  We just
skip decoding when the encoding is unknown.
2016-01-20 12:06:17 +01:00
Davis King c8c55a8961 updated release notes 2016-01-17 12:50:21 -05:00
Davis King 373bc75f45 Added cpp11 tag to the docs and also updated them to include the new
running_gradient object.
2016-01-17 12:45:00 -05:00
Davis King 732ddefdd2 Removed link to dlib/all/source.cpp since it seems to confuse some users. 2016-01-17 12:17:58 -05:00
Davis King eee0d295c3 Improved error message you get about linking to libjpeg and libpng
if you try to open a jpeg or png file.
2016-01-17 12:06:53 -05:00
Davis King da6e48071c Added some preprocessor stuff to check if the user is #including
dlib/all/source.cpp into their own .cpp files.  If so they will get a useful
error message.
2016-01-17 11:54:31 -05:00
Davis King 12d9d257f2 Put guards around some GCC specific #pragma statements to avoid warnings in
visual studio.
2016-01-16 09:01:22 -05:00
Davis E. King e1ff23fdb5 Merge pull request #68 from yukoba/patch-1
sys.stdout.encoding instead of latin-1 in setup.py
2016-01-14 18:56:27 -05:00
Davis E. King 80e6443d83 Merge pull request #69 from severin-lemaignan/auto-ptr-guards
Add pragma guards around deprecated auto_ptr to prevent GCC warnings
2016-01-14 18:47:23 -05:00
Séverin Lemaignan d873810ee4 Add pragma guards around deprecated auto_ptr to prevent GCC warnings
Fixes #67
2016-01-14 13:18:15 +00:00
Yu Kobayashi d35104ed3c sys.stdout.encoding instead of latin-1 in setup.py
Please use sys.stdout.encoding instead of latin-1 in setup.py.
This is necessary for non English OS.
2016-01-14 11:07:18 +09:00
Davis King 6bd5c2e395 Made cmake use the built in find X11 scripts by default on OS X. 2016-01-10 18:31:49 -05:00
Davis King 63734971a0 Fixed compile time error I just introduced 2016-01-08 18:23:58 -05:00
Davis King ab2cd12915 Made running_gradient serializable. 2016-01-08 18:15:15 -05:00
Davis King 5435c56d8c merged 2016-01-07 18:25:45 -05:00
Davis King d73f58ae1c Added running_gradient 2016-01-07 18:24:49 -05:00
Davis King 6a64180200 Minor cleanup 2016-01-02 17:16:42 -05:00
Davis King 347ee396ba fixed tabbing 2015-11-03 18:31:09 -05:00
Davis E. King 27dd8f6b0a Merge pull request #54 from vrichter/master
Change relative path of configure files in CMakeLists.
2015-11-03 18:27:23 -05:00
Viktor Richter b1dab227dc Change relative path of configure files in CMakeLists.
Using CMAKE_PROJECT_DIR instead of CMAKE_SOURCE_DIR/../dlib
makes the build process more portable.
2015-11-03 14:44:30 +01:00
Davis King 8fcf1a5fda Record last changeset and set PATCH version to 99 2015-10-28 20:27:41 -04:00
Davis King 6124442f86 Created release v18.18 2015-10-28 20:25:59 -04:00
Davis King 8badddce46 Added tag v18.18 for changeset 7ae1775f61a4 2015-10-28 20:25:59 -04:00
Davis King eacfe67b2d updated docs 2015-10-28 08:39:22 -04:00
Davis King d4f5e24587 Fixed formatting 2015-10-27 19:52:00 -04:00
Davis King eca57b467c Fixed README path 2015-10-27 18:29:05 -04:00
Davis King 577f22d51c updated scripts to deal with new README location 2015-10-27 18:21:44 -04:00
Davis King 3110bcfe8d Removed readme since the top level one is a better place to put this information. 2015-10-27 18:15:47 -04:00
Davis King 5ba3c96eb6 updated README 2015-10-27 18:14:33 -04:00