Created release v19.18
dlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Add an option to force static runtime (#1847)
.../tell_visual_studio_to_use_static_runtime.cmake | 41 ++++++++++++---------- 1 file changed, 22 insertions(+), 19 deletions(-)
Clear truth_idxs between samples (#1870)
dlib/dnn/loss.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
add loss_mean_squared_per_channel (#1863)
dlib/dnn/loss.h | 144 ++++++++++++++++++++++++++++++++++++++++++++++- dlib/dnn/loss_abstract.h | 63 ++++++++++++++++++++- dlib/test/dnn.cpp | 61 ++++++++++++++++++++ 3 files changed, 266 insertions(+), 2 deletions(-)
dpoint mutates x-coord in y-property (see #1794) (#1866)
tools/python/src/vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
don't cast away constness (#1865)
dlib/image_processing/generic_image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Simplified the device_global_buffer() code and API.
dlib/cuda/cuda_data_ptr.cpp | 50 ++++++++++++++++++++---- dlib/cuda/cuda_data_ptr.h | 93 +++++++++++++++++++++++++++------------------ dlib/cuda/cuda_dlib.h | 4 +- dlib/cuda/cudnn_dlibapi.cpp | 9 ++--- dlib/cuda/cudnn_dlibapi.h | 1 - 5 files changed, 101 insertions(+), 56 deletions(-)
Fix #1849 by calling device_global_buffer() unconditionally (#1862)
dlib/cuda/cuda_dlib.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
Const-correct a LAPACK declaration and add aarch64 as a 64-bit architecture (#1859)
dlib/matrix/lapack/fortran_id.h | 2 +- dlib/matrix/lapack/syevr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
pybind11: cmake: ignore the check between host-python and cross-compiler (#1848)
.../pybind11/tools/FindPythonLibsNew.cmake | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-)
Fix the CMake BUILDING_PYTHON_IN_MSVC variable not getting picked up where it should.
dlib/cmake_utils/find_libjpeg.cmake | 6 ++++++ dlib/cmake_utils/find_libpng.cmake | 6 ++++++ 2 files changed, 12 insertions(+)
fixing grammar
examples/matrix_ex.cpp | 4 ++-- examples/matrix_expressions_ex.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Fixed cmake warning
tools/python/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)
fixed typo in docs
dlib/lsh/hashes_abstract.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Added missing include
dlib/optimization/isotonic_regression.h | 1 + 1 file changed, 1 insertion(+)
Fixed grammar in comments
dlib/optimization/isotonic_regression.h | 2 +- dlib/optimization/isotonic_regression_abstract.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Fixed incorrect return type
dlib/image_processing/shape_predictor_trainer.h | 2 +- dlib/image_processing/shape_predictor_trainer_abstract.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Push all include and link options needed for dlib to pkg-config. We do this by getting them from the same list cmake uses.
dlib/CMakeLists.txt | 12 ++++++++---- dlib/cmake_utils/dlib.pc.in | 5 ++--- 2 files changed, 10 insertions(+), 7 deletions(-)
Fix setting a point's y coordinate changes x instead (Python bindings) (#1795)
tools/python/src/vector.cpp | 2 +- tools/python/test/test_point.py | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
Added methods for getting keyboard and mouse clicks to image_window's pyhton API.
tools/python/src/gui.cpp | 163 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 162 insertions(+), 1 deletion(-)
Add input_grayscale_image_pyramid, issue #354 (#1761)
dlib/dnn/input.h | 291 ++++++++++++++++++++++++++++++++-------------- dlib/dnn/input_abstract.h | 149 ++++++++++++++++++++++++ 2 files changed, 354 insertions(+), 86 deletions(-)
Stop building parts of libjpeg we don't need.
dlib/CMakeLists.txt | 20 -------------------- 1 file changed, 20 deletions(-)
Disable use of non-memory based backing store in libjpeg. This fixes libjpeg not being able to open some types of jpeg file.
dlib/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-)
Adds a comprehensive error message when jpeg loading fails.
dlib/image_loader/jpeg_loader.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Feature/upgrade libjpeg (#1769)
dlib/CMakeLists.txt | 110 +- dlib/external/libjpeg/README | 736 ++- dlib/external/libjpeg/cderror.h | 134 + dlib/external/libjpeg/cdjpeg.h | 187 + dlib/external/libjpeg/jaricom.c | 153 + dlib/external/libjpeg/{jcapimin.cpp => jcapimin.c} | 568 +-- dlib/external/libjpeg/{jcapistd.cpp => jcapistd.c} | 322 +- dlib/external/libjpeg/jcarith.c | 937 ++++ dlib/external/libjpeg/{jccoefct.cpp => jccoefct.c} | 903 ++-- dlib/external/libjpeg/{jccolor.cpp => jccolor.c} | 949 ++-- dlib/external/libjpeg/{jcdctmgr.cpp => jcdctmgr.c} | 869 ++-- dlib/external/libjpeg/jchuff.c | 1576 ++++++ dlib/external/libjpeg/jchuff.cpp | 909 ---- dlib/external/libjpeg/jchuff.h | 47 - dlib/external/libjpeg/{jcinit.cpp => jcinit.c} | 137 +- dlib/external/libjpeg/{jcmainct.cpp => jcmainct.c} | 586 +-- dlib/external/libjpeg/{jcmarker.cpp => jcmarker.c} | 1346 ++--- dlib/external/libjpeg/{jcmaster.cpp => jcmaster.c} | 1448 +++--- dlib/external/libjpeg/{jcomapi.cpp => jcomapi.c} | 212 +- dlib/external/libjpeg/jconfig.h | 88 +- dlib/external/libjpeg/{jcparam.cpp => jcparam.c} | 1242 ++--- dlib/external/libjpeg/jcphuff.cpp | 833 ---- dlib/external/libjpeg/{jcprepct.cpp => jcprepct.c} | 712 +-- dlib/external/libjpeg/{jcsample.cpp => jcsample.c} | 1064 ++-- dlib/external/libjpeg/jctrans.c | 382 ++ dlib/external/libjpeg/{jdapimin.cpp => jdapimin.c} | 791 +-- dlib/external/libjpeg/{jdapistd.cpp => jdapistd.c} | 550 +-- dlib/external/libjpeg/jdarith.c | 776 +++ dlib/external/libjpeg/{jdatadst.cpp => jdatadst.c} | 418 +- dlib/external/libjpeg/{jdatasrc.cpp => jdatasrc.c} | 487 +- dlib/external/libjpeg/{jdcoefct.cpp => jdcoefct.c} | 1477 +++--- dlib/external/libjpeg/{jdcolor.cpp => jdcolor.c} | 908 ++-- dlib/external/libjpeg/jdct.h | 569 ++- dlib/external/libjpeg/{jddctmgr.cpp => jddctmgr.c} | 653 ++- dlib/external/libjpeg/jdhuff.c | 1541 ++++++ dlib/external/libjpeg/jdhuff.cpp | 654 --- dlib/external/libjpeg/jdhuff.h | 201 - dlib/external/libjpeg/jdinput.c | 661 +++ dlib/external/libjpeg/jdinput.cpp | 381 -- dlib/external/libjpeg/{jdmainct.cpp => jdmainct.c} | 1024 ++-- dlib/external/libjpeg/{jdmarker.cpp => jdmarker.c} | 2766 +++++------ dlib/external/libjpeg/{jdmaster.cpp => jdmaster.c} | 1088 ++--- dlib/external/libjpeg/{jdmerge.cpp => jdmerge.c} | 800 +-- dlib/external/libjpeg/jdphuff.cpp | 671 --- dlib/external/libjpeg/{jdpostct.cpp => jdpostct.c} | 580 +-- dlib/external/libjpeg/{jdsample.cpp => jdsample.c} | 839 ++-- dlib/external/libjpeg/jdtrans.c | 140 + dlib/external/libjpeg/{jerror.cpp => jerror.c} | 504 +- dlib/external/libjpeg/jerror.h | 595 +-- dlib/external/libjpeg/{jfdctflt.cpp => jfdctflt.c} | 342 +- dlib/external/libjpeg/{jfdctfst.cpp => jfdctfst.c} | 454 +- dlib/external/libjpeg/jfdctint.c | 4348 +++++++++++++++++ dlib/external/libjpeg/jfdctint.cpp | 283 -- dlib/external/libjpeg/{jidctflt.cpp => jidctflt.c} | 477 +- dlib/external/libjpeg/{jidctfst.cpp => jidctfst.c} | 736 +-- dlib/external/libjpeg/jidctint.c | 5137 ++++++++++++++++++++ dlib/external/libjpeg/jidctint.cpp | 389 -- dlib/external/libjpeg/jidctred.cpp | 398 -- dlib/external/libjpeg/jinclude.h | 182 +- dlib/external/libjpeg/jmemansi.c | 167 + dlib/external/libjpeg/{jmemmgr.cpp => jmemmgr.c} | 2237 ++++----- dlib/external/libjpeg/jmemname.c | 276 ++ dlib/external/libjpeg/{jmemnobs.cpp => jmemnobs.c} | 218 +- dlib/external/libjpeg/jmemsys.h | 396 +- dlib/external/libjpeg/jmorecfg.h | 725 +-- dlib/external/libjpeg/jpegint.h | 818 ++-- dlib/external/libjpeg/jpeglib.h | 2256 ++++----- dlib/external/libjpeg/jpegtran.c | 560 +++ dlib/external/libjpeg/{jquant1.cpp => jquant1.c} | 1713 +++---- dlib/external/libjpeg/{jquant2.cpp => jquant2.c} | 2621 +++++----- dlib/external/libjpeg/{jutils.cpp => jutils.c} | 406 +- dlib/external/libjpeg/jversion.h | 28 +- dlib/external/libjpeg/makefile.dj | 227 + dlib/external/libjpeg/rdbmp.c | 480 ++ dlib/external/libjpeg/rdcolmap.c | 253 + dlib/external/libjpeg/rdgif.c | 38 + dlib/external/libjpeg/rdjpgcom.c | 515 ++ dlib/external/libjpeg/rdppm.c | 459 ++ dlib/external/libjpeg/rdrle.c | 387 ++ dlib/external/libjpeg/rdswitch.c | 365 ++ dlib/external/libjpeg/rdtarga.c | 500 ++ dlib/external/libjpeg/readme.dos | 15 + dlib/external/libjpeg/transupp.c | 1597 ++++++ dlib/external/libjpeg/transupp.h | 213 + dlib/external/libjpeg/wrbmp.c | 442 ++ dlib/external/libjpeg/wrgif.c | 399 ++ dlib/external/libjpeg/wrjpgcom.c | 583 +++ dlib/external/libjpeg/wrppm.c | 269 + dlib/external/libjpeg/wrrle.c | 305 ++ dlib/external/libjpeg/wrtarga.c | 253 + dlib/image_loader/jpeg_loader.cpp | 60 +- dlib/image_loader/jpeg_loader.h | 17 +- dlib/image_loader/jpeg_loader_abstract.h | 29 + 93 files changed, 44418 insertions(+), 23679 deletions(-)
iEnsures DLIB_FALLTHROUGH macro is only set for GCC>=7 (#1770)
dlib/general_hash/murmur_hash3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Even more warning silencing (#1766)
dlib/dnn/layers.h | 12 ++++++------ dlib/dnn/utilities.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)
more pedantic silencing (#1763)
dlib/dnn/layers.h | 3 +-- dlib/image_loader/load_image.h | 2 +- dlib/image_processing/scan_image_custom.h | 2 +- dlib/svm/sequence_labeler.h | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-)
fix some pedantic warnings (#1756)
.../global_optimization/global_function_search.cpp | 1 - dlib/matrix/matrix_math_functions.h | 58 +++++++++++----------- 2 files changed, 29 insertions(+), 30 deletions(-)
Make things work in visual studio.
dlib/general_hash/murmur_hash3.h | 41 +++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-)
Suppress compiler warnings
dlib/general_hash/murmur_hash3.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-)
Fixed global_function_search's initialization being wrong if explicitly given an empty list of initial function evaluations.
dlib/global_optimization/global_function_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
disable annoying warning
dlib/test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+)
Fixed constness for lapack functions (#1737)
dlib/matrix/lapack/gees.h | 18 +++++++++--------- dlib/matrix/lapack/geev.h | 18 +++++++++--------- dlib/matrix/lapack/geqrf.h | 8 ++++---- dlib/matrix/lapack/getrf.h | 8 ++++---- dlib/matrix/lapack/ormqr.h | 12 ++++++------ dlib/matrix/lapack/pbtrf.h | 8 ++++---- dlib/matrix/lapack/potrf.h | 8 ++++---- dlib/matrix/lapack/syev.h | 8 ++++---- dlib/matrix/lapack/syevr.h | 20 ++++++++++---------- 9 files changed, 54 insertions(+), 54 deletions(-)
Fixed build error in newer clang on OpenBSD.
dlib/test/stack.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Merge branch 'master' of https://github.com/davisking/dlib
Include the Intel MKL's iomp dll in the output folder to reduce confusino for windows users.
dlib/CMakeLists.txt | 21 +++++++++++++++++++++ dlib/cmake_utils/find_blas.cmake | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+)
Fixed compiler warnings
tools/python/src/basic.cpp | 2 +- tools/python/src/svm_struct.cpp | 2 +- tools/python/src/vector.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Semantic-segmentation loss calculation: fix buffer usage on multi-GPU training (#1717)
dlib/cuda/cuda_dlib.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Switched to non-deprecated way to say destructor might throw.
dlib/sqlite/sqlite_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Change CUDA version check for cudaSync from 10000 to 10010 (#1704)
dlib/cuda/gpu_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Make dlib.full_object_detection take list of dlib.point or dlib.points.
tools/python/src/shape_predictor.cpp | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-)
updated python docs
tools/python/src/shape_predictor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Try some os x tests on travis again.
dlib/travis/build-and-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Added option to give --no_ to exclude a unit test from --runall.
dlib/test/main.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
Try to make bash script work for os x.
dlib/travis/build-and-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed typo in travis build script.
dlib/travis/build-and-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
It's actually fine to call rowm() or colm() with an empty index set.
dlib/matrix/matrix_subexp.h | 44 +++++++++++++++++++++--------------- dlib/matrix/matrix_subexp_abstract.h | 8 +++---- dlib/test/matrix.cpp | 2 ++ 3 files changed, 32 insertions(+), 22 deletions(-)
Have travis build some tests with DLIB_ASSERT enabled to make sure they work.
dlib/travis/build-and-test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Make test deterministic
dlib/test/matrix_chol.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
cleanup
dlib/cmake_utils/test_for_libpng/libpng_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Make CMake build a test program to see if libjpeg is really available and not broken.
dlib/CMakeLists.txt | 12 +--- dlib/cmake_utils/find_libjpeg.cmake | 26 +++++++++ dlib/cmake_utils/test_for_libjpeg/CMakeLists.txt | 11 ++++ dlib/cmake_utils/test_for_libjpeg/libjpeg_test.cpp | 64 ++++++++++++++++++++++ 4 files changed, 103 insertions(+), 10 deletions(-)
Set png include paths for test.
dlib/cmake_utils/test_for_libpng/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)
Have CMake build a little test program to see if the system copy of libpng really works.
dlib/CMakeLists.txt | 12 +----- dlib/cmake_utils/find_libpng.cmake | 25 +++++++++++ dlib/cmake_utils/test_for_libpng/CMakeLists.txt | 10 +++++ dlib/cmake_utils/test_for_libpng/libpng_test.cpp | 54 ++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 10 deletions(-)
Record last changeset and set PATCH version to 99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created release v19.17
dlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)