Created release v20.0
dlib/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
update docs
dlib/constexpr_if.h | 6 +++--- dlib/media/ffmpeg_demuxer.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
cleanup. Fixes linker error about those constants not being defined right with some compiler settings.
dlib/test/dnn.cpp | 1 - dlib/tokenizer/bpe_tokenizer.h | 83 +++++++++++++++++++++--------------------- 2 files changed, 41 insertions(+), 43 deletions(-)
put back to .99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tagging a new release
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Add `reshape_to` layer for flexible tensor reshaping/rescaling (#3076)
dlib/dnn/layers.h | 180 +++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 170 ++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/visitors.h | 23 ++++++ dlib/test/dnn.cpp | 48 +++++++++++- 4 files changed, 420 insertions(+), 1 deletion(-)
Add linear_ layer for neural networks (#3074)
dlib/dnn/layers.h | 200 ++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 260 +++++++++++++++++++++++++++++++++++++++++++++ dlib/test/dnn.cpp | 75 +++++++++++++ 3 files changed, 535 insertions(+)
Some more cleanup
dlib/tokenizer/bpe_tokenizer.h | 20 +++++---- dlib/tokenizer/bpe_tokenizer_abstract.h | 80 +++++++++++++-------------------- 2 files changed, 41 insertions(+), 59 deletions(-)
cleanup serialization code and add missing fields
dlib/test/tokenizer.cpp | 4 +- dlib/tokenizer/bpe_tokenizer.h | 87 +++++++++--------------------------------- 2 files changed, 19 insertions(+), 72 deletions(-)
Add Byte Pair Encoding (BPE) class for subword tokenization (#3056)
dlib/test/queue.cpp | 12 +- dlib/test/static_set.cpp | 2 +- dlib/test/tokenizer.cpp | 62 ++++- dlib/tokenizer.h | 2 +- dlib/tokenizer/bpe_tokenizer.h | 453 ++++++++++++++++++++++++++++++++ dlib/tokenizer/bpe_tokenizer_abstract.h | 155 +++++++++++ tools/htmlify/htmlify.cpp | 4 +- 7 files changed, 676 insertions(+), 14 deletions(-)
Drop namespace std (#3067)
tools/python/src/sequence_segmenter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Merge pull request #3064 from r-barnes/patch-1
Fix a bug when getting a gzip header extra field with inflate(). (#3063)
dlib/external/zlib/inflate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
`throw()` -> `noexcept`
dlib/any/storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
change version back
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Change version
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
change the default u32string char type to char32_t (#3059)
dlib/serialize.h | 1 + dlib/unicode/unicode.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Check image size when reading targa file (#3058)
dlib/external/libjpeg/rdtarga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Slice layer (#3055)
dlib/cuda/cpu_dlib.cpp | 70 +++++++++++ dlib/cuda/cpu_dlib.h | 11 ++ dlib/cuda/cuda_dlib.cu | 71 +++++++++++ dlib/cuda/cuda_dlib.h | 11 ++ dlib/cuda/tensor_tools.cpp | 18 +++ dlib/cuda/tensor_tools.h | 32 +++++ dlib/dnn/layers.h | 125 +++++++++++++++++++ dlib/dnn/layers_abstract.h | 79 ++++++++++++ dlib/test/dnn.cpp | 290 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 707 insertions(+)
Update minimum CMake version to 3.10.0 (#3052)
dlib/CMakeLists.txt | 2 +- dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake | 2 +- dlib/cmake_utils/check_if_neon_available.cmake | 2 +- dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake | 2 +- dlib/cmake_utils/find_ffmpeg.cmake | 2 +- dlib/cmake_utils/find_libjpeg.cmake | 2 +- dlib/cmake_utils/find_libpng.cmake | 2 +- dlib/cmake_utils/set_compiler_specific_options.cmake | 2 +- dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake | 2 +- dlib/cmake_utils/test_for_avx/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_cuda/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_cudnn/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_libjpeg/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_libjxl/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_libpng/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_libwebp/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_neon/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_sse4/CMakeLists.txt | 2 +- dlib/java/CMakeLists.txt | 2 +- dlib/matlab/CMakeLists.txt | 2 +- dlib/test/CMakeLists.txt | 2 +- dlib/test/blas_bindings/CMakeLists.txt | 2 +- dlib/test/tools/CMakeLists.txt | 2 +- examples/CMakeLists.txt | 2 +- tools/archive/CMakeLists.txt | 2 +- tools/convert_dlib_nets_to_caffe/CMakeLists.txt | 2 +- tools/htmlify/CMakeLists.txt | 2 +- tools/imglab/CMakeLists.txt | 2 +- tools/python/CMakeLists.txt | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-)
minor tweaks to the transformer example (#3048)
examples/slm_basic_train_ex.cpp | 77 +++++++++++++++++++++-------------------- examples/slm_data.h | 4 +-- examples/slm_defs.h | 10 +++--- 3 files changed, 47 insertions(+), 44 deletions(-)
Add a first example for the new Dlib layers to build a transform-type network (#3041)
examples/CMakeLists.txt | 1 + examples/slm_basic_train_ex.cpp | 352 ++++++++++++++++++++++++ examples/slm_data.h | 593 ++++++++++++++++++++++++++++++++++++++++ examples/slm_defs.h | 286 +++++++++++++++++++ 4 files changed, 1232 insertions(+)
find blas and cudnn update for windows OS (#3047)
dlib/cmake_utils/find_blas.cmake | 3 +++ dlib/cmake_utils/test_for_cudnn/find_cudnn.txt | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-)
Replace deprecated pkgutil.find_loader() (#3043)
tools/python/test/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Add multm_prev_ layer and enhance gemm() function for PLANE_WISE operations (#3020)
dlib/cuda/cpu_dlib.cpp | 221 +++++++++++++++++++++++++++---------------- dlib/cuda/cpu_dlib.h | 10 +- dlib/cuda/cublas_dlibapi.cpp | 149 ++++++++++++++++++++--------- dlib/cuda/cublas_dlibapi.h | 53 ++++++++--- dlib/cuda/cudnn_dlibapi.cpp | 132 +++++++++++++++++++------- dlib/cuda/cudnn_dlibapi.h | 15 +-- dlib/cuda/operation_mode.h | 23 +++++ dlib/cuda/tensor_tools.cpp | 123 ++++++++++++++++++------ dlib/cuda/tensor_tools.h | 109 ++++++++++++++------- dlib/dnn/layers.h | 133 ++++++++++++++++++++++---- dlib/dnn/layers_abstract.h | 145 ++++++++++++++++++++++++---- dlib/dnn/visitors.h | 16 +++- dlib/test/dnn.cpp | 136 +++++++++++++++++++++++++- 13 files changed, 979 insertions(+), 286 deletions(-)
Fix saving JXL generic grayscale images (#3032)
dlib/image_saver/save_jxl.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)
Make event_correlation() work on fractional counts
dlib/statistics/statistics.h | 24 ++++++++++++------------ dlib/statistics/statistics_abstract.h | 16 ++++++++-------- 2 files changed, 20 insertions(+), 20 deletions(-)
Add embeddings_ layer and supporting utility functions (#3021)
dlib/cuda/cpu_dlib.cpp | 115 +++++++++++++++++++ dlib/cuda/cpu_dlib.h | 17 +++ dlib/cuda/cuda_dlib.cu | 120 ++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 17 +++ dlib/cuda/tensor_tools.cpp | 31 +++++ dlib/cuda/tensor_tools.h | 72 ++++++++++++ dlib/dnn/layers.h | 276 +++++++++++++++++++++++++++++++++++++++++++-- dlib/dnn/layers_abstract.h | 222 +++++++++++++++++++++++++++++++++++- dlib/dnn/visitors.h | 20 +++- dlib/test/dnn.cpp | 97 ++++++++++++++++ 10 files changed, 977 insertions(+), 10 deletions(-)
handle empty proto objects
dlib/serialize.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
added docs
dlib/image_transforms/interpolation_abstract.h | 6 ++++++ 1 file changed, 6 insertions(+)
add serialization support to chip_details (#3026)
dlib/image_transforms/interpolation.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Add tril_ layer for lower triangular matrix operations (#3018)
dlib/dnn/layers.h | 126 ++++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 156 +++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/visitors.h | 16 +++++ dlib/test/dnn.cpp | 48 ++++++++++++++ 4 files changed, 346 insertions(+)
Fix stride indexing bugs in `reorg` and `reorg_gradient` functions (CPU & CUDA) (#3012)
dlib/cuda/cpu_dlib.cpp | 91 ++++++++++++++++++++++++++-------------------- dlib/cuda/cpu_dlib.h | 2 + dlib/cuda/cuda_dlib.cu | 87 +++++++++++++++++++++++--------------------- dlib/cuda/cuda_dlib.h | 2 + dlib/cuda/tensor_tools.cpp | 10 +++-- dlib/cuda/tensor_tools.h | 71 ++++++++++++++++++++++++++---------- dlib/dnn/layers.h | 4 +- dlib/dnn/layers_abstract.h | 44 +++++++++++++--------- dlib/test/dnn.cpp | 8 ++-- 9 files changed, 190 insertions(+), 129 deletions(-)
Add Transpose Layer for 2D matrix transposition in 4D tensors (#3013)
dlib/cuda/cpu_dlib.cpp | 42 ++++++++++++++++++++++++++++++- dlib/cuda/cpu_dlib.h | 8 ++++++ dlib/cuda/cuda_dlib.cu | 40 ++++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 7 ++++++ dlib/cuda/tensor_tools.cpp | 15 ++++++++++++ dlib/cuda/tensor_tools.h | 26 ++++++++++++++++++++ dlib/dnn/layers.h | 61 ++++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 54 ++++++++++++++++++++++++++++++++++++++++ dlib/dnn/visitors.h | 8 ++++++ dlib/test/dnn.cpp | 38 +++++++++++++++++++++++++++++ 10 files changed, 298 insertions(+), 1 deletion(-)
Cleanup: remove using namespace std; (#3016)
dlib/any/any_function_abstract.h | 1 - dlib/cmd_line_parser/cmd_line_parser_kernel_1.h | 2 - dlib/config_reader/config_reader_thread_safe_1.h | 1 - .../cpp_pretty_printer_kernel_1.h | 15 +++---- .../cpp_pretty_printer_kernel_2.h | 13 +++--- dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h | 10 ++--- dlib/data_io/libsvm_io.h | 27 ++++++------- dlib/dir_nav/dir_nav_kernel_1.h | 8 ++-- dlib/dir_nav/dir_nav_kernel_2.h | 10 ++--- dlib/dnn/core.h | 33 ++++++---------- dlib/dnn/loss.h | 5 +-- dlib/dnn/trainer.h | 19 ++++----- dlib/dnn/utilities.h | 2 - dlib/error.h | 1 - dlib/global_optimization/find_max_global.h | 4 +- dlib/graph_utils/graph_utils.h | 5 --- dlib/image_keypoint/hessian_pyramid.h | 1 - dlib/image_loader/image_loader.h | 4 +- dlib/image_processing/detection_template_tools.h | 1 - dlib/matrix/matrix.h | 9 ++--- dlib/matrix/matrix_lu.h | 1 - dlib/media/ffmpeg_demuxer.h | 7 +++- dlib/media/ffmpeg_muxer.h | 4 +- dlib/media/ffmpeg_utils.h | 4 +- dlib/optimization/elastic_net.h | 9 ++--- .../optimization_solve_qp2_using_smo.h | 13 +++--- .../optimization_solve_qp3_using_smo.h | 9 ++--- .../optimization/optimization_solve_qp_using_smo.h | 2 - dlib/optimization/optimization_stop_strategies.h | 6 +-- dlib/pixel.h | 34 +++++++--------- dlib/string/string.h | 25 +++++------- dlib/svm/feature_ranking.h | 18 +++------ dlib/svm/rr_trainer.h | 7 ++-- dlib/svm/structural_svm_object_detection_problem.h | 44 ++++++++++----------- dlib/svm/structural_svm_problem.h | 29 +++++++------- dlib/svm/svm_c_linear_dcd_trainer.h | 9 ++--- dlib/svm/svm_c_linear_trainer.h | 15 ++++--- dlib/svm/svm_c_trainer.h | 5 +-- dlib/svm/svm_nu_trainer.h | 9 ++--- dlib/svm/svm_one_class_trainer.h | 1 - dlib/svm/svm_rank_trainer.h | 15 ++++--- dlib/svm/svr_linear_trainer.h | 15 ++++--- dlib/svm/svr_trainer.h | 5 +-- dlib/test/binary_search_tree.h | 7 ++-- dlib/test/cmd_line_parser.h | 1 - dlib/test/conditioning_class.h | 46 +++++++++++----------- dlib/threads/thread_pool_extension.h | 2 - dlib/time_this.h | 2 +- dlib/timing.h | 25 ++++++------ dlib/tokenizer/tokenizer_kernel_c.h | 7 ++-- 50 files changed, 230 insertions(+), 317 deletions(-)
Add RMS Normalization Layer (#2999)
dlib/cuda/cpu_dlib.cpp | 138 ++++++++++++++++++++++++++++++++++ dlib/cuda/cpu_dlib.h | 20 +++++ dlib/cuda/cuda_dlib.cu | 160 ++++++++++++++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 20 +++++ dlib/cuda/tensor_tools.cpp | 34 +++++++++ dlib/cuda/tensor_tools.h | 53 ++++++++++++- dlib/dnn/layers.h | 125 +++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 172 +++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/visitors.h | 39 ++++++++++ dlib/dnn/visitors_abstract.h | 4 +- dlib/test/dnn.cpp | 102 ++++++++++++++++++++++++- 11 files changed, 863 insertions(+), 4 deletions(-)
Fix layer_normalize gradients (#3001)
dlib/cuda/cpu_dlib.cpp | 130 +++++++++++++++++-------------- dlib/cuda/cpu_dlib.h | 4 +- dlib/cuda/cuda_dlib.cu | 186 +++++++++++++++++++++++++++------------------ dlib/cuda/cuda_dlib.h | 4 +- dlib/cuda/tensor_tools.cpp | 8 +- dlib/cuda/tensor_tools.h | 12 +-- dlib/dnn/layers.h | 5 +- dlib/test/dnn.cpp | 13 ++-- 8 files changed, 213 insertions(+), 149 deletions(-)
Add customizable dropout layer with compile-time rate specification (#3000)
dlib/dnn/layers.h | 18 ++++++++++++++++++ dlib/dnn/layers_abstract.h | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+)
change the version back
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
make a new dlib version to get us cmake installer instructions for python users
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[FFMPEG] support ffmpeg 7 (#2987)
dlib/media/ffmpeg_details.h | 6 +++++- dlib/media/ffmpeg_muxer.h | 2 +- dlib/media/ffmpeg_utils.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-)
put version back to .99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
just to tag v19.24.5
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
global_optimization: add template argument list (#2973)
dlib/global_optimization/find_max_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Update Pybind11 to v2.12.0 for numpy v2 support (#2970)
dlib/external/pybind11/CMakeLists.txt | 86 ++- dlib/external/pybind11/README.rst | 11 +- dlib/external/pybind11/include/pybind11/attr.h | 18 +- .../pybind11/include/pybind11/buffer_info.h | 17 +- dlib/external/pybind11/include/pybind11/cast.h | 250 ++++++-- .../pybind11/include/pybind11/detail/class.h | 80 +-- .../pybind11/include/pybind11/detail/common.h | 190 ++++-- .../pybind11/include/pybind11/detail/descr.h | 13 + .../pybind11/include/pybind11/detail/init.h | 42 +- .../pybind11/include/pybind11/detail/internals.h | 141 +++- .../include/pybind11/detail/type_caster_base.h | 278 +++++++- dlib/external/pybind11/include/pybind11/eigen.h | 698 +------------------- .../pybind11/include/pybind11/eigen/common.h | 9 + .../pybind11/include/pybind11/eigen/matrix.h | 714 +++++++++++++++++++++ .../pybind11/include/pybind11/eigen/tensor.h | 517 +++++++++++++++ dlib/external/pybind11/include/pybind11/embed.h | 131 ++-- .../pybind11/include/pybind11/functional.h | 16 +- dlib/external/pybind11/include/pybind11/gil.h | 71 +- .../pybind11/include/pybind11/gil_safe_call_once.h | 91 +++ dlib/external/pybind11/include/pybind11/numpy.h | 227 +++++-- .../external/pybind11/include/pybind11/operators.h | 1 + dlib/external/pybind11/include/pybind11/options.h | 16 + dlib/external/pybind11/include/pybind11/pybind11.h | 323 ++++++---- dlib/external/pybind11/include/pybind11/pytypes.h | 356 +++++++--- dlib/external/pybind11/include/pybind11/stl.h | 63 +- dlib/external/pybind11/include/pybind11/stl_bind.h | 146 +++-- .../include/pybind11/type_caster_pyobject_ptr.h | 61 ++ dlib/external/pybind11/include/pybind11/typing.h | 125 ++++ dlib/external/pybind11/tools/FindCatch.cmake | 8 +- .../pybind11/tools/FindPythonLibsNew.cmake | 37 +- dlib/external/pybind11/tools/JoinPaths.cmake | 23 + .../tools/codespell_ignore_lines_from_errors.py | 39 ++ dlib/external/pybind11/tools/make_changelog.py | 39 +- dlib/external/pybind11/tools/pybind11.pc.in | 7 + dlib/external/pybind11/tools/pybind11Common.cmake | 78 ++- .../pybind11/tools/pybind11Config.cmake.in | 6 +- .../external/pybind11/tools/pybind11NewTools.cmake | 99 ++- dlib/external/pybind11/tools/pybind11Tools.cmake | 30 +- dlib/external/pybind11/tools/setup_global.py.in | 6 +- dlib/external/pybind11/tools/setup_main.py.in | 4 + 40 files changed, 3720 insertions(+), 1347 deletions(-)
Make docs more clear
examples/fhog_object_detector_ex.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Add input_tensor input type (#2951)
dlib/cuda/tensor.h | 8 +++++ dlib/cuda/tensor_abstract.h | 8 +++++ dlib/dnn/input.h | 87 +++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/input_abstract.h | 51 ++++++++++++++++++++++++++ dlib/test/dnn.cpp | 33 +++++++++++++++++ 5 files changed, 187 insertions(+)
Hide windows.h in .cc file (#2952)
dlib/misc_api/misc_api_kernel_1.cpp | 2 +- dlib/threads/threads_kernel_1.cpp | 9 +++++++++ dlib/threads/threads_kernel_1.h | 10 ++-------- 3 files changed, 12 insertions(+), 9 deletions(-)
Add support for riscv64 (#2949)
dlib/matrix/lapack/fortran_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
suppress another one
dlib/test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
suppress incorrect warning
dlib/test/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+)
fixed bug in decoder (#2946)
dlib/media/ffmpeg_demuxer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fix typo (which turns out builds on gcc)
dlib/image_loader/jpeg_loader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Use size_t to avoid possible numeric overflow for the very largest images.
dlib/image_loader/jpeg_loader.cpp | 2 +- dlib/image_loader/jpeg_loader.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-)
better docs
dlib/matrix/matrix_utilities_abstract.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Actually load rgb_alpha images. (#2942)
tools/python/src/numpy_returns.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Remove MMX header (#2939)
dlib/simd/simd_check.h | 1 - 1 file changed, 1 deletion(-)
Fix incorrect version check for libgif (#2936)
dlib/image_loader/load_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
adjust head back to .99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tagging another minor version
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reduce FOREVER from 290 to 200 years (#2938)
dlib/global_optimization/find_max_global.h | 2 +- dlib/global_optimization/find_max_global_abstract.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
CMake: Set LAPACK libs as public (#2923)
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
jxl: use float for quality (#2930)
dlib/image_saver/save_jxl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Apply the new patch from Davis (#2929)
dlib/threads/threads_kernel_1.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
allow reading and writing rgb-alpha images in Python (#2925)
dlib/python/numpy_image.h | 1 + tools/python/src/numpy_returns.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+)
Add missing magic number for JPEG XL (#2924)
dlib/image_loader/load_image.h | 5 +++-- dlib/image_saver/save_jxl.cpp | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-)
Add JXL support (#2917)
dlib/CMakeLists.txt | 26 ++- dlib/cmake_utils/find_libjxl.cmake | 50 +++++ dlib/cmake_utils/test_for_libjxl/CMakeLists.txt | 7 + dlib/cmake_utils/test_for_libjxl/libjxl_test.cpp | 20 ++ dlib/config.h.in | 3 +- dlib/image_io.h | 1 + dlib/image_loader/jxl_loader.cpp | 180 ++++++++++++++++++ dlib/image_loader/jxl_loader.h | 138 ++++++++++++++ dlib/image_loader/jxl_loader_abstract.h | 223 +++++++++++++++++++++++ dlib/image_loader/load_image.h | 56 +++++- dlib/image_saver/save_jxl.cpp | 167 +++++++++++++++++ dlib/image_saver/save_jxl.h | 119 ++++++++++++ dlib/image_saver/save_jxl_abstract.h | 55 ++++++ dlib/image_saver/save_webp.h | 2 +- tools/imglab/src/cluster.cpp | 11 +- tools/imglab/src/common.cpp | 12 ++ tools/imglab/src/common.h | 3 + tools/imglab/src/flip_dataset.cpp | 8 + tools/imglab/src/main.cpp | 62 ++++++- tools/python/src/numpy_returns.cpp | 36 +++- 20 files changed, 1156 insertions(+), 23 deletions(-)
add nr and nc methods to jpeg, png and webp loaders (#2920)
dlib/image_loader/jpeg_loader.cpp | 15 +++++++++++++++ dlib/image_loader/jpeg_loader.h | 2 ++ dlib/image_loader/jpeg_loader_abstract.h | 16 ++++++++++++++++ dlib/image_loader/png_loader.cpp | 4 +++- dlib/image_loader/png_loader.h | 4 +++- dlib/image_loader/png_loader_abstract.h | 18 +++++++++++++++++- dlib/image_loader/webp_loader.cpp | 5 +++++ dlib/image_loader/webp_loader.h | 3 +++ dlib/image_loader/webp_loader_abstract.h | 16 ++++++++++++++++ 9 files changed, 80 insertions(+), 3 deletions(-)
Use STD in testing suite (#2922)
dlib/test/main.cpp | 10 ++++------ dlib/test/tester.cpp | 25 +++++++++---------------- dlib/test/tester.h | 6 +++--- 3 files changed, 16 insertions(+), 25 deletions(-)
Fix documentation of inv_color_transform (#2918)
dlib/image_transforms/random_color_transform_abstract.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Add color transform and inv color transform (#2914)
dlib/image_transforms/random_color_transform.h | 111 +++++++++++++++----- .../random_color_transform_abstract.h | 113 +++++++++++++++++---- 2 files changed, 183 insertions(+), 41 deletions(-)
fix letterbox_image in yolo example (#2911)
examples/dnn_yolo_train_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Return shortcut in disturb_colors (#2909)
dlib/image_transforms/random_color_transform.h | 3 +++ 1 file changed, 3 insertions(+)
loss_barlow_twins: add get_eccm member function (#2906)
dlib/dnn/loss.h | 3 +++ dlib/dnn/loss_abstract.h | 14 +++++++++++ examples/dnn_self_supervised_learning_ex.cpp | 37 +++------------------------- 3 files changed, 21 insertions(+), 33 deletions(-)
extend letterbox behavior (#2899)
dlib/image_transforms/interpolation.h | 34 +++++++------------ dlib/image_transforms/interpolation_abstract.h | 45 +++----------------------- dlib/test/image.cpp | 4 +-- examples/dnn_yolo_train_ex.cpp | 15 +++++---- 4 files changed, 26 insertions(+), 72 deletions(-)
Add find_convex_hull using Graham scan (#2889)
dlib/geometry/vector.h | 66 +++++++++++++++++++++++++++++++++++++++++ dlib/geometry/vector_abstract.h | 16 ++++++++++ dlib/test/geometry.cpp | 23 ++++++++++++++ 3 files changed, 105 insertions(+)
[PNG] save_png() now works with std::vector and std::ostream (#2873)
dlib/image_loader/png_loader.cpp | 333 +++++++++----------------------- dlib/image_loader/png_loader.h | 253 ++++++++++-------------- dlib/image_loader/png_loader_abstract.h | 38 ++-- dlib/image_saver/save_png.cpp | 53 +++-- dlib/image_saver/save_png.h | 231 ++++++++++++++-------- dlib/image_saver/save_png_abstract.h | 64 ++++++ dlib/test/image.cpp | 118 ++++++++++- 7 files changed, 577 insertions(+), 513 deletions(-)
[scope] Adding scope_exit (#2875)
dlib/scope.h | 89 ++++++++++++++++++++++++ dlib/test/CMakeLists.txt | 1 + dlib/test/scope.cpp | 171 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 261 insertions(+)
potential fix for gcc 5.1 onward (#2870)
dlib/functional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fix incorrect assert and typo in docs
dlib/matrix/matrix_fft.h | 2 +- dlib/matrix/matrix_fft_abstract.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
simplify and fix bug (#2866)
examples/ffmpeg_webcam_face_pose_ex.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Apple Clang complains about sprintf. Use snprintf instead. (#2862)
dlib/gui_core/gui_core_kernel_2.cpp | 4 ++-- dlib/gui_widgets/nativefont.h | 11 +++++------ dlib/http_client/http_client.cpp | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-)
bug fix when multiple streams are present (#2863)
dlib/media/ffmpeg_demuxer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
oops, fix build error
dlib/any/storage.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
update docs and some cleanup
dlib/any/storage.h | 11 ++ dlib/geometry/polygon.h | 2 +- dlib/geometry/polygon_abstract.h | 16 +- dlib/gui_widgets/canvas_drawing.h | 2 +- dlib/image_processing/generic_image.h | 41 +++-- dlib/image_transforms/draw.h | 2 +- dlib/image_transforms/draw_abstract.h | 16 +- dlib/optional.h | 21 ++- dlib/pixel.h | 19 +-- dlib/test/geometry.cpp | 2 +- dlib/type_safe_union/type_safe_union_kernel.h | 2 +- dlib/type_traits.h | 225 ++++++++++++++++++++++---- dlib/unicode/unicode_abstract.h | 9 ++ 13 files changed, 285 insertions(+), 83 deletions(-)
Apply archiver flags only on Apple using Apple compilers (#2854)
dlib/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Make type safe union docs more clear regarding exceptions.
dlib/type_safe_union/type_safe_union_kernel_abstract.h | 4 ++++ 1 file changed, 4 insertions(+)
Make test threshold a little more robust. 1e-6 was right on the edge and sometimes failed.
dlib/test/dnn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Add fuse layers for conv+affine+relu and conv+relu (#2842)
dlib/cuda/cpu_dlib.cpp | 8 +++- dlib/cuda/cpu_dlib.h | 6 ++- dlib/cuda/cudnn_dlibapi.cpp | 13 ++++--- dlib/cuda/cudnn_dlibapi.h | 6 ++- dlib/cuda/tensor_tools.h | 12 ++++-- dlib/dnn/layers.h | 91 ++++++++++++++++++++++++++++++++++++-------- dlib/dnn/layers_abstract.h | 47 +++++++++++++++-------- dlib/dnn/visitors.h | 38 +++++++++++++++++- dlib/dnn/visitors_abstract.h | 21 ++++++++++ 9 files changed, 195 insertions(+), 47 deletions(-)
Work around bug in gcc 11.4.0 causing spurious compile error
dlib/test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
updated cudnn path (#2843)
dlib/cmake_utils/test_for_cudnn/find_cudnn.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Perform conv with bias for specific algo with cudnn (#2839)
dlib/cuda/cudnn_dlibapi.cpp | 15 ++++++++++++++- dlib/dnn/layers.h | 22 ++++++++++++---------- 2 files changed, 26 insertions(+), 11 deletions(-)
Add sig_traits back since the matlab wrapper depedned on it.
dlib/matlab/mex_wrapper.cpp | 2 +- dlib/matlab/sig_traits.h | 761 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 762 insertions(+), 1 deletion(-)
Fix convolution backward filter cache when using cudnn 7 and above (#2828)
dlib/cuda/cudnn_dlibapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Optimize pointer to matrix assignment (#2822)
dlib/matrix/matrix_mat.h | 34 ++++++++++++++++++++++++++++++++++ dlib/test/matrix.cpp | 22 ++++++++++++++++++++++ 2 files changed, 56 insertions(+)
Python: Add grayscale overloads to get_face_chip (#2820)
tools/python/src/numpy_returns.cpp | 48 +++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 13 deletions(-)
dlib::optional (#2815)
dlib/optional.h | 1017 ++++++++++++++++++++++++++++++++++++++++++++++ dlib/test/CMakeLists.txt | 1 + dlib/test/optional.cpp | 465 +++++++++++++++++++++ dlib/utility.h | 11 +- 4 files changed, 1493 insertions(+), 1 deletion(-)
Make cblas public (#2817)
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix typos (#2811)
examples/dnn_dcgan_train_ex.cpp | 2 +- examples/dnn_semantic_segmentation_ex.h | 2 +- examples/ffmpeg_rtsp_ex.cpp | 2 +- examples/ffmpeg_screen_grab_ex.cpp | 2 +- examples/optimization_ex.cpp | 2 +- examples/sockstreambuf_ex.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
Fix pixel saturation in interpolate_quadratic (#2806)
dlib/image_transforms/interpolation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[FFmpeg] added save_frame() and improved picking of codecs when not specified (#2800)
dlib/media/ffmpeg_demuxer.h | 2 +- dlib/media/ffmpeg_details.h | 41 ++++++++++ dlib/media/ffmpeg_muxer.h | 137 +++++++++++++++++++++++++-------- dlib/test/ffmpeg.cpp | 46 +++++++++++ examples/ffmpeg_file_to_speaker_ex.cpp | 4 +- 5 files changed, 195 insertions(+), 35 deletions(-)
Remove unneeded using namespace std (#2799)
dlib/media/ffmpeg_demuxer.h | 3 --- dlib/media/ffmpeg_muxer.h | 4 ---- 2 files changed, 7 deletions(-)
[FFmpeg] added push(image_type) methods to encoder and muxer (#2797)
dlib/media/ffmpeg_muxer.h | 79 +++++++++++++++++++++++++++++++++++++++++++ dlib/test/ffmpeg.cpp | 86 +++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 163 insertions(+), 2 deletions(-)
missing include (#2798)
dlib/type_traits.h | 1 + 1 file changed, 1 insertion(+)
Problem: CUDA error having `code: 716, reason: misaligned address` (#2796)
dlib/cuda/cuda_dlib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
[FFmpeg] decoding and demuxing improvements (#2784)
dlib/media/ffmpeg_demuxer.h | 805 ++++++++++------- dlib/media/ffmpeg_details.h | 24 +- dlib/media/ffmpeg_muxer.h | 265 +++--- dlib/media/ffmpeg_utils.h | 287 +++--- dlib/test/ffmpeg.cpp | 980 +++++++++++++-------- .../test/ffmpeg_data/MOT20-05-raw_even_shorter.mp4 | Bin 0 -> 518817 bytes dlib/test/ffmpeg_data/MOT20-05-raw_shorter.mp4 | Bin 2752263 -> 0 bytes dlib/test/ffmpeg_data/MOT20-08-raw.h264 | Bin 2582995 -> 0 bytes dlib/test/ffmpeg_data/MOT20-08-raw_shorter.h264 | Bin 0 -> 452582 bytes dlib/test/ffmpeg_data/details.cfg | 36 +- dlib/test/ffmpeg_data/dog.jpg | Bin 0 -> 163759 bytes dlib/test/ffmpeg_data/eagle.jpg | Bin 0 -> 141886 bytes dlib/test/ffmpeg_data/giraffe.jpg | Bin 0 -> 382965 bytes dlib/test/ffmpeg_data/horses.jpg | Bin 0 -> 133495 bytes dlib/test/ffmpeg_data/scream.jpg | Bin 0 -> 174515 bytes examples/CMakeLists.txt | 2 + examples/ffmpeg_microphone_to_file_ex.cpp | 4 +- examples/ffmpeg_rtsp_ex.cpp | 18 +- examples/ffmpeg_video_decoding2_ex.cpp | 99 +++ examples/ffmpeg_video_decoding_ex.cpp | 38 +- examples/ffmpeg_video_demuxing2_ex.cpp | 84 ++ examples/ffmpeg_video_demuxing_ex.cpp | 153 +--- examples/ffmpeg_video_encoding_ex.cpp | 50 +- examples/ffmpeg_video_muxing_ex.cpp | 24 +- examples/ffmpeg_webcam_face_pose_ex.cpp | 13 +- 25 files changed, 1728 insertions(+), 1154 deletions(-)
put patch level back to 99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tag v19.24.2
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
std::chrono::system_time on osx isn't in nanoseconds (#2795)
dlib/dnn/utilities.h | 2 +- dlib/media/ffmpeg_demuxer.h | 2 +- dlib/media/ffmpeg_utils.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-)
- moved is_detected in type_traits.h (#2794)
dlib/constexpr_if.h | 15 +------- dlib/test/invoke.cpp | 13 +++++++ dlib/type_traits.h | 100 ++++++++++++++++++++++++++++++++++++--------------- 3 files changed, 85 insertions(+), 43 deletions(-)
[Meta] added callable traits (#2790)
dlib/constexpr_if.h | 10 -- dlib/test/invoke.cpp | 144 ++++++++++++++++++++++++++ dlib/type_safe_union/type_safe_union_kernel.h | 14 +-- dlib/type_traits.h | 138 +++++++++++++++++++++--- 4 files changed, 269 insertions(+), 37 deletions(-)
[FFT] split FFT API into different layers (#2793)
dlib/CMakeLists.txt | 1 +
dlib/fft/fft.cpp | 49 ++++++++++++++++
dlib/fft/fft.h | 102 ++++++++++++++++++++++++++++++++
dlib/{matrix => fft}/fft_size.h | 0
dlib/fft/fft_stl.h | 54 +++++++++++++++++
dlib/{matrix => fft}/kiss_fft.h | 0
dlib/{matrix => fft}/mkl_fft.h | 0
dlib/matrix/matrix_fft.h | 118 ++++----------------------------------
dlib/matrix/matrix_fft_abstract.h | 63 --------------------
9 files changed, 216 insertions(+), 171 deletions(-)Use dpoint instead of dlib::vector<double, 2> (#2782)
dlib/image_transforms/interpolation.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
FFMPEG : inline docs (#2778)
dlib/media/ffmpeg_abstract.h | 1671 ------------------------------------------ dlib/media/ffmpeg_demuxer.h | 1120 +++++++++++++++++++--------- dlib/media/ffmpeg_details.h | 487 ++++++++++++ dlib/media/ffmpeg_muxer.h | 553 ++++++++++++-- dlib/media/ffmpeg_utils.h | 1066 ++++++++++++--------------- dlib/media/sink.h | 16 + 6 files changed, 2223 insertions(+), 2690 deletions(-)
Add insert_image_chip (#2781)
dlib/image_transforms/interpolation.h | 44 ++++++++++++++++++++++++++ dlib/image_transforms/interpolation_abstract.h | 44 ++++++++++++++++++++++++++ tools/python/src/image2.cpp | 43 +++++++++++++++++++++++++ 3 files changed, 131 insertions(+)
10X speedup (#2779)
dlib/sliding_buffer/circular_buffer.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Add draw solid polygon (#2775)
dlib/geometry/polygon.h | 5 ++ dlib/image_transforms/draw.h | 141 +++++++++++++++++++++++----------- dlib/image_transforms/draw_abstract.h | 30 +++++++- 3 files changed, 129 insertions(+), 47 deletions(-)
FFmpeg : logging (#2774)
dlib/media/ffmpeg_abstract.h | 16 ++++ dlib/media/ffmpeg_demuxer.h | 65 +++++++-------- dlib/media/ffmpeg_muxer.h | 90 ++++++++++----------- dlib/media/ffmpeg_utils.h | 147 ++++++++++++++++++++++------------ examples/ffmpeg_video_demuxing_ex.cpp | 20 ++++- 5 files changed, 200 insertions(+), 138 deletions(-)
FFmpeg : improvements to ffmpeg::list() functions (#2773)
dlib/media/ffmpeg_abstract.h | 58 ++++--- dlib/media/ffmpeg_muxer.h | 4 +- dlib/media/ffmpeg_utils.h | 375 +++++++++++++++++++++++++------------------ examples/ffmpeg_info_ex.cpp | 20 ++- 4 files changed, 269 insertions(+), 188 deletions(-)
Add ffmpeg load_frame (#2770)
dlib/media/ffmpeg_abstract.h | 16 ++++++++++++++++ dlib/media/ffmpeg_demuxer.h | 13 +++++++++++++ dlib/media/ffmpeg_utils.h | 20 ++++++++++---------- 3 files changed, 39 insertions(+), 10 deletions(-)
Update widgets and draw_string on images to use convert_to_utf32 (#2769)
dlib/gui_widgets/widgets.cpp | 16 ++++++------ dlib/image_transforms/draw.h | 47 ++++++++++++++++++++++++------------ tools/imglab/src/metadata_editor.cpp | 2 +- 3 files changed, 41 insertions(+), 24 deletions(-)
Unify all conversions to UTF-32 (#2737)
dlib/gui_core/gui_core_kernel_1.cpp | 2 +- dlib/gui_core/gui_core_kernel_2.cpp | 2 +- dlib/gui_widgets/base_widgets.cpp | 2 +- dlib/gui_widgets/base_widgets.h | 20 +- dlib/gui_widgets/fonts.h | 34 +- dlib/gui_widgets/widgets.cpp | 28 +- dlib/gui_widgets/widgets.h | 4 +- dlib/unicode/unicode.cpp | 93 +--- dlib/unicode/unicode.h | 852 ++++++++++++++++++++++------------- dlib/unicode/unicode_abstract.h | 33 +- tools/imglab/src/metadata_editor.cpp | 2 +- 11 files changed, 624 insertions(+), 448 deletions(-)
FFmpeg : examples (#2764)
dlib/media.h | 4 +- dlib/media/ffmpeg_demuxer.h | 6 +- dlib/media/ffmpeg_utils.h | 16 +++++- examples/CMakeLists.txt | 2 + examples/ffmpeg_file_to_speaker_ex.cpp | 90 ++++++++++++++++++++++++++++++ examples/ffmpeg_microphone_to_file_ex.cpp | 91 +++++++++++++++++++++++++++++++ 6 files changed, 205 insertions(+), 4 deletions(-)
Silence warning about unused variable (#2765)
dlib/media/ffmpeg_utils.h | 1 + 1 file changed, 1 insertion(+)
Fix outdated comment in self supervised learning example (#2768)
examples/dnn_self_supervised_learning_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
RTSP example (#2763)
examples/CMakeLists.txt | 1 + examples/ffmpeg_rtsp_ex.cpp | 161 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+)
FFmpeg : muxing (#2755)
dlib/media/ffmpeg_abstract.h | 426 +++++++++++++++++++++----- dlib/media/ffmpeg_demuxer.h | 5 +- dlib/media/ffmpeg_muxer.h | 595 ++++++++++++++++++++++++++++-------- dlib/media/ffmpeg_utils.h | 17 +- dlib/test/ffmpeg.cpp | 107 ++++++- examples/CMakeLists.txt | 1 + examples/ffmpeg_video_muxing_ex.cpp | 117 +++++++ 7 files changed, 1059 insertions(+), 209 deletions(-)
Fix imglab changing the current dir too soon (#2761)
tools/imglab/src/flip_dataset.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
Add HSV support (#2758)
dlib/matrix/matrix_utilities.h | 36 +++- dlib/pixel.h | 388 +++++++++++++++++++++++++++++++++++++++++ dlib/test/pixel.cpp | 82 ++++++++- 3 files changed, 503 insertions(+), 3 deletions(-)
FFmpeg : encoding (#2754)
dlib/media.h | 2 + dlib/media/ffmpeg_abstract.h | 318 ++++++++++++++- dlib/media/ffmpeg_demuxer.h | 69 ++-- dlib/media/ffmpeg_muxer.h | 543 +++++++++++++++++++++++++ dlib/media/ffmpeg_utils.h | 30 +- dlib/media/sink.h | 47 +++ dlib/test/ffmpeg.cpp | 235 +++++++++-- dlib/test/ffmpeg_data/MOT20-05-raw.mp4 | Bin 13410105 -> 0 bytes dlib/test/ffmpeg_data/MOT20-05-raw_shorter.mp4 | Bin 0 -> 2752263 bytes dlib/test/ffmpeg_data/details.cfg | 6 +- dlib/type_traits.h | 13 +- examples/CMakeLists.txt | 1 + examples/ffmpeg_video_encoding_ex.cpp | 127 ++++++ 13 files changed, 1313 insertions(+), 78 deletions(-)
FFMPEG : misc + ffmpeg5 support (#2746)
dlib/CMakeLists.txt | 9 +- dlib/media/ffmpeg_abstract.h | 102 +++++++-- dlib/media/ffmpeg_demuxer.h | 274 +++++++++++----------- dlib/media/ffmpeg_utils.h | 387 +++++++++++++++++++++++++++----- dlib/test/ffmpeg.cpp | 6 +- examples/ffmpeg_info_ex.cpp | 52 +++-- examples/ffmpeg_webcam_face_pose_ex.cpp | 8 +- 7 files changed, 597 insertions(+), 241 deletions(-)
Add simple polygon class (#2750)
dlib/geometry.h | 1 + dlib/geometry/polygon.h | 92 ++++++++++++++++++++ dlib/geometry/polygon_abstract.h | 108 +++++++++++++++++++++++ dlib/gui_widgets/canvas_drawing.h | 84 +----------------- dlib/image_transforms/draw.h | 156 +++++++++++++++++++++++++++++++++- dlib/image_transforms/draw_abstract.h | 29 +++++++ dlib/test/geometry.cpp | 34 ++++++++ 7 files changed, 422 insertions(+), 82 deletions(-)
set correct cmake version in check
dlib/test/CMakeLists.txt | 2 +- examples/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fix ffmpeg cmake scripts not working with cmake 3.8
dlib/CMakeLists.txt | 2 +- dlib/cmake_utils/find_ffmpeg.cmake | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)
Fix crash when libX11 is missing locale support (#2747)
dlib/gui_core/gui_core_kernel_2.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Make everything work in cmake 3.8
dlib/test/CMakeLists.txt | 12 ++++++++++-- examples/CMakeLists.txt | 8 ++++++-- 2 files changed, 16 insertions(+), 4 deletions(-)
improve docs
tools/python/src/image_dataset_metadata.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Added bottom_up_cluster to python api (#2739)
tools/python/src/face_recognition.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)
powerpc/altivec: use __vector instead of vector (#2740)
dlib/simd/simd4f.h | 6 +++--- dlib/simd/simd4i.h | 14 +++++++------- dlib/simd/simd_check.h | 6 +++++- 3 files changed, 15 insertions(+), 11 deletions(-)
update docs
dlib/image_processing/box_overlap_testing_abstract.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
fix wrong union calculation in box_overlap_testing.h (#2735)
dlib/image_processing/box_overlap_testing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Add support for loading custom label fonts in imglab (#2733)
tools/imglab/src/main.cpp | 7 +++++-- tools/imglab/src/metadata_editor.cpp | 23 ++++++++++++++++++++++- tools/imglab/src/metadata_editor.h | 5 ++++- 3 files changed, 31 insertions(+), 4 deletions(-)
Fix for #2729 (#2731)
dlib/media/ffmpeg_utils.h | 11 +++++++++-- examples/ffmpeg_video_decoding_ex.cpp | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-)
Fix typo in input_layer documentation (#2725)
dlib/dnn/core_abstract.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix unused variable warning in Pybind11 (#2726)
dlib/python/numpy_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Rename ffmpeg examples (#2727)
examples/CMakeLists.txt | 8 ++++----
examples/{ffmpeg_info.cpp => ffmpeg_info_ex.cpp} | 0
examples/{ffmpeg_screen_grab.cpp => ffmpeg_screen_grab_ex.cpp} | 0
.../{ffmpeg_video_decoding.cpp => ffmpeg_video_decoding_ex.cpp} | 0
.../{ffmpeg_video_demuxing.cpp => ffmpeg_video_demuxing_ex.cpp} | 0
5 files changed, 4 insertions(+), 4 deletions(-)Add sum method to running stats (#2728)
dlib/statistics/statistics.h | 32 +++++++++++++++++++------------- dlib/statistics/statistics_abstract.h | 13 +++++++++++-- 2 files changed, 30 insertions(+), 15 deletions(-)
Strip binaries in release mode (#2721)
dlib/test/CMakeLists.txt | 17 ++++++----------- examples/CMakeLists.txt | 4 +++- 2 files changed, 9 insertions(+), 12 deletions(-)
added DLIB_USE_FFMPEG to config.h.in (#2720)
dlib/config.h.in | 1 + 1 file changed, 1 insertion(+)
FFMPEG wrappers: dlib::ffmpeg::decoder and dlib::ffmpeg::demuxer (#2707)
dlib/CMakeLists.txt | 20 +- dlib/cmake_utils/find_ffmpeg.cmake | 27 + dlib/constexpr_if.h | 6 +- dlib/image_processing/generic_image.h | 70 +- dlib/media.h | 15 + dlib/media/ffmpeg_abstract.h | 963 +++++++++++++++++++++ dlib/media/ffmpeg_demuxer.h | 1016 ++++++++++++++++++++++ dlib/media/ffmpeg_utils.h | 1239 +++++++++++++++++++++++++++ dlib/overloaded.h | 19 +- dlib/pixel.h | 27 + dlib/test/CMakeLists.txt | 4 + dlib/test/ffmpeg.cpp | 270 ++++++ dlib/test/ffmpeg_data/116-288045-0000.flac | Bin 0 -> 200761 bytes dlib/test/ffmpeg_data/116-288045-0001.m4a | Bin 0 -> 76264 bytes dlib/test/ffmpeg_data/LICENSE.TXT | 6 + dlib/test/ffmpeg_data/MOT17-13-SDP-raw.h265 | Bin 0 -> 2726926 bytes dlib/test/ffmpeg_data/MOT20-05-raw.mp4 | Bin 0 -> 13410105 bytes dlib/test/ffmpeg_data/MOT20-08-raw.h264 | Bin 0 -> 2582995 bytes dlib/test/ffmpeg_data/details.cfg | 62 ++ dlib/test/ffmpeg_data/elon-musk-smoke.gif | Bin 0 -> 2975863 bytes dlib/test/image.cpp | 61 ++ dlib/test/pixel.cpp | 30 + dlib/type_traits.h | 15 + examples/CMakeLists.txt | 11 +- examples/ffmpeg_info.cpp | 85 ++ examples/ffmpeg_screen_grab.cpp | 56 ++ examples/ffmpeg_video_decoding.cpp | 116 +++ examples/ffmpeg_video_demuxing.cpp | 155 ++++ examples/ffmpeg_webcam_face_pose_ex.cpp | 124 +++ 29 files changed, 4354 insertions(+), 43 deletions(-)
Fixed is_nothrow_swappable<> and simplified invoke-related type traits (#2716)
dlib/functional.h | 29 +++++++++++++---------------- dlib/test/invoke.cpp | 26 ++++++++++++++++++++++++++ dlib/type_traits.h | 31 +++++++++++++++++-------------- 3 files changed, 56 insertions(+), 30 deletions(-)
Added bind_front() and bind_back() (#2705)
dlib/any/any_function.h | 2 +- dlib/functional.h | 398 +++++++++++++++++++++++++++++++++++++++++++++ dlib/invoke.h | 311 +---------------------------------- dlib/metaprogramming.h | 2 +- dlib/test/constexpr_if.cpp | 2 +- dlib/test/invoke.cpp | 48 +++++- 6 files changed, 449 insertions(+), 314 deletions(-)
update example to refer to newer dlib version
examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
CMake: Make dependencies private (#2697)
dlib/CMakeLists.txt | 85 +++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 42 deletions(-)
Fix incorrect xml blocks for leaky_relu and smelu
dlib/dnn/layers.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
removed extra '<' in fc, added '\n' in layers/inputs/losses XML strings (#2698)
dlib/dnn/input.h | 16 ++++++++-------- dlib/dnn/layers.h | 7 +++---- dlib/dnn/loss.h | 40 ++++++++++++++++++++-------------------- 3 files changed, 31 insertions(+), 32 deletions(-)
Fix build on ppc64/mips64 (#2689)
dlib/matrix/lapack/fortran_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Suppress incorrect warning from gcc (#2691)
dlib/test/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+)
Reset last cuda error (#2685)
dlib/cuda/cuda_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Improve the data augmentation in the SSL example (#2684)
examples/dnn_self_supervised_learning_ex.cpp | 57 +++++++--------------------- 1 file changed, 13 insertions(+), 44 deletions(-)
Add an informative comment
tools/python/src/dlib.cpp | 8 ++++++++ 1 file changed, 8 insertions(+)
Fix computation of the Barlow Twins loss gradient (#2680)
dlib/dnn/loss.h | 10 +++++----- examples/dnn_self_supervised_learning_ex.cpp | 26 ++++++++++++++------------ 2 files changed, 19 insertions(+), 17 deletions(-)
Fix empirical cross-correlation computation in the SSL example (#2679)
examples/dnn_self_supervised_learning_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Type erasure tooling (#2666)
dlib/any/any.h | 176 +----- dlib/any/any_abstract.h | 19 +- dlib/any/any_decision_function.h | 194 +----- dlib/any/any_decision_function_abstract.h | 206 +------ dlib/any/any_function.h | 945 +++-------------------------- dlib/any/any_function_abstract.h | 138 ++--- dlib/any/any_function_impl.h | 516 ---------------- dlib/any/any_function_impl2.h | 44 -- dlib/any/any_trainer.h | 204 ++----- dlib/any/any_trainer_abstract.h | 9 + dlib/any/storage.h | 966 ++++++++++++++++++++++++++++++ dlib/invoke.h | 14 +- dlib/test/CMakeLists.txt | 1 + dlib/test/any.cpp | 5 + dlib/test/te.cpp | 505 ++++++++++++++++ 15 files changed, 1751 insertions(+), 2191 deletions(-)
Miscellaneous cleanup and refresh (#2661)
dlib/algs.h | 338 +++------------------ dlib/any/any.h | 11 +- dlib/any/any_decision_function.h | 10 +- dlib/any/any_function_impl.h | 26 +- dlib/any/any_trainer.h | 10 +- .../bound_function_pointer_kernel_1.h | 20 +- dlib/bridge/bridge.h | 4 +- dlib/constexpr_if.h | 8 +- dlib/dnn/core.h | 258 +++++++--------- dlib/global_optimization/find_max_global.h | 10 +- dlib/metaprogramming.h | 44 +-- dlib/overloaded.h | 2 +- dlib/serialize.h | 94 ++---- dlib/threads/thread_pool_extension.h | 20 +- dlib/type_safe_union/type_safe_union_kernel.h | 110 +++---- .../type_safe_union_kernel_abstract.h | 13 + dlib/type_traits.h | 188 ++++++++++++ dlib/utility.h | 76 +---- tools/python/src/global_optimization.cpp | 2 +- 19 files changed, 493 insertions(+), 751 deletions(-)
fix typo in docs
dlib/type_safe_union/type_safe_union_kernel_abstract.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
add missing palette_neon_intrinsics.c file (#2664)
dlib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)
Modernize random_color_transform (#2665)
dlib/image_transforms/random_color_transform.h | 29 ++++++++++++-------------- 1 file changed, 13 insertions(+), 16 deletions(-)
Fix visitor when tag layer is followed by skip layer (#2662)
dlib/dnn/visitors.h | 9 +++++++++ 1 file changed, 9 insertions(+)
Update Pybind11 to v2.10.0 (#2660)
dlib/external/pybind11/CMakeLists.txt | 376 ++- dlib/external/pybind11/CONTRIBUTING.md | 47 - dlib/external/pybind11/LICENSE | 2 +- dlib/external/pybind11/README.md | 129 - dlib/external/pybind11/README.rst | 180 ++ dlib/external/pybind11/include/pybind11/attr.h | 397 ++- .../pybind11/include/pybind11/buffer_info.h | 175 +- dlib/external/pybind11/include/pybind11/cast.h | 2200 +++++++--------- dlib/external/pybind11/include/pybind11/chrono.h | 187 +- dlib/external/pybind11/include/pybind11/complex.h | 43 +- .../pybind11/include/pybind11/detail/class.h | 406 +-- .../pybind11/include/pybind11/detail/common.h | 1090 +++++--- .../pybind11/include/pybind11/detail/descr.h | 267 +- .../pybind11/include/pybind11/detail/init.h | 301 ++- .../pybind11/include/pybind11/detail/internals.h | 473 +++- .../include/pybind11/detail/type_caster_base.h | 1010 ++++++++ .../pybind11/include/pybind11/detail/typeid.h | 38 +- dlib/external/pybind11/include/pybind11/eigen.h | 568 +++-- dlib/external/pybind11/include/pybind11/embed.h | 193 +- dlib/external/pybind11/include/pybind11/eval.h | 129 +- .../pybind11/include/pybind11/functional.h | 101 +- dlib/external/pybind11/include/pybind11/gil.h | 202 ++ dlib/external/pybind11/include/pybind11/iostream.h | 157 +- dlib/external/pybind11/include/pybind11/numpy.h | 1553 ++++++----- .../external/pybind11/include/pybind11/operators.h | 259 +- dlib/external/pybind11/include/pybind11/options.h | 45 +- dlib/external/pybind11/include/pybind11/pybind11.h | 2689 +++++++++++++------- dlib/external/pybind11/include/pybind11/pytypes.h | 1838 ++++++++++--- dlib/external/pybind11/include/pybind11/stl.h | 301 ++- .../pybind11/include/pybind11/stl/filesystem.h | 116 + dlib/external/pybind11/include/pybind11/stl_bind.h | 696 +++-- dlib/external/pybind11/tools/FindCatch.cmake | 23 +- dlib/external/pybind11/tools/FindEigen3.cmake | 31 +- .../pybind11/tools/FindPythonLibsNew.cmake | 263 +- dlib/external/pybind11/tools/check-style.sh | 40 +- .../pybind11/tools/cmake_uninstall.cmake.in | 23 + dlib/external/pybind11/tools/libsize.py | 10 +- dlib/external/pybind11/tools/make_changelog.py | 63 + dlib/external/pybind11/tools/mkdoc.py | 304 --- dlib/external/pybind11/tools/pybind11Common.cmake | 385 +++ .../pybind11/tools/pybind11Config.cmake.in | 305 ++- .../external/pybind11/tools/pybind11NewTools.cmake | 254 ++ dlib/external/pybind11/tools/pybind11Tools.cmake | 322 +-- dlib/external/pybind11/tools/pyproject.toml | 3 + dlib/external/pybind11/tools/setup_global.py.in | 59 + dlib/external/pybind11/tools/setup_main.py.in | 40 + dlib/python/numpy_image.h | 34 +- tools/python/test/test_numpy_returns.py | 25 +- 48 files changed, 12155 insertions(+), 6197 deletions(-)
Add missing include
dlib/test/constexpr_if.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
if constexpr() for C++14 (#2654)
dlib/constexpr_if.h | 138 ++++++++++++++ dlib/overloaded.h | 115 ++++++++++++ dlib/test/CMakeLists.txt | 1 + dlib/test/constexpr_if.cpp | 206 +++++++++++++++++++++ dlib/type_safe_union/type_safe_union_kernel.h | 49 +---- .../type_safe_union_kernel_abstract.h | 62 ------- dlib/utility.h | 74 +++----- 7 files changed, 493 insertions(+), 152 deletions(-)
Do the bias addition in the convolution in a separate call (#2656)
dlib/dnn/layers.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-)
Add test for libwebp at configure time (#2658)
dlib/cmake_utils/find_libwebp.cmake | 34 +++++++++++++++++----- dlib/cmake_utils/test_for_libwebp/CMakeLists.txt | 7 +++++ dlib/cmake_utils/test_for_libwebp/libwebp_test.cpp | 22 ++++++++++++++ dlib/image_loader/webp_loader.cpp | 3 -- 4 files changed, 55 insertions(+), 11 deletions(-)
Small YOLO loss improvements (#2653)
dlib/dnn/loss.h | 118 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 59 insertions(+), 59 deletions(-)
Add multiclass SVM trainer to svm/auto.h (#2642)
dlib/svm/auto.cpp | 107 +++++++++++++++++++++-- dlib/svm/auto.h | 20 +++++ dlib/svm/auto_abstract.h | 47 +++++++++- dlib/svm/svm_multiclass_linear_trainer.h | 1 + examples/dnn_self_supervised_learning_ex.cpp | 124 ++++++++++----------------- 5 files changed, 213 insertions(+), 86 deletions(-)
Use only a fraction of labels for the multiclass SVM in SSL example (#2641)
examples/dnn_self_supervised_learning_ex.cpp | 45 ++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 6 deletions(-)
- possible for fix for MSVC (#2637)
dlib/math/bessel.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
stft(), istft(), stftr() and istftr() (#2627)
dlib/math.h | 9 + dlib/math/bessel.h | 37 ++ dlib/math/details/bessel.h | 104 ++++ dlib/math/windows.h | 209 +++++++ dlib/matrix/matrix_fft.h | 249 ++++++++ dlib/matrix/matrix_fft_abstract.h | 165 ++++++ dlib/numeric_constants.h | 38 +- dlib/test/CMakeLists.txt | 1 + dlib/test/fft.cpp | 150 ++++- dlib/test/math.cpp | 381 ++++++++++++ dlib/test/stft_good_data.h | 1164 +++++++++++++++++++++++++++++++++++++ 11 files changed, 2492 insertions(+), 15 deletions(-)
Fix Cudnn test project bug (#2634)
dlib/cuda/cudnn_dlibapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Modernize rounding and cast statements (#2633)
dlib/bigint/bigint_kernel_2.cpp | 4 ++-- dlib/geometry/drectangle.h | 8 ++++---- dlib/geometry/rectangle.h | 12 ++++++------ dlib/gui_widgets/canvas_drawing.h | 24 ++++++++++++------------ dlib/image_keypoint/hessian_pyramid.h | 4 ++-- dlib/image_keypoint/surf.h | 4 ++-- dlib/image_transforms/draw.h | 8 ++++---- dlib/image_transforms/fhog.h | 14 +++++++------- dlib/image_transforms/image_pyramid.h | 4 ++-- dlib/image_transforms/interpolation.h | 2 +- dlib/matrix/matrix_math_functions.h | 4 ++-- dlib/test/CMakeLists.txt | 15 ++++++++------- dlib/test/fhog.cpp | 18 +++++++++--------- examples/dnn_self_supervised_learning_ex.cpp | 2 +- 14 files changed, 62 insertions(+), 61 deletions(-)
Only try to find iomp if we have really found the IntelMKL
dlib/cmake_utils/find_blas.cmake | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Make parallel_for_verbose() only print finish statement if it also printed something before then.
dlib/threads/parallel_for_extension.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
Make C++14 and CMake 3.8.0 the new minimum required versions
dlib/CMakeLists.txt | 26 ++--- dlib/cmake | 2 +- dlib/cmake_utils/add_global_compiler_switch.cmake | 35 ------- ...ck_if_avx_instructions_executable_on_host.cmake | 2 +- dlib/cmake_utils/check_if_neon_available.cmake | 2 +- ...k_if_sse4_instructions_executable_on_host.cmake | 2 +- dlib/cmake_utils/find_libjpeg.cmake | 2 +- dlib/cmake_utils/find_libpng.cmake | 2 +- .../set_compiler_specific_options.cmake | 41 +------- .../tell_visual_studio_to_use_static_runtime.cmake | 5 +- dlib/cmake_utils/test_for_avx/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_cpp11/CMakeLists.txt | 17 --- dlib/cmake_utils/test_for_cpp11/cpp11_test.cpp | 53 ---------- dlib/cmake_utils/test_for_cuda/CMakeLists.txt | 4 +- dlib/cmake_utils/test_for_cudnn/CMakeLists.txt | 7 +- dlib/cmake_utils/test_for_libjpeg/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_libpng/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_neon/CMakeLists.txt | 2 +- dlib/cmake_utils/test_for_sse4/CMakeLists.txt | 2 +- dlib/cmake_utils/use_cpp_11.cmake | 115 --------------------- dlib/external/cblas/CMakeLists.txt | 2 +- dlib/external/pybind11/CMakeLists.txt | 14 +-- dlib/external/pybind11/tools/pybind11Tools.cmake | 2 +- dlib/java/CMakeLists.txt | 2 +- dlib/java/cmake_swig_jni | 8 +- dlib/matlab/CMakeLists.txt | 2 +- dlib/matlab/cmake_mex_wrapper | 2 +- dlib/test/CMakeLists.txt | 2 +- dlib/test/blas_bindings/CMakeLists.txt | 2 +- dlib/test/tools/CMakeLists.txt | 2 +- examples/CMakeLists.txt | 98 +++++++----------- tools/archive/CMakeLists.txt | 2 +- tools/convert_dlib_nets_to_caffe/CMakeLists.txt | 2 +- tools/htmlify/CMakeLists.txt | 2 +- tools/imglab/CMakeLists.txt | 2 +- tools/python/CMakeLists.txt | 7 +- 36 files changed, 80 insertions(+), 396 deletions(-)
fix non-determinism in test due to reading uninitialized values.
dlib/test/image.cpp | 62 +++++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 30 deletions(-)
Make xml parser more robust to bad inputs
dlib/xml_parser/xml_parser_kernel_1.h | 5 +++++ 1 file changed, 5 insertions(+)
YOLO improvements: Smoothed L1 loss, Focal Loss, Weighted Loss (#2628)
dlib/dnn/loss.h | 92 ++++++++++++++++++++++++++++++++++-------------- dlib/dnn/loss_abstract.h | 26 ++++++++++---- 2 files changed, 85 insertions(+), 33 deletions(-)
Bug fix for fftr on matrix expression. Clearly nobody is doing FFTs with dlib as this bug has been lingering for a couple years now (#2626)
dlib/matrix/matrix_fft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix typo in the self-supervised learning example (#2623)
examples/dnn_self_supervised_learning_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
more tweaks cleanup and fixes for ci builds
dlib/appveyor/dtest.yml | 19 ------------------- dlib/appveyor/dtest_vc2017.yml | 21 --------------------- dlib/appveyor/examples.yml | 16 ---------------- dlib/appveyor/python.yml | 14 -------------- 4 files changed, 70 deletions(-)
remove broken python tests
tools/python/test/test_face_chip.npy | Bin 67628 -> 0 bytes tools/python/test/test_numpy_returns.py | 16 ---------------- 2 files changed, 16 deletions(-)
removing travis configs since we haven't used travis in months
dlib/travis/build-and-test.sh | 62 ------------------------------------------- dlib/travis/get-old-cmakes.sh | 42 ----------------------------- 2 files changed, 104 deletions(-)
Update libjpeg to version 9e (#2619)
dlib/external/libjpeg/README | 725 +-- dlib/external/libjpeg/cderror.h | 270 +- dlib/external/libjpeg/cdjpeg.h | 376 +- dlib/external/libjpeg/jaricom.c | 306 +- dlib/external/libjpeg/jcapimin.c | 576 +- dlib/external/libjpeg/jcapistd.c | 323 +- dlib/external/libjpeg/jcarith.c | 1882 +++---- dlib/external/libjpeg/jccoefct.c | 910 ++-- dlib/external/libjpeg/jccolor.c | 1091 ++-- dlib/external/libjpeg/jcdctmgr.c | 948 ++-- dlib/external/libjpeg/jchuff.c | 3216 +++++------ dlib/external/libjpeg/jcinit.c | 314 +- dlib/external/libjpeg/jcmainct.c | 590 +- dlib/external/libjpeg/jcmarker.c | 1399 ++--- dlib/external/libjpeg/jcmaster.c | 1533 +++--- dlib/external/libjpeg/jcomapi.c | 350 +- dlib/external/libjpeg/jconfig.h | 103 +- dlib/external/libjpeg/jcparam.c | 1223 ++--- dlib/external/libjpeg/jcprepct.c | 716 +-- dlib/external/libjpeg/jcsample.c | 1090 ++-- dlib/external/libjpeg/jctrans.c | 781 +-- dlib/external/libjpeg/jdapimin.c | 808 +-- dlib/external/libjpeg/jdapistd.c | 551 +- dlib/external/libjpeg/jdarith.c | 1572 +++--- dlib/external/libjpeg/jdatadst.c | 534 +- dlib/external/libjpeg/jdatasrc.c | 549 +- dlib/external/libjpeg/jdcoefct.c | 1485 +++--- dlib/external/libjpeg/jdcolor.c | 1290 +++-- dlib/external/libjpeg/jdct.h | 802 +-- dlib/external/libjpeg/jddctmgr.c | 768 +-- dlib/external/libjpeg/jdhuff.c | 3100 +++++------ dlib/external/libjpeg/jdinput.c | 1318 +++-- dlib/external/libjpeg/jdmainct.c | 1023 ++-- dlib/external/libjpeg/jdmarker.c | 2911 +++++----- dlib/external/libjpeg/jdmaster.c | 1063 ++-- dlib/external/libjpeg/jdmerge.c | 838 +-- dlib/external/libjpeg/jdpostct.c | 580 +- dlib/external/libjpeg/jdsample.c | 702 ++- dlib/external/libjpeg/jdtrans.c | 280 +- dlib/external/libjpeg/jerror.c | 505 +- dlib/external/libjpeg/jerror.h | 608 +-- dlib/external/libjpeg/jfdctflt.c | 350 +- dlib/external/libjpeg/jfdctfst.c | 462 +- dlib/external/libjpeg/jfdctint.c | 8763 +++++++++++++++--------------- dlib/external/libjpeg/jidctflt.c | 473 +- dlib/external/libjpeg/jidctfst.c | 719 ++- dlib/external/libjpeg/jidctint.c | 10377 ++++++++++++++++++------------------ dlib/external/libjpeg/jinclude.h | 188 +- dlib/external/libjpeg/jmemansi.c | 334 +- dlib/external/libjpeg/jmemmgr.c | 2234 ++++---- dlib/external/libjpeg/jmemname.c | 552 +- dlib/external/libjpeg/jmemnobs.c | 222 +- dlib/external/libjpeg/jmemsys.h | 396 +- dlib/external/libjpeg/jmorecfg.h | 815 +-- dlib/external/libjpeg/jpegint.h | 871 +-- dlib/external/libjpeg/jpeglib.h | 2343 ++++---- dlib/external/libjpeg/jpegtran.c | 1214 +++-- dlib/external/libjpeg/jquant1.c | 1708 +++--- dlib/external/libjpeg/jquant2.c | 2622 ++++----- dlib/external/libjpeg/jutils.c | 451 +- dlib/external/libjpeg/jversion.h | 28 +- dlib/external/libjpeg/makefile.dj | 227 - dlib/external/libjpeg/rdbmp.c | 949 ++-- dlib/external/libjpeg/rdcolmap.c | 506 +- dlib/external/libjpeg/rdgif.c | 717 ++- dlib/external/libjpeg/rdjpgcom.c | 1030 ++-- dlib/external/libjpeg/rdppm.c | 960 ++-- dlib/external/libjpeg/rdrle.c | 767 ++- dlib/external/libjpeg/rdswitch.c | 728 ++- dlib/external/libjpeg/rdtarga.c | 1000 ++-- dlib/external/libjpeg/readme.dos | 15 - dlib/external/libjpeg/transupp.c | 4031 ++++++++------ dlib/external/libjpeg/transupp.h | 443 +- dlib/external/libjpeg/wrbmp.c | 879 ++- dlib/external/libjpeg/wrgif.c | 965 ++-- dlib/external/libjpeg/wrjpgcom.c | 1182 ++-- dlib/external/libjpeg/wrppm.c | 533 +- dlib/external/libjpeg/wrrle.c | 611 +-- dlib/external/libjpeg/wrtarga.c | 507 +- 79 files changed, 46911 insertions(+), 44270 deletions(-)
Use chrono in console progress indicator and add finish method (#2617)
dlib/console_progress_indicator.h | 93 ++++++++++++++++++++++++----------- dlib/threads/parallel_for_extension.h | 9 ++++ 2 files changed, 74 insertions(+), 28 deletions(-)
type_safe_union : visit() and apply_to_contents() performance improvements (#2615)
dlib/type_safe_union/type_safe_union_kernel.h | 136 ++++++++------------------ dlib/utility.h | 13 +++ 2 files changed, 55 insertions(+), 94 deletions(-)
fix spelling (#2614)
dlib/type_safe_union/type_safe_union_kernel.h | 8 ++++---- dlib/utility.h | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-)
noexcept dlib::type_safe_union::swap() (#2604)
dlib/type_safe_union/type_safe_union_kernel.h | 89 +++++++++++++--------- .../type_safe_union_kernel_abstract.h | 7 +- dlib/utility.h | 87 +++++++++++++++++++++ 3 files changed, 143 insertions(+), 40 deletions(-)
Fix potential memory leak when writing WebP throws (#2600)
dlib/image_saver/save_webp.cpp | 3 +++ 1 file changed, 3 insertions(+)
Fix assert having wrong condition
tools/python/src/global_optimization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix saving grayscale WebP images (#2591)
dlib/image_saver/save_webp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Record last changeset and set PATCH version to 99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created release v19.24
dlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)