Old Change Logs
Revision: 590f77031a48e747
Author: Davis King
Date: Jul 12, 2018 (12:01:43 UTC)

Work around bug in older version of nvcc.

Modified
dlib/optimization/optimization_oca.h

Revision: 8f274e4d0a016b7f
Author: YuriiOlenych
Date: Jul 09, 2018 (20:53:56 UTC)

Added static_cast and additional braces to fix compilation warnings. (#1405)

Modified
dlib/cuda/tensor_tools.cpp
dlib/geometry/line.h
dlib/image_transforms/interpolation.h

Revision: d526e4f631d9710b
Author: Davis King
Date: Jul 12, 2018 (08:46:50 UTC)

Added is_image_type and also fixed have_same_dimensions() so that the version specific to images is only called on images. So this fixes a bug where the image version of have_same_dimensions() was being called for tensors and therefore only looking at the nr and nc dimension while ignoring the others. This caused some parts of the DNN tooling to malfunction.

Modified
dlib/image_processing/generic_image.h

Revision: 71a54c942059a8ac
Author: Davis King
Date: Jul 10, 2018 (03:44:44 UTC)

Include the *_tutorial.txt error files in dlib installs.

Modified
dlib/CMakeLists.txt

Revision: 3d9df83266b1dee7
Author: Davis King
Date: Jul 09, 2018 (02:57:58 UTC)

Fixed compile error I just introduced.

Modified
tools/python/src/image4.cpp

Revision: dd0144ff59ae75d2
Author: Davis King
Date: Jul 08, 2018 (14:08:42 UTC)

clarified docs

Modified
dlib/image_transforms/hough_transform_abstract.h
tools/python/src/image4.cpp

Revision: 4228e45cfb7ac06f
Author: Davis King
Date: Jul 08, 2018 (09:37:31 UTC)

Fixed sub_image(), in the pyhton API, not working correctly for non-8bit images.

Modified
tools/python/src/image2.cpp

Revision: 9ebb7a324d16b11d
Author: Davis King
Date: Jul 08, 2018 (04:57:10 UTC)

Cleaned up hysteresis_threshold() code a bit and also removed the hard coded limit on pixel chain recursion depth.

Modified
dlib/image_transforms/thresholding.h

Revision: 62fe7d985d695367
Author: Davis King
Date: Jul 07, 2018 (12:22:48 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 20171d55ebbc886d
Author: Davis King
Date: Jul 07, 2018 (12:21:04 UTC)

Created release v19.14

Modified
dlib/CMakeLists.txt

Revision: 803cd63eed191274
Author: Davis King
Date: Jul 07, 2018 (12:05:42 UTC)

clarified spec

Modified
dlib/geometry/vector_abstract.h

Revision: 1f11133340b57e51
Author: Davis King
Date: Jul 07, 2018 (11:35:09 UTC)

Clarified docs

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: 7929198003bf6aed
Author: Davis King
Date: Jul 07, 2018 (11:31:42 UTC)

Clarified docs

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: 6402b24f243c3133
Author: Davis King
Date: Jul 07, 2018 (10:10:30 UTC)

Split image2.cpp into two files to help speed up the build.

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
tools/python/src/image2.cpp
Added
tools/python/src/image4.cpp

Revision: 16f44daf7dda5870
Author: Davis King
Date: Jul 07, 2018 (10:01:08 UTC)

Split image.cpp into two files so builds are more parallelizeable.

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
tools/python/src/image.cpp
Added
tools/python/src/image3.cpp

Revision: 3ed81fc6a621074d
Author: Davis King
Date: Jul 07, 2018 (04:59:16 UTC)

Disable LTO since it basically just makes the build process slow.

Modified
tools/python/CMakeLists.txt

Revision: 8a50c27a9522bf0f
Author: Davis King
Date: Jul 04, 2018 (16:35:22 UTC)

Added spatially_filter_image() and spatially_filter_image_separable() do the python API.

Modified
tools/python/src/image2.cpp

Revision: 019a1f9186c20240
Author: Davis King
Date: Jul 03, 2018 (05:41:22 UTC)

clarified docs

Modified
tools/python/src/global_optimization.cpp

Revision: 04fef79989bf1e1f
Author: Davis King
Date: Jul 03, 2018 (05:17:51 UTC)

Just a bit of code cleanup

Modified
tools/imglab/src/main.cpp

Revision: 4cada414e1d4bced
Author: Davis King
Date: Jul 03, 2018 (05:15:46 UTC)

Made rectangle_transform measure area the same way the rectangle's .area() does so that things are a little more consistent.

Modified
dlib/geometry/point_transforms.h

Revision: 9d9f91a740069430
Author: Davis King
Date: Jul 03, 2018 (03:51:34 UTC)

Made the routines that rotate image datasets use the rectangle_transform instead of the bad old way that only really worked for square boxes.

Modified
dlib/image_transforms/interpolation.h

Revision: 661e4435cf9e1841
Author: Davis King
Date: Jul 03, 2018 (03:35:05 UTC)

Fixed spelling errors in comment.

Modified
dlib/geometry/point_transforms.h

Revision: 536ebb317971c40c
Author: Joel Nelson
Date: Jun 29, 2018 (08:39:27 UTC)

detect file extension of mex function

Modified
dlib/matlab/cmake_mex_wrapper

Revision: 0e615be3d55d030a
Author: Davis King
Date: Jun 29, 2018 (06:23:38 UTC)

Fixed errors on OS X for some kinds of builds.

Modified
dlib/CMakeLists.txt

Revision: 30300751c5eda600
Author: Davis King
Date: Jun 28, 2018 (17:43:42 UTC)

Make pybind11 not break builds that include cuda files.

Modified
dlib/external/pybind11/tools/pybind11Tools.cmake

Revision: 9213381fda29cc17
Author: Davis King
Date: Jun 28, 2018 (13:17:13 UTC)

Set visibility to hidden for cuda as well as c++.

Modified
dlib/external/pybind11/tools/pybind11Tools.cmake

Revision: 9f97964c06e77722
Author: Davis King
Date: Jun 28, 2018 (-04:58:48 UTC)

Fixed busted assert.

Modified
tools/python/src/image2.cpp

Revision: 86e34f78375a3109
Author: Davis King
Date: Jun 27, 2018 (03:57:03 UTC)

Fixed docstrings not showing the right types.

Modified
tools/python/src/face_recognition.cpp

Revision: dee9cf0a6e3d923c
Author: Davis King
Date: Jun 27, 2018 (03:49:38 UTC)

cleanup

Modified
tools/python/src/face_recognition.cpp

Revision: 215ae64123ea6dd5
Author: Guillaume "Vermeille" Sanchez
Date: Jun 27, 2018 (15:22:12 UTC)

Allow batched face recognition for greater performances (#1335)

Modified
tools/python/src/face_recognition.cpp

Revision: 96033a5d330b8d60
Author: Davis King
Date: Jun 27, 2018 (-03:56:29 UTC)

Never use anaconda's version of libpng because it's broken.

Modified
dlib/CMakeLists.txt

Revision: 244260d9b5878f38
Author: Davis King
Date: Jun 25, 2018 (17:11:35 UTC)

Added detection_window_width, detection_window_height, and num_detectors fields to the simple object detection objects in the Python API.

Modified
tools/python/src/object_detection.cpp

Revision: c16828ac2fdb5243
Author: Davis King
Date: Jun 23, 2018 (09:07:41 UTC)

Made overlay_line use dpoints instead of point and also made it render the line from the middle of the pixel.

Modified
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h
dlib/gui_widgets/widgets_abstract.h

Revision: 03e8c13bee2258e2
Author: Davis King
Date: Jun 23, 2018 (05:03:01 UTC)

Allow point and dpoint use for hough_transform stuff.

Modified
tools/python/src/image2.cpp

Revision: 704ea1e30350ae3b
Author: Davis King
Date: Jun 23, 2018 (05:02:35 UTC)

Made the hough_transform's functions for getting line coordinates use dpoint instead of point.

Modified
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform_abstract.h

Revision: 5fd0e4249b222aa6
Author: Davis King
Date: Jun 23, 2018 (04:37:10 UTC)

Made clip_line_to_rectangle() and nearest_point() work for point and dpoint.

Modified
dlib/geometry/rectangle.h
dlib/geometry/rectangle_abstract.h

Revision: c24a75d8ceae6abf
Author: Davis King
Date: Jun 23, 2018 (03:46:44 UTC)

fixed broken test

Modified
dlib/test/geometry.cpp

Revision: f302dccc611c423e
Author: Davis King
Date: Jun 22, 2018 (16:58:46 UTC)

Clarified docs

Modified
tools/python/src/image2.cpp

Revision: 6a247476800256e8
Author: Davis King
Date: Jun 22, 2018 (16:58:33 UTC)

Fixed hough_transform::find_pixels_voting_for_lines(). It would sometimes include a pixel multiple times in the output lists.

Modified
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform_abstract.h

Revision: e5b31b84ec9d00dc
Author: Davis King
Date: Jun 22, 2018 (16:57:16 UTC)

Updated count_points_on_side_of_line() python binding.

Modified
tools/python/src/line.cpp

Revision: 2bf816008b482226
Author: Davis King
Date: Jun 22, 2018 (16:56:31 UTC)

Made count_points_on_side_of_line() take a lower threshold in addition to the upper threshold. This changes the function's API.

Modified
dlib/geometry/line.h
dlib/geometry/line_abstract.h

Revision: 01cac2bbb85bd23d
Author: Davis King
Date: Jun 21, 2018 (17:52:50 UTC)

Made remove_duplicates() take any type rather than just being limited to rectangle.

Modified
dlib/image_transforms/segment_image.h
dlib/image_transforms/segment_image_abstract.h

Revision: ca92a792f81d29cf
Author: Davis King
Date: Jun 21, 2018 (14:16:13 UTC)

Fixed grammar in docs

Modified
tools/python/src/image2.cpp

Revision: 71c488a907d1f6c7
Author: Davis King
Date: Jun 21, 2018 (14:14:59 UTC)

Fixed grammar in comment.

Modified
dlib/image_transforms/hough_transform_abstract.h

Revision: 4a042a3130072027
Author: Davis King
Date: Jun 20, 2018 (14:23:37 UTC)

Made hysteresis_threshold() return a uint8 image so it's consistent with threshold_image().

Modified
tools/python/src/image.cpp

Revision: 2f3430766a10f129
Author: Davis King
Date: Jun 18, 2018 (18:10:15 UTC)

Made add_overlay() work with more input types in python.

Modified
tools/python/src/gui.cpp

Revision: 564250d3a6c61eb5
Author: Davis King
Date: Jun 18, 2018 (17:56:02 UTC)

Fixed integer overflow.

Modified
tools/python/src/simple_object_detector.h

Revision: 90542013660daf59
Author: Davis King
Date: Jun 18, 2018 (17:37:06 UTC)

Added max runtime option to object detector trainer API in python.

Modified
tools/python/src/object_detection.cpp
tools/python/src/simple_object_detector.h

Revision: 3bc8d79450740a0a
Author: Davis King
Date: Jun 18, 2018 (17:36:36 UTC)

Added a --split-train-test option to imglab.

Modified
tools/imglab/src/main.cpp

Revision: 16f30758ee6d7c0a
Author: Davis King
Date: Jun 18, 2018 (17:36:00 UTC)

Added a max runtime option.

Modified
dlib/svm/structural_object_detection_trainer.h
dlib/svm/structural_object_detection_trainer_abstract.h

Revision: 7611bbffda4312d4
Author: Davis King
Date: Jun 18, 2018 (17:35:40 UTC)

Added a max runtime option to the oca solver.

Modified
dlib/optimization/optimization_oca.h
dlib/optimization/optimization_oca_abstract.h

Revision: 7112c10316a0d3c0
Author: Davis King
Date: Jun 17, 2018 (19:17:36 UTC)

Made it so you can call the std::vector<detectors> version of the object_detector constructor from python. So now you can pack multiple detectors into one object via the python API.

Modified
tools/python/src/object_detection.cpp

Revision: 31a4992fa031f706
Author: Davis King
Date: Jun 17, 2018 (17:22:24 UTC)

Made the run_multiple() routine work identically for fhog and simple object detectors.

Modified
tools/python/src/object_detection.cpp
tools/python/src/simple_object_detector_py.h

Revision: 8e23f81cf792fed5
Author: Davis King
Date: Jun 17, 2018 (05:17:45 UTC)

Added translate_rect() to python API

Modified
tools/python/src/rectangles.cpp

Revision: 7839c94a93ae1b21
Author: Davis King
Date: Jun 17, 2018 (04:29:17 UTC)

Fixed print formatting.

Modified
tools/python/src/shape_predictor.h

Revision: ba4762482fffb22f
Author: Davis King
Date: Jun 16, 2018 (13:36:17 UTC)

Made it so you can display arbitrary full_object_detection objects on the image_window in Python.

Modified
tools/python/src/gui.cpp

Revision: b2435ac26e9c94e3
Author: Davis King
Date: Jun 16, 2018 (13:25:12 UTC)

Changed the overlay_circle so you can give a double radius rather than just an integer radius. Also made the circles centered on the center of the pixel at their center when you zoom in.

Modified
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h

Revision: 64dc496da4a101ff
Author: Davis King
Date: Jun 16, 2018 (13:02:33 UTC)

Allow python to set the padding mode of the shape_predictor_trainer.

Modified
tools/python/src/shape_predictor.cpp
tools/python/src/shape_predictor.h

Revision: d4f6e5361f125b4d
Author: Davis King
Date: Jun 16, 2018 (12:17:38 UTC)

Made it so you can fully build image_dataset_metadata::dataset objects from python.

Modified
tools/python/src/image_dataset_metadata.cpp
tools/python/src/opaque_types.h

Revision: 5cb25cdead1390cd
Author: Davis King
Date: Jun 15, 2018 (11:58:19 UTC)

Fixed cblas_dtrmm and cblas_strsm not using CBLAS_INT_TYPE.

Modified
dlib/matrix/matrix_trsm.h

Revision: 7a3a51d368b8deb1
Author: Davis King
Date: Jun 12, 2018 (16:03:53 UTC)

Added zero_border_pixels() to the python API

Modified
tools/python/src/image2.cpp

Revision: b34d690c9b31245d
Author: Davis King
Date: Jun 12, 2018 (06:48:20 UTC)

Fix cuda not building on osx sometimes.

Modified
dlib/CMakeLists.txt

Revision: 3a4e85832b3f486e
Author: Davis King
Date: Jun 11, 2018 (18:39:24 UTC)

Removed spurious ;

Modified
dlib/python/numpy_image.h

Revision: dfed1c8e383e9530
Author: Davis King
Date: Jun 11, 2018 (18:38:50 UTC)

Added more overloads of memcpy() for cuda_data_ptr.

Modified
dlib/cuda/cuda_data_ptr.h

Revision: 358f5396a732a715
Author: Davis King
Date: Jun 10, 2018 (18:33:27 UTC)

Fixed dlib.threshold_image() ignoring the optional thresh argument.

Modified
tools/python/src/image.cpp

Revision: 6e1e705682f24ef5
Author: Davis King
Date: Jun 10, 2018 (18:16:30 UTC)

Added max_point() and max_point_interpolated() to the Python API.

Modified
tools/python/src/image2.cpp

Revision: e36c859e57220799
Author: Davis King
Date: Jun 10, 2018 (17:04:57 UTC)

Cleaned up the object_detector Python API a little and also pushed the nuclear norm regularization stuff to Python. This also includes adding num_separable_filters() and threshold_filter_singular_values() to the Python API.

Modified
tools/python/src/object_detection.cpp
tools/python/src/simple_object_detector.h

Revision: e8badd205da50d78
Author: Davis King
Date: Jun 10, 2018 (16:51:14 UTC)

A bit of cleanup

Modified
tools/python/src/shape_predictor.cpp
tools/python/src/shape_predictor.h

Revision: dc51611da08e3c43
Author: Davis King
Date: Jun 10, 2018 (16:50:44 UTC)

Made it so you can construct dlib.image_windows from detectors.

Modified
tools/python/src/gui.cpp

Revision: 2e2800a74ce83bbe
Author: Davis King
Date: Jun 10, 2018 (05:04:34 UTC)

Test for SSE4 instructions on the host before enabling them in the python extension module.

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake
Added
dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake
dlib/cmake_utils/test_for_sse4/CMakeLists.txt
dlib/cmake_utils/test_for_sse4/sse4_test.cpp
dlib/cmake_utils/test_for_sse4/this_file_doesnt_compile.cpp

Revision: 735251c4feb71eb3
Author: Davis King
Date: Jun 10, 2018 (04:50:15 UTC)

Fixed typo in comment string.

Modified
dlib/cmake_utils/test_for_avx/CMakeLists.txt

Revision: 9948a709f33393fe
Author: Davis King
Date: Jun 10, 2018 (04:48:07 UTC)

Added CMakeLists.txt for the stuff in tools/archive.

Added
tools/archive/CMakeLists.txt

Revision: bcfa4ae277739bc8
Author: Davis King
Date: Jun 08, 2018 (18:01:21 UTC)

Added the translation jittering option to the python API.

Modified
tools/python/src/shape_predictor.cpp
tools/python/src/shape_predictor.h

Revision: 5960368e0cbefb7a
Author: Davis King
Date: Jun 08, 2018 (17:51:17 UTC)

Added an option to do translational jittering of the bounding boxes in the shape_predictor_trainer.

Modified
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h

Revision: 02402c738d079843
Author: Davis King
Date: Jun 07, 2018 (17:03:59 UTC)

Fixed be_verbose not doing the right thing.

Modified
dlib/svm/auto.cpp

Revision: e8ad738f950f0147
Author: Davis King
Date: Jun 06, 2018 (19:07:01 UTC)

Added auto_train_rbf_classifier() and reduced() to the Python API.

Modified
tools/python/src/decision_functions.cpp

Revision: fa3bfc1df9b2d1ce
Author: Davis King
Date: Jun 06, 2018 (18:43:12 UTC)

Added auto_train_rbf_classifier()

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/svm.h
Added
dlib/svm/auto.cpp
dlib/svm/auto.h
dlib/svm/auto_abstract.h

Revision: 8cb9a6c71ae9df15
Author: Davis King
Date: Jun 06, 2018 (18:38:43 UTC)

Added an optional thread_pool argument to find_max_global() and find_min_global() to allow for parallel execution of the objective function calls.

Modified
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h

Revision: 48d742165d18dad4
Author: Davis King
Date: Jun 03, 2018 (09:45:19 UTC)

Made decision functions more viewable from python.

Modified
tools/python/src/decision_functions.cpp

Revision: 4cdaff8b363a73d1
Author: Davis King
Date: Jun 03, 2018 (04:17:43 UTC)

Clarified message

Modified
dlib/CMakeLists.txt

Revision: f5609120a1c53d95
Author: Augusto Fraga Giachero
Date: Jun 02, 2018 (17:33:29 UTC)

Ignore bmp reserved area (#1343) The 4 bytes starting from the 0x06 offset of a bmp file are marked as 'Reserved' but it doesn't guarantee that these bytes are zeroed, some applications uses this area for its own purposes and the output file still a valid bmp file.

Modified
dlib/image_loader/image_loader.h

Revision: 95d3e00d15874b12
Author: Augusto Fraga Giachero
Date: Jun 02, 2018 (11:16:04 UTC)

Fix bad_alloc exception when loading bmp images with negative height (#1341) The 'long' type can be 32 bits or 64 bits depending on what compiler you are using (LLP64 vs LP64). If the long type is 64 bits the biHeight variable will receive a very big number when the bmp image height is negative, causing a std::bad_alloc exception when calling the 'image.set_size' method.

Modified
dlib/image_loader/image_loader.h

Revision: de3de0d5f10b864a
Author: Alexis Tsogias
Date: Jun 02, 2018 (21:10:11 UTC)

Added option to link against mkl_sequential (#1302)

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/find_blas.cmake

Revision: 6b5e356878cec03b
Author: Davis King
Date: Jun 02, 2018 (14:53:28 UTC)

Make arrays of points and rectangles constructable with a size in the Python API.

Modified
tools/python/src/rectangles.cpp
tools/python/src/vector.cpp

Revision: 65de8b7a155286e0
Author: Davis King
Date: Jun 02, 2018 (14:52:42 UTC)

Fixed numpy_image not compiling when C++14 is enabled.

Modified
dlib/python/numpy_image.h

Revision: 7043186b8dabcb94
Author: Davis King
Date: Jun 02, 2018 (14:52:20 UTC)

Added a have_same_dimensions() for image types.

Modified
dlib/image_processing/generic_image.h

Revision: 8e8d8f6d39ddb8dd
Author: Davis King
Date: May 31, 2018 (19:03:43 UTC)

updated docs

Modified
tools/python/src/image2.cpp

Revision: 19a4a67ea9392d82
Author: Davis King
Date: May 31, 2018 (19:00:17 UTC)

Made .size of hough_transform a property rather than a function.

Modified
tools/python/src/image2.cpp

Revision: 3b23d696015012fb
Author: Davis King
Date: May 31, 2018 (18:29:19 UTC)

cleanup

Modified
tools/python/src/image2.cpp

Revision: 56afe2d5284625b8
Author: Davis King
Date: May 31, 2018 (18:15:57 UTC)

Fixed spelling error in comment

Modified
tools/python/CMakeLists.txt

Revision: 95ad2792fb0ee185
Author: Davis King
Date: May 31, 2018 (18:15:13 UTC)

Gave numpy_image a (rows,cols) constructor.

Modified
dlib/python/numpy_image.h

Revision: 97a9086419013501
Author: Davis King
Date: May 31, 2018 (17:59:14 UTC)

Cleaned up numpy_image code a little.

Modified
dlib/python/numpy_image.h

Revision: f6e9f74b4d55711e
Author: Davis King
Date: May 31, 2018 (17:35:10 UTC)

Made the image view objects implement the generic image interface. Not sure why I didn't do this a long time ago.

Modified
dlib/image_processing/generic_image.h

Revision: f4e0eefe1d38a24b
Author: Davis King
Date: May 31, 2018 (17:20:27 UTC)

Cleanup hough_transform pyhton binding

Modified
tools/python/src/image2.cpp

Revision: 314e78a0cc1b16dd
Author: Davis King
Date: May 31, 2018 (03:58:57 UTC)

Fixed cmake erroring out in some situations.

Modified
dlib/cmake_utils/test_for_avx/CMakeLists.txt

Revision: 43307d56dedf3e9b
Author: Davis King
Date: May 31, 2018 (03:28:04 UTC)

Print version information before doing anything else in cmake.

Modified
dlib/CMakeLists.txt

Revision: 8f9b0311eaf7fc9d
Author: Davis King
Date: May 28, 2018 (18:12:27 UTC)

Fixed spelling error

Modified
dlib/image_transforms/edge_detector_abstract.h

Revision: 00d307868d91880a
Author: Davis King
Date: May 28, 2018 (18:12:05 UTC)

Fixed spelling error

Modified
tools/python/src/image.cpp

Revision: f931366edd9d4b8d
Author: Davis King
Date: May 28, 2018 (16:52:42 UTC)

Added polygon_area() to python API

Modified
tools/python/src/vector.cpp

Revision: 88bf0d6caa8e52df
Author: Davis King
Date: May 28, 2018 (16:52:17 UTC)

Added polygon_area()

Modified
dlib/geometry/vector.h
dlib/geometry/vector_abstract.h

Revision: f1704909ab8a2c27
Author: Davis King
Date: May 28, 2018 (14:54:14 UTC)

Added sub_image() to python API. Also added an overload of get_rect() for hough_transform objects and made some argument names more consistent.

Modified
tools/python/src/image2.cpp

Revision: 6857c1ca9e20c8bf
Author: Davis King
Date: May 28, 2018 (14:53:22 UTC)

More overloads for rectangle.contains()

Modified
tools/python/src/rectangles.cpp

Revision: 7ac4c49076545dc8
Author: Davis King
Date: May 28, 2018 (14:53:02 UTC)

Added more operators for dpoint and point in the Pyhton API.

Modified
tools/python/src/vector.cpp

Revision: 49a61b10108d3649
Author: Davis King
Date: May 27, 2018 (16:53:53 UTC)

Cleaned up min_barrier_distance() code a bit and also made it more robust.

Modified
dlib/image_transforms/segment_image.h

Revision: 759c1b7ec5e8c419
Author: Davis King
Date: May 27, 2018 (07:05:20 UTC)

Added get_histogram() to the python API. Also added more overloads of label_connected_blobs().

Modified
tools/python/src/image.cpp
tools/python/src/image2.cpp

Revision: 7e4d375c443d75bf
Author: Davis King
Date: May 27, 2018 (07:00:25 UTC)

Avoid implicitly copying a matrix to numpy_image.

Modified
dlib/python/numpy_image.h

Revision: ddd5ac2a9432789e
Author: Davis King
Date: May 27, 2018 (04:35:45 UTC)

Fixed label_connected_blobs_watershed() not giving contiguous labels as outputs. Also cleaned up the code a bit.

Modified
dlib/image_transforms/label_connected_blobs.h

Revision: 9914f5d53a5ff99b
Author: Davis King
Date: May 26, 2018 (18:53:30 UTC)

Added center() and more overloads of centered_rect() to the Python API.

Modified
tools/python/src/rectangles.cpp

Revision: 7eb89ce3a7ce8899
Author: Davis King
Date: May 26, 2018 (18:38:16 UTC)

Added extract_image_chip() and extract_image_chips() to the Python API.

Modified
tools/python/src/image2.cpp

Revision: 23cdf9b352537192
Author: Davis King
Date: May 26, 2018 (18:15:52 UTC)

Made chip_details do something more benign when the user gives an empty rectangle.

Modified
dlib/image_transforms/interpolation.h

Revision: 91ddf1cfc84c5154
Author: Davis King
Date: May 26, 2018 (13:35:35 UTC)

Made dlib.range a little more like the python range.

Modified
tools/python/src/basic.cpp

Revision: 65b4b66373acc0cc
Author: Davis King
Date: May 26, 2018 (12:59:25 UTC)

Cleaned up code and fixed point and dpoint addition actually doing subtraction.

Modified
tools/python/src/rectangles.cpp
tools/python/src/vector.cpp

Revision: 3f0013d11229f47b
Author: Davis King
Date: May 26, 2018 (03:59:21 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: c7a90ee406355238
Author: Davis King
Date: May 26, 2018 (03:56:40 UTC)

Created release v19.13

Modified
dlib/CMakeLists.txt

Revision: 4ad8e21911f9bbb5
Author: Davis King
Date: May 25, 2018 (15:17:03 UTC)

Added a .add_overlay_circle() to dlib.image_window.

Modified
tools/python/src/gui.cpp

Revision: f6641566cd816fae
Author: Davis King
Date: May 25, 2018 (15:14:53 UTC)

Added min_barrier_distance() to the Python API.

Modified
tools/python/src/image2.cpp

Revision: 4c3d861fd07ab0a6
Author: Davis King
Date: May 25, 2018 (15:14:14 UTC)

Added min_barrier_distance() and also a new overload of get_histogram().

Modified
dlib/image_transforms/equalize_histogram.h
dlib/image_transforms/equalize_histogram_abstract.h
dlib/image_transforms/segment_image.h
dlib/image_transforms/segment_image_abstract.h

Revision: 787513929e91336f
Author: Davis King
Date: May 25, 2018 (15:12:22 UTC)

Cleaned up code and pushed is_rgb_image and is_grayscale_image somewhere more accessible.

Modified
dlib/image_processing/generic_image.h
dlib/image_saver/image_saver.h
dlib/image_transforms/interpolation.h

Revision: 880ad1dbf9dac770
Author: Davis King
Date: May 25, 2018 (15:03:00 UTC)

Fixed some python functions not taking as wide a range of images as they did in previous dlib versions.

Modified
tools/python/src/conversion.h
tools/python/src/shape_predictor.cpp

Revision: b625393bdcecf3db
Author: Davis King
Date: May 25, 2018 (15:02:31 UTC)

Added an assign_image() that takes py::array as source image.

Modified
dlib/python/numpy_image.h

Revision: e6620501fddce6c7
Author: Davis King
Date: May 24, 2018 (17:06:20 UTC)

Made skeleton(), in the python API, return the given image so you can chain calls easily.

Modified
tools/python/src/image.cpp

Revision: 79bba084d6926e9a
Author: Josiah Kane
Date: May 24, 2018 (19:20:17 UTC)

Add a default cpack "package" target. (#1330) * Add a default cpack "package" target. * Move cpack line to live with the other install and configure directives.

Modified
dlib/CMakeLists.txt

Revision: b62db2f3bade6826
Author: Davis King
Date: May 24, 2018 (16:59:45 UTC)

Renamed convert_rgb_to_grayscale() to as_grayscale() and made it take any numpy array as input.

Modified
tools/python/src/image.cpp

Revision: f1caa622e6c0d20d
Author: Davis King
Date: May 24, 2018 (16:59:19 UTC)

Added load_grayscale_image() to the Python API

Modified
tools/python/src/numpy_returns.cpp

Revision: 6524e69214a753c4
Author: Davis King
Date: May 24, 2018 (16:40:23 UTC)

Updated to work with new extract_image_4points() interface.

Modified
tools/python/src/image2.cpp

Revision: afaa87c4a95ea7fb
Author: Davis King
Date: May 24, 2018 (16:36:46 UTC)

Made extract_image_4points() use std::array instead of std::vector and also made it more robust to funky inputs.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: d70180fae4bc4e0d
Author: Davis King
Date: May 24, 2018 (16:36:06 UTC)

Added python_list_to_array()

Modified
dlib/python/pybind_utils.h

Revision: ee77df43b69cffc1
Author: Davis King
Date: May 24, 2018 (16:35:47 UTC)

Added is_convex_quadrilateral(), find_convex_quadrilateral(), and no_convex_quadrilateral.

Modified
dlib/geometry/line.h
dlib/geometry/line_abstract.h
dlib/geometry/vector.h
dlib/geometry/vector_abstract.h

Revision: e250c3ec53e92e77
Author: Davis King
Date: May 23, 2018 (19:06:48 UTC)

Added extract_image_4points() to the Python API.

Modified
tools/python/src/image2.cpp

Revision: 6f569e1b18c3f30d
Author: Davis King
Date: May 23, 2018 (19:06:31 UTC)

Added angle_between_lines() to the Python API.

Modified
tools/python/src/line.cpp

Revision: 2d8705c8ef574941
Author: Davis King
Date: May 23, 2018 (19:02:57 UTC)

Clarified spec

Modified
dlib/image_transforms/interpolation_abstract.h

Revision: 797278c2ca8d7a1a
Author: Davis King
Date: May 23, 2018 (18:53:18 UTC)

Added extract_image_4points()

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: ac4489e8283686b6
Author: Davis King
Date: May 23, 2018 (18:39:24 UTC)

Added angle_between_lines()

Modified
dlib/geometry/line.h
dlib/geometry/line_abstract.h

Revision: 6f87b41e975897c4
Author: Davis King
Date: May 23, 2018 (09:09:28 UTC)

Fixed warnings and sorta bugs.

Modified
tools/python/src/image.cpp

Revision: 61e72a23dbdf2bf1
Author: Davis King
Date: May 22, 2018 (19:02:42 UTC)

Added a version of transform_image() that works with projective transforms to the Python API.

Modified
tools/python/src/image2.cpp

Revision: 2fd54e5f8f063348
Author: Davis King
Date: May 22, 2018 (19:02:11 UTC)

Added point_transform_projective, find_projective_transform(), and inv() to the Python API.

Modified
tools/python/src/vector.cpp

Revision: 677a56944666516f
Author: Davis King
Date: May 22, 2018 (03:15:27 UTC)

A bit of cmake cleanup

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake
tools/python/CMakeLists.txt

Revision: 4b589ee22c3cd44f
Author: Davis King
Date: May 22, 2018 (03:01:09 UTC)

Removed notes about using --yes USE_AVX_INSTRUCTIONS when building python interface since AVX availability is now detected automatically by cmake.

Modified
README.md
python_examples/cnn_face_detector.py
python_examples/correlation_tracker.py
python_examples/face_alignment.py
python_examples/face_clustering.py
python_examples/face_detector.py
python_examples/face_jitter.py
python_examples/face_landmark_detection.py
python_examples/face_recognition.py
python_examples/find_candidate_object_locations.py
python_examples/max_cost_assignment.py
python_examples/opencv_webcam_face_detection.py
python_examples/sequence_segmenter.py
python_examples/svm_binary_classifier.py
python_examples/svm_rank.py
python_examples/svm_struct.py
python_examples/train_object_detector.py
python_examples/train_shape_predictor.py

Revision: 2a36ba95756df749
Author: Davis King
Date: May 21, 2018 (17:21:40 UTC)

Make python extension automatically enable AVX instructions if the host machine supports them.

Modified
tools/python/CMakeLists.txt
Added
dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake
dlib/cmake_utils/test_for_avx/CMakeLists.txt
dlib/cmake_utils/test_for_avx/avx_test.cpp
dlib/cmake_utils/test_for_avx/this_file_doesnt_compile.cpp

Revision: d3b6938646c77809
Author: Davis King
Date: May 21, 2018 (17:20:18 UTC)

Added hough_transform, remove_incoherent_edge_pixels(), normalize_image_gradients(), line, signed_distance_to_line(), distance_to_line(), reverse(), intersect(), count_points_on_side_of_line(), count_points_between_lines(), dot(), and normalize() to Python API.

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
tools/python/src/gui.cpp
tools/python/src/image.cpp
tools/python/src/image2.cpp
tools/python/src/vector.cpp
Added
tools/python/src/line.cpp

Revision: 2ef94480261e8c3f
Author: Davis King
Date: May 21, 2018 (17:16:05 UTC)

Added an image_window::add_overlay() overload for line object.

Modified
dlib/gui_widgets/widgets.h
dlib/gui_widgets/widgets_abstract.h

Revision: b83e29d974536e72
Author: Davis King
Date: May 21, 2018 (17:15:45 UTC)

updated spec

Modified
dlib/geometry/line_abstract.h

Revision: 4baef3f1deabad1d
Author: Davis King
Date: May 21, 2018 (16:42:35 UTC)

Fixed docs

Modified
dlib/image_transforms/edge_detector_abstract.h
dlib/image_transforms/hough_transform_abstract.h

Revision: ded60bdecace8a8c
Author: Davis King
Date: May 21, 2018 (16:42:23 UTC)

Clarified spec and fixed typo

Modified
dlib/geometry/line_abstract.h

Revision: 248963825c58a538
Author: Davis King
Date: May 20, 2018 (18:34:49 UTC)

Added equalize_histogram() and resize_image() to the Python API.

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
Added
tools/python/src/image2.cpp

Revision: a50490c604339e1d
Author: Davis King
Date: May 20, 2018 (18:13:00 UTC)

Added hysteresis_threshold() and sobel_edge_detector() bindings in the Python API.

Modified
tools/python/src/image.cpp

Revision: 5f183e09f3bff64a
Author: Davis King
Date: May 20, 2018 (18:11:41 UTC)

Made the python API for image_window accept any image type.

Modified
tools/python/src/gui.cpp

Revision: 4557bba646c4d558
Author: Davis King
Date: May 20, 2018 (16:45:38 UTC)

Fixed code not compiling in gcc 4.8

Modified
dlib/image_processing/scan_image.h

Revision: e4324d59da15c850
Author: Davis King
Date: May 20, 2018 (15:21:34 UTC)

Added convert_rgb_to_grayscale(), pyramid_down, find_bright_keypoints(), find_bright_lines(), find_dark_lines(), find_dark_keypoints(), suppress_non_maximum_edges(), and find_peaks() to the Python API.

Modified
tools/python/src/image.cpp

Revision: e8f32e2b6e5760f1
Author: Davis King
Date: May 20, 2018 (15:20:09 UTC)

Added length() for point and dpoint in the Python API.

Modified
tools/python/src/vector.cpp

Revision: 35629b8d8d7ef84a
Author: Davis King
Date: May 20, 2018 (14:43:50 UTC)

Made image_window use numpy_image explicitly so it benefits from numpy_image's automatic binding.

Modified
tools/python/src/gui.cpp

Revision: 76dbc78c063b5ce7
Author: Davis King
Date: May 20, 2018 (14:43:15 UTC)

Added centered_rect() and centered_rects() to Python API. Also added the *_corner() routines to rectangle and drectangle and made these objects constructable from instances of each other.

Modified
tools/python/src/rectangles.cpp

Revision: 8ea5b6ce2174b5f2
Author: Davis King
Date: May 20, 2018 (14:41:57 UTC)

Made point and dpoint constructable from each other.

Modified
tools/python/src/vector.cpp

Revision: 771b4ec0073fde7e
Author: Davis King
Date: May 20, 2018 (14:41:23 UTC)

Made the numpy_image capable of binding to tuples that contain a valid image as their first element.

Modified
dlib/python/numpy_image.h

Revision: 86bcec7fc1c75b1c
Author: Davis King
Date: May 20, 2018 (13:58:21 UTC)

Improved input validation for numpy_image.

Modified
dlib/python/numpy_image.h

Revision: c29a658756b1952d
Author: Davis King
Date: May 20, 2018 (13:48:05 UTC)

Fixed numpy_image and pybind11 crashing python sometimes when certain types of conversions are attempted.

Modified
dlib/python/numpy_image.h

Revision: 9daddf41a94ed796
Author: Davis King
Date: May 20, 2018 (11:06:54 UTC)

fixed typo in docs

Modified
dlib/image_transforms/image_pyramid_abstract.h

Revision: 2dd773e75e1e9f31
Author: Davis King
Date: May 20, 2018 (06:19:55 UTC)

Minor cleanup

Modified
tools/python/src/image.cpp

Revision: 34bb734c735636da
Author: Davis King
Date: May 20, 2018 (06:17:53 UTC)

Added dpoint to the python API.

Modified
tools/python/src/opaque_types.h
tools/python/src/vector.cpp

Revision: 4bfa0e36208f0c74
Author: Davis King
Date: May 20, 2018 (06:09:19 UTC)

Added label_connected_blobs_watershed(), convert_image(), and convert_image_scaled() to the python API.

Modified
tools/python/src/image.cpp

Revision: b641bf33fdba594d
Author: Davis King
Date: May 20, 2018 (06:07:25 UTC)

clarified spec

Modified
dlib/image_transforms/assign_image_abstract.h

Revision: c8013bb3a8a50db6
Author: Davis King
Date: May 20, 2018 (05:08:09 UTC)

Fixed label_connected_blobs_watershed() only working in C++14 and if all parameters were given.

Modified
dlib/image_transforms/label_connected_blobs.h

Revision: d16301a0e4d1b72f
Author: Davis King
Date: May 19, 2018 (19:43:28 UTC)

Added the following things to the python API: gaussian_blur(), label_connected_blobs(), randomly_color_image(), jet(), skeleton(), find_line_endpoints(), get_rect(), shrink_rect(), grow_rect(), and image_gradients.

Modified
tools/python/src/image.cpp
tools/python/src/rectangles.cpp

Revision: a943693a0a926226
Author: Davis King
Date: May 19, 2018 (18:19:51 UTC)

Fixed grammar

Modified
dlib/image_transforms/morphological_operations_abstract.h

Revision: 7c3c4dc80d179e73
Author: Davis King
Date: May 19, 2018 (15:38:39 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 39949a24fa62d8db
Author: Davis King
Date: May 19, 2018 (15:36:28 UTC)

Created release v19.12

Modified
dlib/CMakeLists.txt

Revision: 0c188bd2f03f52a5
Author: Davis King
Date: May 19, 2018 (10:38:29 UTC)

Fixed typo in docs

Modified
tools/python/src/image.cpp

Revision: 3439363fc41e5a6f
Author: Davis King
Date: May 19, 2018 (10:14:43 UTC)

Fixed broken unit test.

Modified
tools/python/test/test_numpy_returns.py

Revision: ce13236438a5d9bb
Author: Davis King
Date: May 19, 2018 (09:12:47 UTC)

Added python interface to threshold_image() and partition_pixels().

Modified
tools/python/src/image.cpp
tools/python/test/test_numpy_returns.py

Revision: 75f1a3ef0aebd9ee
Author: Davis King
Date: May 19, 2018 (09:12:27 UTC)

Renamed dlib.save_rgb_image() to dlib.save_image()

Modified
tools/python/src/numpy_returns.cpp

Revision: 7ca2a35eb6c9b6f5
Author: Davis King
Date: May 19, 2018 (06:38:35 UTC)

Improved the error messages related to numpy_image usage and also improved the way overload resolution works in pybind11 for these objects.

Modified
dlib/python/numpy_image.h

Revision: fadf14102f89ec3d
Author: Davis King
Date: May 18, 2018 (17:55:12 UTC)

Fixed numpy_image not working correctly for grayscale images.

Modified
dlib/python/numpy_image.h

Revision: 09ebaea09af496f4
Author: Davis King
Date: May 17, 2018 (18:02:00 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 4ae153db78c4f9f5
Author: Davis King
Date: May 17, 2018 (17:58:49 UTC)

Created release v19.11

Modified
dlib/CMakeLists.txt

Revision: 70c661b871b71bec
Author: Davis King
Date: May 17, 2018 (16:28:57 UTC)

clarified spec

Modified
dlib/image_transforms/hough_transform_abstract.h

Revision: fee128b033799ac5
Author: Davis King
Date: May 17, 2018 (15:13:55 UTC)

Fixed grammar

Modified
dlib/image_transforms/morphological_operations_abstract.h

Revision: 35b6b842215f6461
Author: Davis King
Date: May 17, 2018 (03:18:13 UTC)

Improved python docs

Modified
tools/python/src/cnn_face_detector.cpp

Revision: 1a3784911be0c684
Author: Davis King
Date: May 16, 2018 (19:03:43 UTC)

Added encode_8_pixel_neighbors() and find_line_endpoints().

Modified
dlib/image_transforms/morphological_operations.h
dlib/image_transforms/morphological_operations_abstract.h

Revision: f82ee4fc7101a67a
Author: Davis King
Date: May 15, 2018 (18:47:38 UTC)

Changed the matrix_data_layout types to use size_t where appropriate so that large matrices can be handled on windows.

Modified
dlib/matrix/matrix.h
dlib/matrix/matrix_data_layout.h

Revision: 15d5f96ec2838bd2
Author: Davis King
Date: May 15, 2018 (18:11:40 UTC)

Made memory managers use size_t to measure memory allocation sizes rather than unsigned long.

Modified
dlib/algs.h
dlib/memory_manager/memory_manager_kernel_1.h
dlib/memory_manager/memory_manager_kernel_2.h
dlib/memory_manager/memory_manager_kernel_3.h
dlib/memory_manager/memory_manager_kernel_abstract.h
dlib/memory_manager_global/memory_manager_global_kernel_1.h
dlib/memory_manager_global/memory_manager_global_kernel_abstract.h
dlib/memory_manager_stateless/memory_manager_stateless_kernel_1.h
dlib/memory_manager_stateless/memory_manager_stateless_kernel_2.h
dlib/memory_manager_stateless/memory_manager_stateless_kernel_abstract.h

Revision: acb77d8334fd8a0a
Author: Davis King
Date: May 15, 2018 (17:43:51 UTC)

Added find_bright_keypoints() and find_dark_keypoints(). Also added a convenience overload for remove_incoherent_edge_pixels().

Modified
dlib/image_transforms/edge_detector.h
dlib/image_transforms/edge_detector_abstract.h

Revision: 357e9ca3d5628b11
Author: Davis King
Date: May 15, 2018 (17:40:31 UTC)

Added find_peaks()

Modified
dlib/image_processing/scan_image.h
dlib/image_processing/scan_image_abstract.h

Revision: b0e52b37b38587ea
Author: Davis King
Date: May 15, 2018 (17:40:13 UTC)

Added centered_rects()

Modified
dlib/geometry/rectangle.h
dlib/geometry/rectangle_abstract.h

Revision: 13b96f266c60a3e4
Author: Davis King
Date: May 13, 2018 (07:46:54 UTC)

Added overload of hysteresis_threshold() that uses partition_pixels() to select thresholds.

Modified
dlib/image_transforms/thresholding.h
dlib/image_transforms/thresholding_abstract.h

Revision: e5b98bff666b274a
Author: Davis King
Date: May 13, 2018 (07:40:53 UTC)

Added an overload of partition_pixels() that provides multiple output thresholds.

Modified
dlib/image_transforms/thresholding.h
dlib/image_transforms/thresholding_abstract.h
dlib/test/image.cpp

Revision: db37800236d487ce
Author: Davis King
Date: May 13, 2018 (-04:09:05 UTC)

Added label_connected_blobs_watershed()

Modified
dlib/image_transforms/label_connected_blobs.h
dlib/image_transforms/label_connected_blobs_abstract.h

Revision: ca4defe30a2e5f87
Author: Davis King
Date: May 11, 2018 (05:58:59 UTC)

Fixed cell arrays of complex types not binding correctly.

Modified
dlib/matlab/mex_wrapper.cpp

Revision: 8be45614d0b6f797
Author: Davis King
Date: May 10, 2018 (19:27:41 UTC)

clarified spec

Modified
dlib/image_transforms/edge_detector_abstract.h

Revision: 424c0073d29a049a
Author: Davis King
Date: May 10, 2018 (19:05:52 UTC)

Added image_gradients as well as find_bright_lines() and find_dark_lines().

Modified
dlib/image_transforms/edge_detector.h
dlib/image_transforms/edge_detector_abstract.h

Revision: d10896762c23055f
Author: Davis King
Date: May 08, 2018 (17:21:39 UTC)

Make sure -DDLIB__CMAKE_GENERATED_A_CONFIG_H_FILE is propagated to nvcc so that the odr violation checks don't erroneously trigger.

Modified
dlib/CMakeLists.txt

Revision: 397226edef4df216
Author: Davis King
Date: May 08, 2018 (16:39:25 UTC)

Made partition_pixels() work basically all pixel types.

Modified
dlib/image_transforms/thresholding.h
dlib/image_transforms/thresholding_abstract.h
dlib/test/image.cpp

Revision: c427fdbca1a2f217
Author: Davis King
Date: May 08, 2018 (16:34:08 UTC)

Fixed bug in hysteresis_threshold()

Modified
dlib/image_transforms/thresholding.h

Revision: 6b714a1ca6d627b1
Author: Davis King
Date: May 07, 2018 (19:11:54 UTC)

Added partition_pixels() and made threshold_image() use it to find the default threshold if none is given. Also depreciated auto_threshold_image() since using partition_pixels() to pick the threshold is generally better.

Modified
dlib/image_transforms/thresholding.h
dlib/image_transforms/thresholding_abstract.h
dlib/test/image.cpp

Revision: 280d86e7336e8122
Author: Davis King
Date: May 07, 2018 (03:24:29 UTC)

A bit of cleanup

Modified
tools/python/src/shape_predictor.cpp

Revision: 9314890db8631736
Author: Davis King
Date: May 06, 2018 (10:57:27 UTC)

more appveyor stuff

Modified
dlib/appveyor/python.yml

Revision: 4d61c41d62909d2a
Author: Davis King
Date: May 06, 2018 (10:55:31 UTC)

Fix appveyor tests

Modified
dlib/appveyor/python.yml

Revision: a8889a0182a52ab7
Author: Davis King
Date: May 06, 2018 (10:41:01 UTC)

Build clean on appveyor.

Modified
dlib/appveyor/python.yml

Revision: 53e1564d3d1967a0
Author: Davis King
Date: May 06, 2018 (10:31:25 UTC)

Cleanup

Modified
dlib/array/array_kernel.h

Revision: b252d01d6a58fc8c
Author: Davis King
Date: May 06, 2018 (10:26:18 UTC)

Added neighbors_24

Modified
dlib/image_transforms/label_connected_blobs.h
dlib/image_transforms/label_connected_blobs_abstract.h

Revision: 54f4eba1ee8fc91d
Author: Davis King
Date: May 03, 2018 (12:36:56 UTC)

Added more version status messages to cmake output.

Modified
dlib/CMakeLists.txt

Revision: 589258b5c81b7947
Author: Davis King
Date: May 03, 2018 (12:35:33 UTC)

Fixed spelling error in message.

Modified
tools/python/CMakeLists.txt

Revision: 7ea533eb7bd0a2d6
Author: Davis King
Date: May 02, 2018 (10:48:57 UTC)

Cleanup cmake output a little.

Modified
dlib/CMakeLists.txt

Revision: 674274f336b803f1
Author: Davis King
Date: May 02, 2018 (08:56:55 UTC)

Fix warnings on OS X.

Modified
dlib/CMakeLists.txt

Revision: 10c28796bada6e48
Author: Davis King
Date: May 01, 2018 (18:17:21 UTC)

fixed include

Modified
dlib/image_transforms/interpolation.h

Revision: f9d1086015e436d0
Author: Guillaume "Vermeille" Sanchez
Date: May 02, 2018 (06:13:53 UTC)

parallelize image rotations (#1281)

Modified
dlib/array/array_kernel.h
dlib/image_transforms/interpolation.h

Revision: eec1ab5cf90aef32
Author: Davis King
Date: Apr 29, 2018 (13:18:51 UTC)

Set execute bit.

Modified
python_examples/opencv_webcam_face_detection.py

Revision: 7b4b5cafc588048b
Author: Davis King
Date: Apr 28, 2018 (12:44:40 UTC)

Turn LTO back on.

Modified
tools/python/CMakeLists.txt

Revision: a15f6f24887c0d78
Author: Davis King
Date: Apr 28, 2018 (04:56:12 UTC)

Just moved code into dlib namespace.

Modified
dlib/python/pybind_utils.h
dlib/python/serialize_pickle.h

Revision: 1183b8543abe229d
Author: Davis King
Date: Apr 28, 2018 (04:52:25 UTC)

Added numpy_image templated class that makes a numpy array conform to dlib's generic image interface. This makes dealing with numpy images in pybind11 modules much nicer.

Modified
dlib/python.h
dlib/python/numpy_image.h
tools/python/CMakeLists.txt
tools/python/src/cnn_face_detector.cpp
tools/python/src/conversion.h
tools/python/src/correlation_tracker.cpp
tools/python/src/face_recognition.cpp
tools/python/src/gui.cpp
tools/python/src/numpy_returns.cpp
tools/python/src/object_detection.cpp
tools/python/src/shape_predictor.cpp
tools/python/src/simple_object_detector_py.h
Deleted
dlib/python/numpy.h

Revision: 761ec6cc9e855773
Author: Davis King
Date: Apr 28, 2018 (04:46:23 UTC)

Fixed jitter_image() not following the generic image interface.

Modified
dlib/image_transforms/interpolation.h

Revision: ce20df51d66f247a
Author: Povilas Juzeliūnas
Date: Apr 26, 2018 (23:48:29 UTC)

Supporting bottom-up DIBs (#1277) * Supporting bottom-up DIBs * Variable renamed

Modified
dlib/image_loader/image_loader.h

Revision: 553cd23c8533450c
Author: Davis King
Date: Apr 28, 2018 (04:31:20 UTC)

Added casts to cblas calls to avoid conflicts with some definitions of the cblas API.

Modified
dlib/matrix/matrix_blas_bindings.h

Revision: 8b81595d151b478c
Author: Davis King
Date: Apr 25, 2018 (18:57:43 UTC)

Added some utility routines to the hough_transform object.

Modified
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform_abstract.h

Revision: 6b3df4431a1f8868
Author: Davis King
Date: Apr 25, 2018 (17:13:37 UTC)

Added line unit tests.

Modified
dlib/test/geometry.cpp

Revision: c8611a7f8bdbd026
Author: Davis King
Date: Apr 25, 2018 (17:13:21 UTC)

Added the line class an some related utility functions.

Modified
dlib/geometry.h
dlib/geometry/rectangle.h
dlib/geometry/rectangle_abstract.h
Added
dlib/geometry/line.h
dlib/geometry/line_abstract.h

Revision: b38d36878ee90da2
Author: Davis King
Date: Apr 24, 2018 (17:56:33 UTC)

Added normalize_image_gradients() and remove_incoherent_edge_pixels().

Modified
dlib/image_transforms/edge_detector.h
dlib/image_transforms/edge_detector_abstract.h

Revision: 3ff3c5e0b613fb89
Author: Davis King
Date: Apr 23, 2018 (03:03:35 UTC)

Fixed code not compiling in debug mode.

Modified
dlib/image_transforms/hough_transform.h

Revision: 056bdcafa818a0e0
Author: Davis King
Date: Apr 22, 2018 (03:24:43 UTC)

Added find_pixels_voting_for_lines() to the hough_transform.

Modified
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform_abstract.h

Revision: efe4f25e1e979a58
Author: Davis King
Date: Apr 21, 2018 (13:14:44 UTC)

Test against python 3.6 on windows.

Modified
dlib/appveyor/python.yml

Revision: 742045e5911f1b0f
Author: Davis King
Date: Apr 20, 2018 (18:27:15 UTC)

Added a convenience overload to hough_transform.

Modified
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform_abstract.h

Revision: 69996ed60bf5ffaf
Author: Davis King
Date: Apr 20, 2018 (18:26:43 UTC)

Added .begin() and .end() to array2d.

Modified
dlib/array2d/array2d_kernel.h
dlib/array2d/array2d_kernel_abstract.h

Revision: 2139ce5f85e8d7f9
Author: Davis King
Date: Apr 19, 2018 (18:45:58 UTC)

Updated about to talk about new part labeling method.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp

Revision: 41338cf845742389
Author: Davis King
Date: Apr 19, 2018 (18:40:38 UTC)

Made it so shift clicking on a selected rectangle in the image_display will add a part with an automatically selected integer label if and only if you haven't specified any string part labels and all the existing parts are already integer labeled. This makes it way easier to quickly add parts.

Modified
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets_abstract.h

Revision: 31248192d05d3b14
Author: Alexis Tsogias
Date: Apr 19, 2018 (16:47:08 UTC)

Renamed BOOST_JOIN to DLIB_BOOST_JOIN to prevent name clashes when working with boost (#1265)

Modified
dlib/assert.h
dlib/matrix/matrix_assign.h

Revision: 775516f7bb8940ca
Author: Davis King
Date: Apr 17, 2018 (18:58:13 UTC)

Made convert_to_numpy() take an rvalue reference so that it's really explicit that it's going to move the matrix into the result.

Modified
tools/python/src/numpy_returns.cpp

Revision: 3343ba207510efde
Author: Davis King
Date: Apr 17, 2018 (18:50:54 UTC)

updated patch version to 99

Modified
dlib/CMakeLists.txt

Revision: e084bb8437bb3e38
Author: visionworkz
Date: Apr 18, 2018 (18:49:25 UTC)

Add basic image io and remove python C-API refs from numpy_returns.cpp (#1258) * Fixed reference count issue * Fixed refcount issue in Python dlib.jitter_image and dlib.get_face_chips * Consolidation of https://github.com/davisking/dlib/pull/1249 * Fixed build issue * Fixed: Paths in a pytest file should be relative to dlib root * Skip numpy return tests for Python 2.7 or if Numpy is not installed * Enabled numpy returns tests on Python 2.7 using cPickle.dumps

Modified
python_examples/cnn_face_detector.py
python_examples/correlation_tracker.py
python_examples/face_alignment.py
python_examples/face_clustering.py
python_examples/face_detector.py
python_examples/face_jitter.py
python_examples/face_landmark_detection.py
python_examples/face_recognition.py
python_examples/find_candidate_object_locations.py
python_examples/requirements.txt
python_examples/train_object_detector.py
python_examples/train_shape_predictor.py
tools/python/CMakeLists.txt
tools/python/src/numpy_returns.cpp
Added
python_examples/opencv_webcam_face_detection.py
tools/python/test/generate_numpy_returns_test_data.py
tools/python/test/shape.pkl
tools/python/test/test_face_chip.npy
tools/python/test/test_numpy_returns.py
tools/python/test/utils.py
Deleted
tools/python/src/numpy_returns_stub.cpp

Revision: 85c744ab8dfdac3a
Author: Davis King
Date: Apr 17, 2018 (07:30:46 UTC)

Made find_min_single_variable() more stable. Fixes https://github.com/davisking/dlib/issues/1224.

Modified
dlib/optimization/optimization_line_search.h
dlib/test/optimization.cpp

Revision: d682863069410408
Author: Davis King
Date: Apr 17, 2018 (06:32:44 UTC)

Improved assert error message.

Modified
dlib/optimization/optimization_line_search.h

Revision: 10bc85edb712e6d8
Author: Davis King
Date: Apr 17, 2018 (06:32:34 UTC)

Fixed compile time error in the matlab bindings.

Modified
dlib/matrix/matrix_data_layout.h

Revision: 2e4e876eb639d2f9
Author: Davis King
Date: Apr 13, 2018 (05:45:19 UTC)

Updated windows test bat file.

Modified
dlib/test/WINDOWS_build_and_run_all_unit_tests.bat

Revision: a50c9f77ee920f54
Author: visionworkz
Date: Apr 10, 2018 (29:29:08 UTC)

Fixed refcount issue in Python dlib.jitter_image and dlib.get_face_chips (#1246) * Fixed reference count issue * Fixed refcount issue in Python dlib.jitter_image and dlib.get_face_chips

Modified
tools/python/src/numpy_returns.cpp

Revision: e5077b02cb11787f
Author: Davis King
Date: Apr 12, 2018 (04:12:59 UTC)

Added steal_memory() to the matrix.

Modified
dlib/matrix/matrix.h
dlib/matrix/matrix_abstract.h
dlib/matrix/matrix_data_layout.h
dlib/memory_manager_stateless/memory_manager_stateless_kernel_1.h
dlib/memory_manager_stateless/memory_manager_stateless_kernel_abstract.h

Revision: 05d0b909e1c23764
Author: Davis King
Date: Apr 12, 2018 (03:09:10 UTC)

fixed indenting.

Modified
dlib/matrix/matrix_data_layout.h

Revision: f1e86aa298835588
Author: Davis King
Date: Apr 06, 2018 (13:43:49 UTC)

A bit of cmake cleanup

Modified
dlib/CMakeLists.txt
tools/python/CMakeLists.txt

Revision: c2885d47be753445
Author: Davis King
Date: Apr 06, 2018 (11:14:38 UTC)

Moved the CUDA stuff into its own folder.

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/cmake_utils/test_for_cuda/CMakeLists.txt
dlib/cmake_utils/test_for_cudnn/CMakeLists.txt
dlib/dnn.h
dlib/dnn/core.h
dlib/dnn/core_abstract.h
dlib/dnn/input.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/loss.h
dlib/dnn/solvers.h
dlib/dnn/solvers_abstract.h
dlib/dnn/trainer.h
dlib/test/cublas.cpp
Added
dlib/cuda/cpu_dlib.cpp
dlib/cuda/cpu_dlib.h
dlib/cuda/cublas_dlibapi.cpp
dlib/cuda/cublas_dlibapi.h
dlib/cuda/cuda_data_ptr.cpp
dlib/cuda/cuda_data_ptr.h
dlib/cuda/cuda_dlib.cu
dlib/cuda/cuda_dlib.h
dlib/cuda/cuda_errors.h
dlib/cuda/cuda_utils.h
dlib/cuda/cudnn_dlibapi.cpp
dlib/cuda/cudnn_dlibapi.h
dlib/cuda/curand_dlibapi.cpp
dlib/cuda/curand_dlibapi.h
dlib/cuda/cusolver_dlibapi.cu
dlib/cuda/cusolver_dlibapi.h
dlib/cuda/gpu_data.cpp
dlib/cuda/gpu_data.h
dlib/cuda/gpu_data_abstract.h
dlib/cuda/tensor.h
dlib/cuda/tensor_abstract.h
dlib/cuda/tensor_tools.cpp
dlib/cuda/tensor_tools.h
Deleted
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cublas_dlibapi.cpp
dlib/dnn/cublas_dlibapi.h
dlib/dnn/cuda_data_ptr.cpp
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/cuda_errors.h
dlib/dnn/cuda_utils.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/curand_dlibapi.cpp
dlib/dnn/curand_dlibapi.h
dlib/dnn/cusolver_dlibapi.cu
dlib/dnn/cusolver_dlibapi.h
dlib/dnn/gpu_data.cpp
dlib/dnn/gpu_data.h
dlib/dnn/gpu_data_abstract.h
dlib/dnn/tensor.h
dlib/dnn/tensor_abstract.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h

Revision: 9609f84b79fe12d9
Author: Davis King
Date: Apr 04, 2018 (13:18:54 UTC)

Made loss_multiclass_log_per_pixel use CUDA.

Modified
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/loss.h

Revision: 65321838ff05243b
Author: Davis King
Date: Apr 04, 2018 (13:18:40 UTC)

Fixed spelling error in comment.

Modified
dlib/dnn/tensor_tools.h

Revision: 5382019ef9572512
Author: Davis King
Date: Apr 04, 2018 (13:18:09 UTC)

Improved cuda_data_ptr.

Modified
dlib/dnn/cuda_data_ptr.cpp
dlib/dnn/cuda_data_ptr.h

Revision: 3e4967a619e7b1f4
Author: Davis King
Date: Apr 04, 2018 (07:30:16 UTC)

More cleanup

Modified
dlib/dnn/cuda_data_ptr.cpp
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h

Revision: c751a84e0247bb4a
Author: Davis King
Date: Apr 04, 2018 (06:55:41 UTC)

Cleanup of cuda code.

Modified
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/layers_abstract.h

Revision: 90ab2e3c2e45c271
Author: Davis King
Date: Apr 01, 2018 (06:19:38 UTC)

Make visual studio build with all cores when building dlib.

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 71c601cc915f7a51
Author: Davis King
Date: Apr 01, 2018 (04:34:50 UTC)

A bit of cleanup

Modified
dlib/CMakeLists.txt

Revision: 225f92a7d00721d4
Author: Jason Juang
Date: Apr 01, 2018 (-02:30:18 UTC)

prevent C++ compilation flags leaking to CUDA (#1216) * prevent C++ compilation flags leaking to CUDA * disable compilation flags leak fix for old cmake on windows * disable compilation flags leak fix for cmake older than 3.3

Modified
dlib/CMakeLists.txt

Revision: f42041ca0158eeab
Author: Arian Giles García
Date: Mar 31, 2018 (09:25:04 UTC)

Remove unnecessary semicolon (#1223)

Modified
python_examples/train_object_detector.py

Revision: 826b620ae9a90326
Author: visionworkz
Date: Mar 31, 2018 (27:38:52 UTC)

Fixed reference count issue (#1222)

Modified
tools/python/src/numpy_returns.cpp

Revision: 7a09222ca52838e8
Author: Davis King
Date: Mar 30, 2018 (12:41:29 UTC)

Still messing with travis

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: 329f06665714d36a
Author: Davis King
Date: Mar 30, 2018 (11:57:30 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: e5b182d2466dc7d7
Author: Davis King
Date: Mar 30, 2018 (11:46:13 UTC)

more travis debug

Modified
dlib/travis/get-old-cmakes.sh

Revision: 92490ac6527166e4
Author: Davis King
Date: Mar 30, 2018 (11:42:10 UTC)

more travis debug

Modified
.travis.yml
dlib/travis/get-old-cmakes.sh

Revision: 89b4c835386bcc66
Author: Davis King
Date: Mar 30, 2018 (11:36:38 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: f52edadbf5d14c84
Author: Davis King
Date: Mar 30, 2018 (11:30:19 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: dcef5f52cfe7236e
Author: Davis King
Date: Mar 30, 2018 (11:19:10 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: 5425e8138b40625f
Author: Davis King
Date: Mar 30, 2018 (06:04:35 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh

Revision: 070e3c57e2805290
Author: Davis King
Date: Mar 30, 2018 (05:58:04 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh

Revision: 230d4731419d930a
Author: Davis King
Date: Mar 30, 2018 (05:49:45 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh

Revision: 1a03920c37f798a5
Author: Davis King
Date: Mar 30, 2018 (05:45:04 UTC)

more travis debug

Modified
dlib/travis/build-and-test.sh
dlib/travis/get-old-cmakes.sh

Revision: 427538cc38facf90
Author: Davis King
Date: Mar 30, 2018 (05:38:57 UTC)

debug travis

Modified
dlib/travis/build-and-test.sh

Revision: 796777a97be2d4df
Author: Davis King
Date: Mar 30, 2018 (05:26:04 UTC)

debug travis

Modified
dlib/travis/build-and-test.sh

Revision: 07c018fce635f95a
Author: Davis King
Date: Mar 30, 2018 (05:20:00 UTC)

Debug travis

Modified
dlib/travis/get-old-cmakes.sh

Revision: c3286f38b919266d
Author: Davis King
Date: Mar 30, 2018 (05:13:40 UTC)

Try to fix travis

Modified
dlib/travis/get-old-cmakes.sh

Revision: 7dfa37b99358994b
Author: Davis King
Date: Mar 30, 2018 (06:31:04 UTC)

Improved the stopping condition of solve_qp_box_constrained() and solve_qp_box_constrained_blockdiag().

Modified
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
dlib/test/mpc.cpp
dlib/test/opt_qp_solver.cpp

Revision: 2bb40ce33072dde2
Author: Davis King
Date: Mar 30, 2018 (04:12:32 UTC)

Added logging

Modified
dlib/travis/get-old-cmakes.sh

Revision: 238ef1d25f8addc5
Author: Davis King
Date: Mar 30, 2018 (04:01:21 UTC)

Fixed cmake downloading script

Modified
dlib/travis/get-old-cmakes.sh

Revision: a59898f119cfb1b4
Author: Davis King
Date: Mar 30, 2018 (03:55:55 UTC)

Try to fix travis

Modified
.travis.yml
Added
dlib/travis/get-old-cmakes.sh
Deleted
dlib/travis/before-install.sh

Revision: c954b4c1d4372694
Author: Davis King
Date: Mar 30, 2018 (03:25:59 UTC)

Added travis tests to make sure we work with old versions of cmake.

Modified
.travis.yml
dlib/travis/build-and-test.sh
Added
dlib/travis/before-install.sh

Revision: 4945fb7a73c5a60d
Author: Davis King
Date: Mar 30, 2018 (03:01:15 UTC)

Print cmake version used.

Modified
dlib/CMakeLists.txt

Revision: 263ad20f70dcc91d
Author: davemers0160
Date: Mar 29, 2018 (17:03:08 UTC)

Downsample layer (#1212) Added resize_to_ layer

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 9b0f1dd1b0645b67
Author: Davis King
Date: Mar 28, 2018 (05:59:20 UTC)

clarified comment

Modified
dlib/rand/rand_kernel_abstract.h

Revision: d64b3d3e31788c61
Author: Davis King
Date: Mar 27, 2018 (14:28:41 UTC)

Fixed bug in global_function_search's constructor taking initial function evaluations. It wasn't assigning these values into the entire state of the solver, causing it to be a little busted if used.

Modified
dlib/global_optimization/global_function_search.cpp

Revision: b137103776d372fd
Author: Davis King
Date: Mar 23, 2018 (10:59:32 UTC)

Fix int handling in cblas

Modified
dlib/external/cblas/cblas.h
dlib/external/cblas/cblas_xerbla.c

Revision: 8bed891df0525b1f
Author: Davis King
Date: Mar 22, 2018 (08:14:55 UTC)

Added USE_64BIT_LAPACK_INTEGERS macro to control the type of integers used when calling fortran

Modified
dlib/matrix/lapack/fortran_id.h

Revision: f97ea2aa261abfd2
Author: Davis King
Date: Mar 22, 2018 (08:14:16 UTC)

Added CBLAS_INT_TYPE for this version of the cblas binding as well.

Modified
dlib/matrix/matrix_blas_bindings.h

Revision: daa93205bcb84069
Author: Davis King
Date: Mar 22, 2018 (08:13:31 UTC)

Added a CBLAS_INT_TYPE macro to control the int type used by cblas.

Modified
dlib/external/cblas/cblas.h
dlib/external/cblas/cblas_caxpy.c
dlib/external/cblas/cblas_ccopy.c
dlib/external/cblas/cblas_cdotc_sub.c
dlib/external/cblas/cblas_cdotu_sub.c
dlib/external/cblas/cblas_cgbmv.c
dlib/external/cblas/cblas_cgemm.c
dlib/external/cblas/cblas_cgemv.c
dlib/external/cblas/cblas_cgerc.c
dlib/external/cblas/cblas_cgeru.c
dlib/external/cblas/cblas_chbmv.c
dlib/external/cblas/cblas_chemm.c
dlib/external/cblas/cblas_chemv.c
dlib/external/cblas/cblas_cher.c
dlib/external/cblas/cblas_cher2.c
dlib/external/cblas/cblas_cher2k.c
dlib/external/cblas/cblas_cherk.c
dlib/external/cblas/cblas_chpmv.c
dlib/external/cblas/cblas_chpr.c
dlib/external/cblas/cblas_chpr2.c
dlib/external/cblas/cblas_cscal.c
dlib/external/cblas/cblas_csscal.c
dlib/external/cblas/cblas_cswap.c
dlib/external/cblas/cblas_csymm.c
dlib/external/cblas/cblas_csyr2k.c
dlib/external/cblas/cblas_csyrk.c
dlib/external/cblas/cblas_ctbmv.c
dlib/external/cblas/cblas_ctbsv.c
dlib/external/cblas/cblas_ctpmv.c
dlib/external/cblas/cblas_ctpsv.c
dlib/external/cblas/cblas_ctrmm.c
dlib/external/cblas/cblas_ctrmv.c
dlib/external/cblas/cblas_ctrsm.c
dlib/external/cblas/cblas_ctrsv.c
dlib/external/cblas/cblas_dasum.c
dlib/external/cblas/cblas_daxpy.c
dlib/external/cblas/cblas_dcopy.c
dlib/external/cblas/cblas_ddot.c
dlib/external/cblas/cblas_dgbmv.c
dlib/external/cblas/cblas_dgemm.c
dlib/external/cblas/cblas_dgemv.c
dlib/external/cblas/cblas_dger.c
dlib/external/cblas/cblas_dnrm2.c
dlib/external/cblas/cblas_drot.c
dlib/external/cblas/cblas_drotm.c
dlib/external/cblas/cblas_dsbmv.c
dlib/external/cblas/cblas_dscal.c
dlib/external/cblas/cblas_dsdot.c
dlib/external/cblas/cblas_dspmv.c
dlib/external/cblas/cblas_dspr.c
dlib/external/cblas/cblas_dspr2.c
dlib/external/cblas/cblas_dswap.c
dlib/external/cblas/cblas_dsymm.c
dlib/external/cblas/cblas_dsymv.c
dlib/external/cblas/cblas_dsyr.c
dlib/external/cblas/cblas_dsyr2.c
dlib/external/cblas/cblas_dsyr2k.c
dlib/external/cblas/cblas_dsyrk.c
dlib/external/cblas/cblas_dtbmv.c
dlib/external/cblas/cblas_dtbsv.c
dlib/external/cblas/cblas_dtpmv.c
dlib/external/cblas/cblas_dtpsv.c
dlib/external/cblas/cblas_dtrmm.c
dlib/external/cblas/cblas_dtrmv.c
dlib/external/cblas/cblas_dtrsm.c
dlib/external/cblas/cblas_dtrsv.c
dlib/external/cblas/cblas_dzasum.c
dlib/external/cblas/cblas_dznrm2.c
dlib/external/cblas/cblas_icamax.c
dlib/external/cblas/cblas_idamax.c
dlib/external/cblas/cblas_isamax.c
dlib/external/cblas/cblas_izamax.c
dlib/external/cblas/cblas_sasum.c
dlib/external/cblas/cblas_saxpy.c
dlib/external/cblas/cblas_scasum.c
dlib/external/cblas/cblas_scnrm2.c
dlib/external/cblas/cblas_scopy.c
dlib/external/cblas/cblas_sdot.c
dlib/external/cblas/cblas_sdsdot.c
dlib/external/cblas/cblas_sgbmv.c
dlib/external/cblas/cblas_sgemm.c
dlib/external/cblas/cblas_sgemv.c
dlib/external/cblas/cblas_sger.c
dlib/external/cblas/cblas_snrm2.c
dlib/external/cblas/cblas_srot.c
dlib/external/cblas/cblas_srotm.c
dlib/external/cblas/cblas_ssbmv.c
dlib/external/cblas/cblas_sscal.c
dlib/external/cblas/cblas_sspmv.c
dlib/external/cblas/cblas_sspr.c
dlib/external/cblas/cblas_sspr2.c
dlib/external/cblas/cblas_sswap.c
dlib/external/cblas/cblas_ssymm.c
dlib/external/cblas/cblas_ssymv.c
dlib/external/cblas/cblas_ssyr.c
dlib/external/cblas/cblas_ssyr2.c
dlib/external/cblas/cblas_ssyr2k.c
dlib/external/cblas/cblas_ssyrk.c
dlib/external/cblas/cblas_stbmv.c
dlib/external/cblas/cblas_stbsv.c
dlib/external/cblas/cblas_stpmv.c
dlib/external/cblas/cblas_stpsv.c
dlib/external/cblas/cblas_strmm.c
dlib/external/cblas/cblas_strmv.c
dlib/external/cblas/cblas_strsm.c
dlib/external/cblas/cblas_strsv.c
dlib/external/cblas/cblas_xerbla.c
dlib/external/cblas/cblas_zaxpy.c
dlib/external/cblas/cblas_zcopy.c
dlib/external/cblas/cblas_zdotc_sub.c
dlib/external/cblas/cblas_zdotu_sub.c
dlib/external/cblas/cblas_zdscal.c
dlib/external/cblas/cblas_zgbmv.c
dlib/external/cblas/cblas_zgemm.c
dlib/external/cblas/cblas_zgemv.c
dlib/external/cblas/cblas_zgerc.c
dlib/external/cblas/cblas_zgeru.c
dlib/external/cblas/cblas_zhbmv.c
dlib/external/cblas/cblas_zhemm.c
dlib/external/cblas/cblas_zhemv.c
dlib/external/cblas/cblas_zher.c
dlib/external/cblas/cblas_zher2.c
dlib/external/cblas/cblas_zher2k.c
dlib/external/cblas/cblas_zherk.c
dlib/external/cblas/cblas_zhpmv.c
dlib/external/cblas/cblas_zhpr.c
dlib/external/cblas/cblas_zhpr2.c
dlib/external/cblas/cblas_zscal.c
dlib/external/cblas/cblas_zswap.c
dlib/external/cblas/cblas_zsymm.c
dlib/external/cblas/cblas_zsyr2k.c
dlib/external/cblas/cblas_zsyrk.c
dlib/external/cblas/cblas_ztbmv.c
dlib/external/cblas/cblas_ztbsv.c
dlib/external/cblas/cblas_ztpmv.c
dlib/external/cblas/cblas_ztpsv.c
dlib/external/cblas/cblas_ztrmm.c
dlib/external/cblas/cblas_ztrmv.c
dlib/external/cblas/cblas_ztrsm.c
dlib/external/cblas/cblas_ztrsv.c

Revision: c8b794f274dfc73f
Author: Davis King
Date: Mar 19, 2018 (03:21:57 UTC)

Created release v19.10

Modified
dlib/CMakeLists.txt

Revision: b8f88a365899c40d
Author: Davis King
Date: Mar 18, 2018 (08:52:03 UTC)

cleanup

Modified
dlib/filtering/kalman_filter_abstract.h
dlib/random_forest.h

Revision: f4d810fc46f5e184
Author: Davis King
Date: Mar 18, 2018 (07:59:35 UTC)

A bit of cleanup

Modified
dlib/serialize.h

Revision: 2106d03634143f44
Author: Davis King
Date: Mar 18, 2018 (07:34:55 UTC)

Fixed grammar

Modified
dlib/statistics/statistics_abstract.h

Revision: da189942bf80b43e
Author: Davis King
Date: Mar 18, 2018 (05:09:07 UTC)

merged

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/check_if_neon_available.cmake
dlib/cmake_utils/set_compiler_specific_options.cmake
dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake
dlib/cmake_utils/use_cpp_11.cmake
Added
dlib/cmake_utils/find_blas.cmake
Deleted
dlib/cmake_utils/cmake_find_blas.txt

Revision: d655ab345f51cee8
Author: Davis King
Date: Mar 10, 2018 (03:49:20 UTC)

Fixed tabbing and formatting

Modified
dlib/cmake_utils/check_if_neon_available.cmake
dlib/cmake_utils/find_blas.cmake
dlib/cmake_utils/set_compiler_specific_options.cmake
dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake
dlib/cmake_utils/use_cpp_11.cmake

Revision: 5c95daeaf9b37152
Author: Davis King
Date: Mar 10, 2018 (03:21:21 UTC)

renamed file

Modified
dlib/CMakeLists.txt
Added
dlib/cmake_utils/find_blas.cmake
Deleted
dlib/cmake_utils/cmake_find_blas.txt

Revision: 3dcad3243b4b65ba
Author: Davis King
Date: Mar 10, 2018 (03:19:09 UTC)

Fixed tabbing and layout

Modified
dlib/CMakeLists.txt

Revision: 2a5ea897005047f0
Author: Davis King
Date: Mar 18, 2018 (04:12:23 UTC)

Fixed random forest feature extraction serialization.

Modified
dlib/random_forest/random_forest_regression.h
dlib/random_forest/random_forest_regression_abstract.h

Revision: 16b67b77333ad30a
Author: Davis King
Date: Mar 17, 2018 (13:10:44 UTC)

Added more unit tests

Modified
tools/python/test/test_global_optimization.py

Revision: 9367e90a327fcd76
Author: Davis King
Date: Mar 17, 2018 (13:10:31 UTC)

Added a note about disabling LTO

Modified
tools/python/CMakeLists.txt

Revision: 2a86a9b25b55a64d
Author: Davis King
Date: Mar 17, 2018 (13:09:02 UTC)

Fixed typo in comment

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: e562dc2bd4933427
Author: Davis King
Date: Mar 17, 2018 (13:00:08 UTC)

Added interface to the global_function_search object.

Modified
tools/python/src/global_optimization.cpp

Revision: 8d710a33ae92ff81
Author: Davis King
Date: Mar 17, 2018 (06:22:02 UTC)

Added more docs and tests.

Modified
dlib/random_forest/random_forest_regression.h
dlib/random_forest/random_forest_regression_abstract.h
dlib/test/random_forest.cpp

Revision: 1545ba56bdf68be6
Author: Davis King
Date: Mar 14, 2018 (13:28:51 UTC)

Added a random forest regression tool.

Modified
dlib/test/CMakeLists.txt
Added
dlib/random_forest.h
dlib/random_forest/random_forest_regression.h
dlib/random_forest/random_forest_regression_abstract.h
dlib/test/random_forest.cpp

Revision: 443023f6df154a4a
Author: Davis King
Date: Mar 13, 2018 (15:14:44 UTC)

Fixed memory leak in java swig array binding tool.

Modified
dlib/java/java_array.h

Revision: 6e50427956f8a680
Author: Davis King
Date: Mar 12, 2018 (16:56:46 UTC)

merged

Modified
dlib/global_optimization/global_function_search.cpp
dlib/matrix/matrix.h

Revision: 3626a42998336546
Author: Lukas-Buricin
Date: Mar 12, 2018 (15:05:52 UTC)

Fixed VS 2017 level-3 warnings (#1193)

Modified
dlib/global_optimization/global_function_search.cpp
dlib/matrix/matrix.h

Revision: eeeaf8b77f43fb05
Author: Davis King
Date: Mar 12, 2018 (16:51:21 UTC)

Added check_serialized_version().

Modified
dlib/serialize.h

Revision: c98bc29ac1bad148
Author: jjaloszy2
Date: Mar 09, 2018 (16:06:58 UTC)

Clear flags (#1190) Set istream flags to 0 in old_deserialize_floating_point. This was flagged by [[nodiscard]] warning in MS compiler.

Modified
dlib/serialize.h

Revision: 0e39179e6288e7d4
Author: Davis King
Date: Mar 07, 2018 (10:51:32 UTC)

Improved isotonic_regression class.

Modified
dlib/optimization/isotonic_regression.h
dlib/optimization/isotonic_regression_abstract.h

Revision: 5ca2a00844234196
Author: Davis King
Date: Mar 07, 2018 (07:21:00 UTC)

Changed cmake scripts for building MATLAB mex files to not explicitly link to any BLAS or LAPACK. Instead, let it get determined at mex load time so that it will definitely use whatever BLAS and LAPACK matlab is using.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 61c9d1ef066b1230
Author: Davis King
Date: Mar 03, 2018 (13:45:16 UTC)

Added rect_filter and find_optimal_rect_filter() to python API.

Modified
tools/python/src/rectangles.cpp

Revision: d443c16a540e6bc5
Author: Davis King
Date: Mar 03, 2018 (12:53:09 UTC)

Added another rect_filter constructor.

Modified
dlib/filtering/kalman_filter.h
dlib/filtering/kalman_filter_abstract.h

Revision: 931359f22968f698
Author: Davis King
Date: Mar 03, 2018 (12:21:23 UTC)

Added operator + support for dlib.rectangle.

Modified
tools/python/src/rectangles.cpp

Revision: 01c8c86af046629e
Author: Davis King
Date: Mar 03, 2018 (11:46:00 UTC)

Cleanup

Modified
dlib/filtering/kalman_filter.cpp
dlib/filtering/kalman_filter.h
dlib/filtering/kalman_filter_abstract.h

Revision: 46bbe5af92f75dbe
Author: Davis King
Date: Mar 02, 2018 (17:57:28 UTC)

Fixed build problem on windows.

Modified
dlib/all/source.cpp

Revision: 8dde2e49c454edfb
Author: Davis King
Date: Mar 02, 2018 (17:47:40 UTC)

Added momentum_filter and rect_filter as well as find_optimal_momentum_filter() and find_optimal_rect_filter()

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/filtering/kalman_filter.h
dlib/filtering/kalman_filter_abstract.h
Added
dlib/filtering/kalman_filter.cpp

Revision: d87b259c0e7ad6cd
Author: Juha Reunanen
Date: Mar 01, 2018 (16:27:29 UTC)

Problem: integer overflow when calculating sizes (may happen e.g. with very large images) (#1148) * Problem: integer overflow when calculating sizes (may happen e.g. with very large images) Solution: change some types from (unsigned) long to size_t # Conflicts: # dlib/dnn/tensor.h * Fix the fact that std::numeric_limits<unsigned long>::max() isn't always the same number * Revert serialization changes * Review fix: use long long instead of size_t * From long to long long all the way * Change more types to (hopefully) make the compiler happy * Change many more types to size_t * Change even more types to size_t * Minor type changes

Modified
dlib/array/array_kernel.h
dlib/array/array_kernel_abstract.h
dlib/array2d/array2d_kernel.h
dlib/bayes_utils/bayes_utils.h
dlib/binary_search_tree/binary_search_tree_kernel_1.h
dlib/binary_search_tree/binary_search_tree_kernel_2.h
dlib/cmd_line_parser/cmd_line_parser_kernel_1.h
dlib/disjoint_subsets/disjoint_subsets.h
dlib/disjoint_subsets/disjoint_subsets_abstract.h
dlib/disjoint_subsets/disjoint_subsets_sized.h
dlib/disjoint_subsets/disjoint_subsets_sized_abstract.h
dlib/dnn/cpu_dlib.cpp
dlib/dnn/tensor_abstract.h
dlib/geometry/border_enumerator.h
dlib/geometry/border_enumerator_abstract.h
dlib/gui_widgets/base_widgets.cpp
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/base_widgets_abstract.h
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h
dlib/hash_map/hash_map_kernel_1.h
dlib/hash_set/hash_set_kernel_1.h
dlib/hash_table/hash_table_kernel_1.h
dlib/hash_table/hash_table_kernel_2.h
dlib/image_keypoint/binned_vector_feature_image.h
dlib/image_keypoint/binned_vector_feature_image_abstract.h
dlib/image_keypoint/fine_hog_image.h
dlib/image_keypoint/fine_hog_image_abstract.h
dlib/image_keypoint/hashed_feature_image.h
dlib/image_keypoint/hashed_feature_image_abstract.h
dlib/image_keypoint/hog.h
dlib/image_keypoint/hog_abstract.h
dlib/image_keypoint/nearest_neighbor_feature_image.h
dlib/image_keypoint/nearest_neighbor_feature_image_abstract.h
dlib/image_keypoint/poly_image.h
dlib/image_keypoint/poly_image_abstract.h
dlib/interfaces/enumerable.h
dlib/interfaces/remover.h
dlib/lzp_buffer/lzp_buffer_kernel_1.h
dlib/lzp_buffer/lzp_buffer_kernel_2.h
dlib/lzp_buffer/lzp_buffer_kernel_abstract.h
dlib/manifold_regularization/linear_manifold_regularizer.h
dlib/map/map_kernel_1.h
dlib/opencv/cv_image.h
dlib/opencv/cv_image_abstract.h
dlib/pipe/pipe_kernel_1.h
dlib/pipe/pipe_kernel_abstract.h
dlib/queue/queue_kernel_1.h
dlib/queue/queue_kernel_2.h
dlib/sequence/sequence_kernel_1.h
dlib/sequence/sequence_kernel_2.h
dlib/set/set_kernel_1.h
dlib/sliding_buffer/sliding_buffer_kernel_1.h
dlib/stack/stack_kernel_1.h
dlib/static_map/static_map_kernel_1.h
dlib/static_set/static_set_kernel_1.h
dlib/statistics/random_subset_selector.h
dlib/statistics/random_subset_selector_abstract.h
dlib/svm/kernel_matrix.h
dlib/svm/linearly_independent_subset_finder.h
dlib/svm/linearly_independent_subset_finder_abstract.h
dlib/test/object_detector.cpp
dlib/xml_parser/xml_parser_kernel_1.h
examples/object_detector_advanced_ex.cpp

Revision: 205a9d0da31dbc75
Author: Davis King
Date: Feb 28, 2018 (17:07:28 UTC)

Changed to 5 point layout since it works better.

Modified
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h

Revision: 138045227ddd49d9
Author: Davis King
Date: Feb 28, 2018 (16:03:58 UTC)

Fixed spelling and improved error message.

Modified
dlib/CMakeLists.txt
dlib/config.h.in
dlib/test_for_odr_violations.cpp
dlib/test_for_odr_violations.h

Revision: 76718bf007d7b76d
Author: Davis King
Date: Feb 28, 2018 (15:56:22 UTC)

Code cleanup

Modified
dlib/test_for_odr_violations.cpp
dlib/test_for_odr_violations.h

Revision: febb4cadedca1c44
Author: Davis King
Date: Feb 28, 2018 (15:00:28 UTC)

Added a link time check that you aren't mixing headers from one version of dlib with binaries from a different dlib version.

Modified
dlib/CMakeLists.txt
dlib/config.h.in
dlib/test_for_odr_violations.cpp
dlib/test_for_odr_violations.h

Revision: 4317d7837f57c9ed
Author: Davis King
Date: Feb 28, 2018 (14:29:30 UTC)

Moved files around.

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/config.h
dlib/dnn/tensor_tools.h
dlib/global_optimization/global_function_search.h
dlib/image_loader/jpeg_loader.h
dlib/image_loader/png_loader.h
dlib/threads/threads_kernel_shared.h
Added
dlib/test_for_odr_violations.cpp
dlib/test_for_odr_violations.h
Deleted
dlib/all/test_for_odr_violations.cpp
dlib/all/test_for_odr_violations.h

Revision: 0fc0e2cd01179c44
Author: Davis King
Date: Feb 28, 2018 (14:25:55 UTC)

A bit of code cleanup

Modified
dlib/all/test_for_odr_violations.cpp
dlib/all/test_for_odr_violations.h
dlib/config.h

Revision: 29bcf09ea71de500
Author: Davis King
Date: Feb 28, 2018 (05:03:24 UTC)

Added isotonic_regression.

Modified
dlib/optimization.h
dlib/test/CMakeLists.txt
Added
dlib/optimization/isotonic_regression.h
dlib/optimization/isotonic_regression_abstract.h
dlib/test/isotonic_regression.cpp

Revision: 7b23317c2bce5448
Author: Davis King
Date: Feb 28, 2018 (02:59:48 UTC)

Added a comment.

Modified
dlib/config.h

Revision: 4fe4e6c95450c039
Author: Davis King
Date: Feb 28, 2018 (02:54:35 UTC)

Moved the ODR violation checking code into its own file.

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/dnn/tensor_tools.h
dlib/global_optimization/global_function_search.h
dlib/image_loader/jpeg_loader.h
dlib/image_loader/png_loader.h
dlib/threads/threads_kernel_shared.cpp
dlib/threads/threads_kernel_shared.h
Added
dlib/all/test_for_odr_violations.cpp
dlib/all/test_for_odr_violations.h

Revision: 126637b050321197
Author: Davis King
Date: Feb 28, 2018 (02:12:51 UTC)

Removed deprecated files.

Deleted
dlib/all_console.cpp
dlib/all_gui.cpp

Revision: 6f67b6e7284d3ef1
Author: Davis King
Date: Feb 27, 2018 (17:57:15 UTC)

Added some code that will cause people who make a standalone dlib build and then take the compiled library file but ignore the config.h file to get a linker error telling them they have been naughty. Instead, they should either use `make install` or `cmake --build . --target install` which will copy the correct files, or even better, don't install/build dlib as a standalone library. Instead, use it the way shown in examples/CMakeLists.txt.

Modified
dlib/CMakeLists.txt
dlib/config.h
dlib/threads/threads_kernel_shared.cpp
dlib/threads/threads_kernel_shared.h

Revision: c7242bacbcc1ff99
Author: Davis King
Date: Feb 27, 2018 (17:41:23 UTC)

merged

Modified
dlib/CMakeLists.txt
dlib/image_processing/object_detector_abstract.h
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h
dlib/test/statistics.cpp
docs/docs/howto_contribute.xml
setup.py

Revision: 9fe184a2deebfefe
Author: Davis King
Date: Feb 27, 2018 (17:40:13 UTC)

merged

Modified
dlib/CMakeLists.txt

Revision: 75370607b2add5a5
Author: Davis E. King
Date: Feb 27, 2018 (17:39:20 UTC)

Only define one dlib target in CMake and shared vs. static is determined by BUILD_SHARED_LIBS variable. (#1138) * Changed cmake so that there is only the dlib target and it isn't forced to be static or shared, instead, the build type will toggle based on the state of CMake's BUILD_SHARED_LIBS variable. * Make CMake build dlib statically whenever DLIB_IN_PROJECT_BUILD==true, regardless of the state of BUILD_SHARED_LIBS. This means projects that use dlib by saying add_subdirectory(dlib) will always statically link to dlib, unless DLIB_IN_PROJECT_BUILD is explicltly set to false and BUILD_SHARED_LIBS set to true.

Modified
CMakeLists.txt
dlib/CMakeLists.txt

Revision: 77d0e873ec1a70b6
Author: Juha Reunanen
Date: Feb 25, 2018 (21:11:18 UTC)

Change types of tensor's size-related members to prevent integer overflow (#1151) * Change types of tensor's size-related members, so that integer overflow does not happen so easily (see #1148) * Fix missing typecast

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/tensor.h
dlib/dnn/tensor_abstract.h

Revision: 987e59ef4c82aeef
Author: Davis King
Date: Feb 21, 2018 (16:51:48 UTC)

Added python interface to cuda::set_device() and other relevant functions.

Modified
tools/python/src/cnn_face_detector.cpp

Revision: 04476658c217ef47
Author: Davis King
Date: Feb 19, 2018 (08:31:07 UTC)

Add the example program contents as a test as well.

Modified
tools/python/test/test_global_optimization.py

Revision: 2f201f1b7f674a32
Author: Morten Hustveit
Date: Feb 19, 2018 (08:26:45 UTC)

Added support for variadic Python functions in find_max_global. (#1141) * Added support for variadic Python functions in find_max_global. * Add test for find_{min,max}_global on variadic functions.

Modified
tools/python/src/global_optimization.cpp
Added
tools/python/test/test_global_optimization.py

Revision: 044c1aeb9702ee92
Author: Davis King
Date: Feb 16, 2018 (12:57:10 UTC)

Fixed inconsistent random seeding in test.

Modified
dlib/test/cca.cpp

Revision: 22c5d6d0e4226931
Author: Davis King
Date: Feb 16, 2018 (12:55:37 UTC)

Added message to test so that the next time it fails on Appvetor we can see what happened.

Modified
dlib/test/cca.cpp

Revision: b277a211bbe3a241
Author: Davis King
Date: Feb 16, 2018 (14:09:10 UTC)

Make CMake build dlib statically whenever DLIB_IN_PROJECT_BUILD==true, regardless of the state of BUILD_SHARED_LIBS. This means projects that use dlib by saying add_subdirectory(dlib) will always statically link to dlib, unless DLIB_IN_PROJECT_BUILD is explicltly set to false and BUILD_SHARED_LIBS set to true.

Modified
CMakeLists.txt
dlib/CMakeLists.txt

Revision: ffe89e56344c9cb2
Author: Davis King
Date: Feb 16, 2018 (05:52:15 UTC)

Changed cmake so that there is only the dlib target and it isn't forced to be static or shared, instead, the build type will toggle based on the state of CMake's BUILD_SHARED_LIBS variable.

Modified
dlib/CMakeLists.txt

Revision: 3e0e7783a8323e2c
Author: Davis King
Date: Feb 23, 2018 (06:40:09 UTC)

Fixed bug in unit tests.

Modified
dlib/test/statistics.cpp

Revision: f9014e4591e1277a
Author: Davis King
Date: Feb 22, 2018 (03:10:25 UTC)

Fixed the decayed running stats objects so they use unbiased estimators.

Modified
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h
dlib/test/statistics.cpp

Revision: 41f469465dadbf65
Author: Davis King
Date: Feb 21, 2018 (02:58:27 UTC)

Fixed typo in spec

Modified
dlib/image_processing/object_detector_abstract.h

Revision: dc26e1ceee8177d0
Author: Davis King
Date: Feb 16, 2018 (08:04:13 UTC)

Added dlib version to compiled library file names when using visual studio.

Modified
dlib/CMakeLists.txt

Revision: fa28e3d1de401e6b
Author: Davis King
Date: Feb 14, 2018 (17:01:53 UTC)

Fixed spelling errors.

Modified
dlib/base64/base64_kernel_1.cpp
dlib/bit_stream/bit_stream_kernel_1.cpp
dlib/entropy_encoder/entropy_encoder_kernel_1.cpp
dlib/entropy_encoder/entropy_encoder_kernel_2.cpp

Revision: 3f0f554799db4109
Author: Davis King
Date: Feb 14, 2018 (17:01:22 UTC)

Fixed pybind11 not doing the overload resolution correctly on the cnn_face_detector's operator() in Python.

Modified
tools/python/src/cnn_face_detector.cpp

Revision: a652f9ce4b2f61e7
Author: Davis King
Date: Feb 14, 2018 (17:00:52 UTC)

Improved the type validation on numpy arrays passed to dlib. The old code didn't have complete coverage and would let incorrectly typed numpy arrays through.

Modified
dlib/python/numpy.h

Revision: f56b51546c5bd592
Author: Davis King
Date: Feb 14, 2018 (16:32:56 UTC)

Upgrade to the newer shuffle command to avoid warnings about deprecation from CUDA 9.0.

Modified
dlib/dnn/cuda_utils.h

Revision: 29ef40161f198fbe
Author: Davis King
Date: Feb 13, 2018 (14:09:54 UTC)

Added missing , in output

Modified
tools/python/src/shape_predictor.h

Revision: fd875018ebdd283e
Author: HarveyBrezinaConniffe
Date: Feb 13, 2018 (21:28:46 UTC)

Added set_dnn_prefer_smallest_algorithms() (#1128) * Added set_dnn_prefer_smallest_algorithms() * Added description for set_dnn_prefer_smallest_algorithms();w * Changed architectures to algorithms.

Modified
tools/python/src/cnn_face_detector.cpp

Revision: ef7ee97ea70fdfac
Author: Davis King
Date: Feb 13, 2018 (02:42:16 UTC)

Refactored the random feature selection function so that it always has bounded runtime, even with very bad parameter selections.

Modified
dlib/image_processing/shape_predictor_trainer.h

Revision: 8e4d8bb893d7b44b
Author: Davis King
Date: Feb 12, 2018 (13:06:32 UTC)

Improve cmake lapack finding.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: ea7e82dce4671d94
Author: Davis King
Date: Feb 11, 2018 (17:40:30 UTC)

Fixed incorrect input validation.

Modified
tools/python/src/shape_predictor.h

Revision: cbe9ce8a41ba4519
Author: Davis King
Date: Feb 11, 2018 (17:38:27 UTC)

removed debugging print statement.

Modified
tools/python/src/global_optimization.cpp

Revision: 123b4bda0a44677b
Author: Davis King
Date: Feb 11, 2018 (13:15:40 UTC)

Added num_threads to shape_predictor_training_options.

Modified
tools/python/src/shape_predictor.cpp
tools/python/src/shape_predictor.h

Revision: 5e86be6d03bdfbb6
Author: Davis King
Date: Feb 11, 2018 (12:19:04 UTC)

- Added rectangless. - Moved all uses of PYBIND11_MAKE_OPAQUE to a common header to avoid possilbe ODR violations. - Added python binding for make_bounding_box_regression_training_data().

Modified
tools/python/src/basic.cpp
tools/python/src/cca.cpp
tools/python/src/cnn_face_detector.cpp
tools/python/src/conversion.h
tools/python/src/correlation_tracker.cpp
tools/python/src/decision_functions.cpp
tools/python/src/dlib.cpp
tools/python/src/face_recognition.cpp
tools/python/src/global_optimization.cpp
tools/python/src/gui.cpp
tools/python/src/image.cpp
tools/python/src/image_dataset_metadata.cpp
tools/python/src/matrix.cpp
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns_stub.cpp
tools/python/src/object_detection.cpp
tools/python/src/other.cpp
tools/python/src/rectangles.cpp
tools/python/src/sequence_segmenter.cpp
tools/python/src/shape_predictor.cpp
tools/python/src/simple_object_detector_py.h
tools/python/src/svm_c_trainer.cpp
tools/python/src/svm_rank_trainer.cpp
tools/python/src/svm_struct.cpp
tools/python/src/vector.cpp
Added
tools/python/src/opaque_types.h

Revision: d7335e35693ef690
Author: Davis King
Date: Feb 11, 2018 (03:43:35 UTC)

Updated to pybind11 2.2.2

Modified
dlib/external/pybind11/README.md
dlib/external/pybind11/include/pybind11/cast.h
dlib/external/pybind11/include/pybind11/complex.h
dlib/external/pybind11/include/pybind11/detail/class.h
dlib/external/pybind11/include/pybind11/detail/common.h
dlib/external/pybind11/include/pybind11/detail/descr.h
dlib/external/pybind11/include/pybind11/detail/init.h
dlib/external/pybind11/include/pybind11/detail/internals.h
dlib/external/pybind11/include/pybind11/eigen.h
dlib/external/pybind11/include/pybind11/embed.h
dlib/external/pybind11/include/pybind11/functional.h
dlib/external/pybind11/include/pybind11/numpy.h
dlib/external/pybind11/include/pybind11/pybind11.h
dlib/external/pybind11/include/pybind11/pytypes.h
dlib/external/pybind11/include/pybind11/stl.h
dlib/external/pybind11/include/pybind11/stl_bind.h
dlib/external/pybind11/tools/FindPythonLibsNew.cmake

Revision: 99b852345d160321
Author: Davis King
Date: Feb 10, 2018 (12:12:13 UTC)

Made the index outputs of run_multiple_rect_detectors be integers rather than doubles.

Modified
tools/python/src/simple_object_detector_py.h

Revision: f770e191ed02271c
Author: Davis King
Date: Feb 10, 2018 (11:58:02 UTC)

Added comments about how to run multiple detectors together efficiently.

Modified
python_examples/train_object_detector.py

Revision: 66ed1903476ef69c
Author: Davis King
Date: Feb 10, 2018 (07:44:39 UTC)

Exposed the image_dataset_metadata routines for parsing XML datasets to Python.

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
Added
tools/python/src/image_dataset_metadata.cpp

Revision: 83b8fbdbf2b8cb97
Author: Davis King
Date: Feb 10, 2018 (07:37:14 UTC)

Made dlib.point() have writable x and y properties.

Modified
tools/python/src/vector.cpp

Revision: d9cdb3edc0dd7efd
Author: Davis King
Date: Feb 10, 2018 (05:08:25 UTC)

Added a __time_compiled__ field to the python API.

Modified
tools/python/src/dlib.cpp

Revision: 7b6b28a140ed3671
Author: Davis King
Date: Feb 10, 2018 (03:08:55 UTC)

Fixed fft_inplace() not compiling for compile time sized matrices.

Modified
dlib/matrix/matrix_fft.h
dlib/test/fft.cpp

Revision: 6a92d44c36c42f0c
Author: Davis King
Date: Feb 07, 2018 (12:32:25 UTC)

Actually, this really fixed the confusing cmake message about BLAS and LAPACK.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 0fe43ea5d71f8626
Author: Davis King
Date: Feb 07, 2018 (10:57:35 UTC)

Fixed confusing warning message from cmake about BLAS.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 5925adeb857c34fa
Author: Davis King
Date: Feb 06, 2018 (01:34:42 UTC)

Make test more robust

Modified
dlib/test/global_optimization.cpp

Revision: f13ec25363670b73
Author: Davis King
Date: Feb 03, 2018 (13:18:45 UTC)

Added probability_that_sequence_is_increasing() to python API

Modified
tools/python/src/other.cpp

Revision: 938b9c3a7a3870a2
Author: Davis King
Date: Feb 03, 2018 (07:13:54 UTC)

Fixed problems in python doc generation.

Modified
tools/python/src/dlib.cpp

Revision: e1c16f065a2873a9
Author: Davis King
Date: Feb 03, 2018 (06:32:46 UTC)

Fixed bug in scale_ layer that would trigger when the num_samples() dimension of a tensor changed. I.e. if you ran mini-batches with different sample sizes you would get an assert triggering. This has been fixed.

Modified
dlib/dnn/layers.h

Revision: 71d756b6d30b2e1e
Author: Davis King
Date: Feb 03, 2018 (04:13:27 UTC)

Let pybind11 produce nice documentation.

Modified
tools/python/src/dlib.cpp

Revision: 6c6fee2a4ee6f8c7
Author: ksemb
Date: Feb 02, 2018 (13:14:03 UTC)

Add Python rvm_trainer and init functions (#1100)

Modified
tools/python/src/svm_c_trainer.cpp
Added
tools/python/test/test_svm_c_trainer.py

Revision: 8c60a399e5e36dbf
Author: Davis King
Date: Feb 01, 2018 (03:02:52 UTC)

Added warning about crazy training data.

Modified
dlib/image_processing/shape_predictor_trainer.h

Revision: 6c32bdbeac17d35e
Author: Davis King
Date: Feb 01, 2018 (03:02:36 UTC)

Fixed code not handling OBJECT_PART_NOT_PRESENT for full_object_detection objects.

Modified
dlib/image_transforms/interpolation.h

Revision: 41354dcd2f1071d8
Author: Davis King
Date: Feb 01, 2018 (02:43:07 UTC)

Fixed confusing comment

Modified
dlib/dnn/trainer.h

Revision: e4163be94cf200ff
Author: Davis King
Date: Jan 31, 2018 (14:50:24 UTC)

Fixed cont_ layers not printing the correct num_filters parameter when they are printed to cout or xml.

Modified
dlib/dnn/layers.h

Revision: bb2ac1cb6f23bc25
Author: Davis King
Date: Jan 31, 2018 (14:40:32 UTC)

Fixed tabbing

Modified
dlib/algs.h

Revision: 924a1b606b7d7860
Author: Davis King
Date: Jan 31, 2018 (07:50:38 UTC)

A bit of code cleanup.

Modified
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h

Revision: 28f33da41fcbe63a
Author: Davis King
Date: Jan 29, 2018 (17:17:08 UTC)

Added make_bounding_box_regression_training_data()

Modified
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h

Revision: 9b3205c02113da1a
Author: Davis King
Date: Jan 28, 2018 (06:28:56 UTC)

Added max_scoring_element() and min_scoring_element()

Modified
dlib/algs.h

Revision: 5cb39cea66791afb
Author: Davis King
Date: Jan 29, 2018 (11:13:26 UTC)

Added the ramdump type decorator for invoking faster serialization routines.

Modified
dlib/matrix/matrix.h
dlib/serialize.h
dlib/test/serialize.cpp

Revision: 87293d77edd1b223
Author: Davis King
Date: Jan 29, 2018 (04:17:58 UTC)

Improved error message.

Modified
dlib/dnn/layers.h

Revision: 2c66be0ad292e2a9
Author: Davis King
Date: Jan 28, 2018 (03:03:11 UTC)

Fixed windows include order problem in all/source.cpp file.

Modified
dlib/all/source.cpp

Revision: 21d4fd2b834447a9
Author: Davis King
Date: Jan 28, 2018 (02:59:40 UTC)

More tests for travis-ci.

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: 86425410628a2122
Author: Davis King
Date: Jan 28, 2018 (02:49:35 UTC)

More appveyor tests

Modified
dlib/appveyor/dtest.yml
dlib/appveyor/dtest_vc2017.yml

Revision: 1ace741991e70f61
Author: Davis King
Date: Jan 28, 2018 (02:41:45 UTC)

Fixing appveyor config

Modified
dlib/appveyor/dtest_vc2017.yml

Revision: 52c4265fece17125
Author: Davis King
Date: Jan 28, 2018 (02:37:47 UTC)

Run unit tests in visual studio 2017

Added
dlib/appveyor/dtest_vc2017.yml

Revision: e018cac136754b3f
Author: Davis King
Date: Jan 27, 2018 (06:00:37 UTC)

Added loss_multimulticlass_log_

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: de922956e39a580d
Author: Davis King
Date: Jan 27, 2018 (05:47:00 UTC)

Made it so you can say sgd(weight_decay) to construct a sgd object.

Modified
dlib/dnn/solvers.h
dlib/dnn/solvers_abstract.h

Revision: 73931a816dd3c038
Author: Davis King
Date: Jan 27, 2018 (02:49:28 UTC)

Renamed scale_prev_ to scale_ and swapped the layers it reads from. Now the scales come from the immediate predecessor and the tensor to be scaled from the tag.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: be5d9c43a80ed07f
Author: Davis King
Date: Jan 26, 2018 (07:43:47 UTC)

Added xcorr_fft()

Modified
dlib/matrix/matrix_conv.h
dlib/matrix/matrix_conv_abstract.h
dlib/test/matrix4.cpp

Revision: 867e58c0570cab89
Author: Davis King
Date: Jan 26, 2018 (07:43:30 UTC)

Added missing assert

Modified
dlib/matrix/matrix_fft.h
dlib/matrix/matrix_fft_abstract.h

Revision: e4c6c2bf7be5f954
Author: Davis King
Date: Jan 26, 2018 (07:38:10 UTC)

Gave circular_buffer a constructor that takes the size.

Modified
dlib/sliding_buffer/circular_buffer.h
dlib/sliding_buffer/circular_buffer_abstract.h

Revision: 187664979f2b56e4
Author: Davis King
Date: Jan 26, 2018 (11:46:52 UTC)

Added scale_prev_ layer.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: 5a5e8316ea4819e4
Author: Davis King
Date: Jan 26, 2018 (11:45:22 UTC)

Made alias_tensor take a default offset of 0 so you can easily use it to reshape a tensor.

Modified
dlib/dnn/tensor.h
dlib/dnn/tensor_abstract.h

Revision: 0ae1349d0b074221
Author: Davis King
Date: Jan 26, 2018 (08:03:22 UTC)

Switched 2D kernels to use the new 2D launch_kernel(). Also added overload of dot_prods() that can accumulate in addition to assign.

Modified
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: f75723af8eeceea9
Author: Davis King
Date: Jan 26, 2018 (07:45:13 UTC)

Improve launch_kernel(), now it can sensibly launch 2D kernels.

Modified
dlib/dnn/cuda_utils.h

Revision: cc35ed99504ddfc9
Author: Davis King
Date: Jan 25, 2018 (05:25:28 UTC)

Added tt::scale_channels()

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: bad41be74be93a35
Author: Christopher Baker
Date: Jan 24, 2018 (08:33:06 UTC)

Add support for finding MKL on macOS, Fixes #1033. (#1088)

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 1eb36b4128ca4e82
Author: Davis King
Date: Jan 24, 2018 (07:54:54 UTC)

Added binomial_random_vars_are_different() and event_correlation().

Modified
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h
dlib/test/statistics.cpp

Revision: 8e22363a6b7ca2ac
Author: Davis King
Date: Jan 24, 2018 (07:07:52 UTC)

Added overload of svd_fast() that doesn't compute u.

Modified
dlib/matrix/matrix_la.h
dlib/matrix/matrix_la_abstract.h

Revision: ef802a7a4bede197
Author: Davis King
Date: Jan 24, 2018 (06:36:02 UTC)

Made orthogonalize() faster.

Modified
dlib/matrix/matrix_la.h

Revision: 7a94d4728c073ed0
Author: Davis King
Date: Jan 22, 2018 (14:29:39 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 0cbf133b31c13f66
Author: Davis King
Date: Jan 22, 2018 (14:27:34 UTC)

Created release v19.9

Modified
dlib/CMakeLists.txt

Revision: f9ef9feebe06f183
Author: Davis King
Date: Jan 22, 2018 (14:23:01 UTC)

Removed references to boost.python since it's no longer needed.

Modified
docs/docs/faq.xml
python_examples/cnn_face_detector.py
python_examples/correlation_tracker.py
python_examples/face_alignment.py
python_examples/face_clustering.py
python_examples/face_detector.py
python_examples/face_jitter.py
python_examples/face_landmark_detection.py
python_examples/face_recognition.py
python_examples/find_candidate_object_locations.py
python_examples/global_optimization.py
python_examples/max_cost_assignment.py
python_examples/sequence_segmenter.py
python_examples/svm_binary_classifier.py
python_examples/svm_rank.py
python_examples/svm_struct.py
python_examples/train_object_detector.py
python_examples/train_shape_predictor.py

Revision: 0adebb7f69997f70
Author: Davis King
Date: Jan 22, 2018 (02:36:53 UTC)

Added global properties that tell how dlib was compiled.

Modified
tools/python/src/dlib.cpp

Revision: 242e4181e085ec34
Author: Davis King
Date: Jan 21, 2018 (11:10:58 UTC)

Fixed travis config problem.

Modified
dlib/travis/build-and-test.sh

Revision: 82b24985d337b228
Author: Davis King
Date: Jan 21, 2018 (10:16:48 UTC)

Travis-ci needs better documentation, seriously.

Modified
dlib/travis/build-and-test.sh

Revision: b1c63c53fe3ec5b5
Author: Davis King
Date: Jan 21, 2018 (08:14:18 UTC)

Removed auto_ptr from these old smart pointers since auto_ptr is officially removed in C++17 from the standard library.

Modified
dlib/smart_pointers/shared_ptr.h
dlib/smart_pointers/shared_ptr_abstract.h
dlib/smart_pointers/shared_ptr_thread_safe.h
dlib/smart_pointers/shared_ptr_thread_safe_abstract.h

Revision: 4c29366127899659
Author: Davis King
Date: Jan 21, 2018 (07:17:22 UTC)

Fixed warnings in gcc 7

Modified
dlib/general_hash/murmur_hash3.h
dlib/serialize.h
dlib/svm/pegasos.h
dlib/svm/svm_c_linear_trainer.h
dlib/test/cca.cpp
dlib/xml_parser/xml_parser_kernel_1.h

Revision: ad9d9576e3a56428
Author: Davis King
Date: Jan 19, 2018 (14:01:30 UTC)

Made test more robust.

Modified
dlib/test/matrix.cpp

Revision: ab299d0f6fef49f9
Author: Davis King
Date: Jan 19, 2018 (13:49:21 UTC)

Made the sparse version of svd_fast() use multiple CPU cores.

Modified
dlib/matrix/matrix_la.h
dlib/test/cca.cpp

Revision: 983d5ce5a35aecfa
Author: Davis King
Date: Jan 19, 2018 (13:48:25 UTC)

Fixed the code ignoring the angle scan, oops.

Modified
tools/imglab/src/flip_dataset.cpp

Revision: 5f104aee700ae841
Author: Davis King
Date: Jan 18, 2018 (06:11:08 UTC)

Changed test a little so that it hopefully doesn't fail on travis-ci's overloaded OS X test servers.

Modified
dlib/test/timer.cpp

Revision: 33b39b662078500b
Author: Davis King
Date: Jan 17, 2018 (16:35:43 UTC)

More travis stuff

Modified
dlib/travis/build-and-test.sh

Revision: 3b03a44ba2c5c2c1
Author: Davis King
Date: Jan 17, 2018 (16:13:01 UTC)

more travis stuff

Modified
.travis.yml
dlib/travis/build-and-test.sh
Deleted
dlib/travis/before-install.sh

Revision: 15653580d09e359a
Author: Davis King
Date: Jan 17, 2018 (16:00:38 UTC)

more travis testing

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: 549dec16bb689602
Author: Davis King
Date: Jan 17, 2018 (14:41:04 UTC)

updated for clean travis

Modified
dlib/travis/build-and-test.sh

Revision: 7bcb494c34bf3ca9
Author: Davis King
Date: Jan 17, 2018 (14:28:26 UTC)

More travis

Modified
dlib/travis/build-and-test.sh

Revision: ceab72b7eb090b3a
Author: Davis King
Date: Jan 17, 2018 (14:12:56 UTC)

Travis

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: a9c0c2ca960a9ec4
Author: Davis King
Date: Jan 17, 2018 (13:58:19 UTC)

Still trying to get travis to behave

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: a7624589c3c18423
Author: Davis King
Date: Jan 17, 2018 (13:49:23 UTC)

More travis stuff

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: be1db8fda761d7b8
Author: Davis King
Date: Jan 17, 2018 (01:44:08 UTC)

fix travis build and test script

Modified
dlib/travis/build-and-test.sh

Revision: 157981252926584a
Author: Davis King
Date: Jan 16, 2018 (16:26:56 UTC)

Different versions of python disagree on what exception gets thrown. So just check for any exception.

Modified
tools/python/test/test_array.py
tools/python/test/test_vector.py

Revision: f20d332651129e01
Author: Davis King
Date: Jan 16, 2018 (16:00:54 UTC)

Fixed test to really work if numpy isn't installed.

Modified
tools/python/test/test_matrix.py

Revision: 0ccd44c600dd3094
Author: Davis King
Date: Jan 16, 2018 (15:14:37 UTC)

Disable these tests if numpy isn't installed

Modified
tools/python/test/test_matrix.py

Revision: ef48b2b3b4681d77
Author: Davis King
Date: Jan 16, 2018 (15:07:09 UTC)

A minor change to avoid compiler warnings in visual studio.

Modified
dlib/simd/simd_check.h

Revision: 10a389390c6c8479
Author: Davis King
Date: Jan 16, 2018 (14:54:33 UTC)

Added appveyor python tests

Added
dlib/appveyor/python.yml

Revision: 5c52811f0a4044d1
Author: Davis King
Date: Jan 16, 2018 (14:47:27 UTC)

Make travis python tests run via setup.py

Modified
dlib/travis/build-and-test.sh

Revision: 87ba9771c4980cde
Author: Davis King
Date: Jan 16, 2018 (14:23:35 UTC)

Fixed grammar

Modified
dlib/simd/simd_check.h

Revision: b6275535b393b92a
Author: Davis King
Date: Jan 16, 2018 (14:23:08 UTC)

Fixed simd warning message not working.

Modified
tools/python/src/dlib.cpp
tools/python/src/numpy_returns.cpp

Revision: f101973c5037935a
Author: Davis King
Date: Jan 16, 2018 (02:26:46 UTC)

Added warning about simd instructions

Modified
tools/python/src/dlib.cpp

Revision: 70d46fd1725e0df9
Author: Davis King
Date: Jan 16, 2018 (02:25:55 UTC)

Added missing #include

Modified
dlib/simd/simd_check.h

Revision: 2f435c3aa432019b
Author: Davis King
Date: Jan 16, 2018 (02:24:47 UTC)

Cleaned up setup.py and the python cmake script.

Modified
setup.py
tools/python/CMakeLists.txt
Deleted
setup_new.py

Revision: 07ab3973367db646
Author: Davis King
Date: Jan 15, 2018 (17:29:37 UTC)

Made test work in python3

Modified
tools/python/test/test_array.py

Revision: 6e2868baa6549b9a
Author: Mischan Toosarani-Hausberger
Date: Jan 15, 2018 (21:41:40 UTC)

Replace boost::python with pybind11 (#1040) * Replace boost::python with pybind11 * Replace add_python_module with pybind11_add_module * Fix clang error on type-dependent expression

Modified
dlib/python.h
dlib/python/numpy.h
dlib/python/numpy_image.h
dlib/python/pyassert.h
dlib/python/serialize_pickle.h
python_examples/svm_binary_classifier.py
tools/python/CMakeLists.txt
tools/python/src/basic.cpp
tools/python/src/cca.cpp
tools/python/src/cnn_face_detector.cpp
tools/python/src/conversion.h
tools/python/src/correlation_tracker.cpp
tools/python/src/decision_functions.cpp
tools/python/src/dlib.cpp
tools/python/src/face_recognition.cpp
tools/python/src/global_optimization.cpp
tools/python/src/gui.cpp
tools/python/src/image.cpp
tools/python/src/indexing.h
tools/python/src/matrix.cpp
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns_stub.cpp
tools/python/src/object_detection.cpp
tools/python/src/other.cpp
tools/python/src/rectangles.cpp
tools/python/src/sequence_segmenter.cpp
tools/python/src/shape_predictor.cpp
tools/python/src/simple_object_detector_py.h
tools/python/src/svm_c_trainer.cpp
tools/python/src/svm_rank_trainer.cpp
tools/python/src/svm_struct.cpp
tools/python/src/vector.cpp
Added
dlib/external/pybind11/CMakeLists.txt
dlib/external/pybind11/CONTRIBUTING.md
dlib/external/pybind11/LICENSE
dlib/external/pybind11/README.md
dlib/external/pybind11/include/pybind11/attr.h
dlib/external/pybind11/include/pybind11/buffer_info.h
dlib/external/pybind11/include/pybind11/cast.h
dlib/external/pybind11/include/pybind11/chrono.h
dlib/external/pybind11/include/pybind11/common.h
dlib/external/pybind11/include/pybind11/complex.h
dlib/external/pybind11/include/pybind11/detail/class.h
dlib/external/pybind11/include/pybind11/detail/common.h
dlib/external/pybind11/include/pybind11/detail/descr.h
dlib/external/pybind11/include/pybind11/detail/init.h
dlib/external/pybind11/include/pybind11/detail/internals.h
dlib/external/pybind11/include/pybind11/detail/typeid.h
dlib/external/pybind11/include/pybind11/eigen.h
dlib/external/pybind11/include/pybind11/embed.h
dlib/external/pybind11/include/pybind11/eval.h
dlib/external/pybind11/include/pybind11/functional.h
dlib/external/pybind11/include/pybind11/iostream.h
dlib/external/pybind11/include/pybind11/numpy.h
dlib/external/pybind11/include/pybind11/operators.h
dlib/external/pybind11/include/pybind11/options.h
dlib/external/pybind11/include/pybind11/pybind11.h
dlib/external/pybind11/include/pybind11/pytypes.h
dlib/external/pybind11/include/pybind11/stl.h
dlib/external/pybind11/include/pybind11/stl_bind.h
dlib/external/pybind11/tools/FindCatch.cmake
dlib/external/pybind11/tools/FindEigen3.cmake
dlib/external/pybind11/tools/FindPythonLibsNew.cmake
dlib/external/pybind11/tools/check-style.sh
dlib/external/pybind11/tools/libsize.py
dlib/external/pybind11/tools/mkdoc.py
dlib/external/pybind11/tools/pybind11Config.cmake.in
dlib/external/pybind11/tools/pybind11Tools.cmake
dlib/python/pybind_utils.h
tools/python/test/.gitignore
tools/python/test/test_array.py
tools/python/test/test_matrix.py
tools/python/test/test_point.py
tools/python/test/test_range.py
tools/python/test/test_rgb_pixel.py
tools/python/test/test_sparse_vector.py
tools/python/test/test_vector.py
Deleted
dlib/cmake_utils/add_python_module
dlib/python/boost_python_utils.h

Revision: 9618feae0afeebee
Author: Davis King
Date: Jan 14, 2018 (04:16:50 UTC)

Changed the behavior of imglab's --flip option. It will now attempt to adjust any object part labels so that the flipped dataset has the same average part layout as the source dataset. I added a --flip-basic that behaves like the old --flip. However, most people flipping a dataset with part annotations will want to use --flip.

Modified
tools/imglab/src/flip_dataset.cpp
tools/imglab/src/main.cpp

Revision: 8e1d83b8c1207740
Author: Davis King
Date: Jan 13, 2018 (09:36:55 UTC)

Just moved code around to clean things up a little.

Modified
tools/imglab/CMakeLists.txt
tools/imglab/src/common.cpp
tools/imglab/src/common.h
tools/imglab/src/main.cpp
Added
tools/imglab/src/flip_dataset.cpp
tools/imglab/src/flip_dataset.h

Revision: c1690da74abc8876
Author: Davis King
Date: Jan 12, 2018 (17:19:53 UTC)

Fix compile error in visual studio.

Modified
dlib/simd/simd_check.h

Revision: 0939551ad1ab6530
Author: Davis King
Date: Jan 12, 2018 (17:10:24 UTC)

Added some functions for checking, at runtime, what SIMD instructions are available.

Modified
dlib/simd/simd_check.h

Revision: 8d38e817005d35ba
Author: David Hirvonen
Date: Jan 04, 2018 (09:17:00 UTC)

CUDA_PROPAGATE_HOST_FLAGS=OFF in FindCUDA.cmake for try_compile tests (#1048) Set `CUDA_PROPAGATE_HOST_FLAGS=OFF` in FindCUDA.cmake to avoid duplicate flag errors in nvcc that can occur when host flag forwarding is enabled and `-std=c++11` is set in `CMAKE_CXX_FLAGS` in the operative toolchain. ``` # Override the FindCUDA.cmake setting to avoid duplication of host flags if using a toolchain: option(CUDA_PROPAGATE_HOST_FLAGS "Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile" OFF) ```

Modified
dlib/cmake_utils/test_for_cuda/CMakeLists.txt
dlib/cmake_utils/test_for_cudnn/CMakeLists.txt

Revision: f13a7f757b126b20
Author: Davis King
Date: Jan 10, 2018 (13:49:49 UTC)

Made cmake print a more informative error message when your compiler doesn't appear to support cuda.

Modified
dlib/CMakeLists.txt

Revision: 650507075796b484
Author: Davis King
Date: Jan 03, 2018 (16:25:33 UTC)

Updated XQuartz URL

Modified
dlib/CMakeLists.txt

Revision: 0d1d29bd45efdef0
Author: Duc Thien Bui
Date: Dec 25, 2017 (26:56:42 UTC)

fix typo in train find cars example (#1028)

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 9d2f6efc359f7952
Author: Andriy Gerasika
Date: Dec 25, 2017 (04:51:19 UTC)

>2x performance increase if DLIB_DO_NOT_USE_SIMD is defined (#1027)

Modified
dlib/simd/simd8f.h
dlib/simd/simd8i.h

Revision: 3cf0d6713204ed88
Author: Davis King
Date: Dec 25, 2017 (03:50:34 UTC)

Fixed typos

Modified
examples/CMakeLists.txt

Revision: 0d50f3df64f10342
Author: Paul Guyot
Date: Dec 20, 2017 (18:28:39 UTC)

Make sure intel architecture is properly detected (#1024) On systems such as FreeBSD, `uname -p` returns amd64 (in lowercase) and -DUSE_AVX_INSTRUCTIONS=1 does not work (the option is ignored).

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 5efb80ed890b0d2f
Author: Davis King
Date: Dec 23, 2017 (04:48:11 UTC)

Made cmake include the visual studio runtime version in the name of the output .lib file when building dlib in visual studio.

Modified
dlib/CMakeLists.txt

Revision: 7dfc4d5e850e59ff
Author: Davis King
Date: Dec 19, 2017 (17:24:31 UTC)

Make the global optimizer work in python3

Modified
tools/python/src/global_optimization.cpp

Revision: 3864a4477300b2d4
Author: Davis King
Date: Dec 19, 2017 (16:16:57 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: fef491c3b8182c68
Author: Davis King
Date: Dec 19, 2017 (16:15:28 UTC)

Created release v19.8

Modified
dlib/CMakeLists.txt

Revision: 3d917692ac8ab43c
Author: Davis King
Date: Dec 19, 2017 (09:18:55 UTC)

Removed an assert used for debugging that shouldn't have been committed.

Modified
dlib/image_transforms/random_cropper.h

Revision: 94abd62c1124f2af
Author: Davis King
Date: Dec 19, 2017 (05:57:07 UTC)

Fixed set_colm() and set_rowm() not being assignable from some matrix expressions.

Modified
dlib/matrix/matrix_blas_bindings.h
dlib/test/matrix.cpp

Revision: 1662c169b5b4c6b9
Author: Davis King
Date: Dec 19, 2017 (04:59:55 UTC)

Made unit test more robust.

Modified
dlib/test/global_optimization.cpp

Revision: 08908ad3f420a5ae
Author: Davis King
Date: Dec 19, 2017 (01:34:49 UTC)

Fixed initial point selection to only happen once.

Modified
dlib/global_optimization/global_function_search.cpp

Revision: e968c246e86cfa36
Author: Davis King
Date: Dec 18, 2017 (11:20:21 UTC)

Minor update

Modified
examples/model_selection_ex.cpp

Revision: ec042547cb06c4a7
Author: Davis King
Date: Dec 18, 2017 (10:59:23 UTC)

Added a minor optimization.

Modified
dlib/global_optimization/global_function_search.cpp
dlib/test/global_optimization.cpp

Revision: 9b23de588b165989
Author: Davis King
Date: Dec 18, 2017 (10:07:41 UTC)

Fixed problem with openmp linking

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/cmake_find_blas.txt

Revision: 81ce6ee1d0be74bf
Author: David Hirvonen
Date: Dec 17, 2017 (15:18:44 UTC)

add chrono::duration_cast<>() cast for clang error (#1019) * fix chrono cast for llvm https://stackoverflow.com/a/18284105 tested: clang-3.9, clang-5.0 ``` /Source/dlib/dir_nav/dir_nav_kernel_2.h:397:31: error: no viable overloaded '+=' last_modified += std::chrono::nanoseconds(buffer.st_atim.tv_nsec); ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/chrono:782:43: note: candidate function not viable: no known conversion from 'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...], ratio<[...], 1000000>>' for 1st argument _LIBCPP_INLINE_VISIBILITY time_point& operator+=(const duration& __d) {__d_ += __d; return *this;} ^ Source/dlib/dir_nav/dir_nav_kernel_2.cpp:69:33: error: no viable overloaded '+=' state.last_modified += std::chrono::nanoseconds(buffer.st_atim.tv_nsec); ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/chrono:782:43: note: candidate function not viable: no known conversion from 'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...], ratio<[...], 1000000>>' for 1st argument _LIBCPP_INLINE_VISIBILITY time_point& operator+=(const duration& __d) {__d_ += __d; return *this;} ``` * fix typo

Modified
dlib/dir_nav/dir_nav_kernel_2.cpp
dlib/dir_nav/dir_nav_kernel_2.h

Revision: 351ebdcb19bd65d3
Author: Davis King
Date: Dec 17, 2017 (09:41:00 UTC)

Changed this example to use repeat layers. This doesn't change the behavior of the code, but it helps visual studio use less RAM when building the example, and might make appveyor not crash. It's also a slightly cleaner way to write the code anyway.

Modified
examples/dnn_semantic_segmentation_ex.h

Revision: 85bf1aad671e76ba
Author: Davis King
Date: Dec 17, 2017 (08:46:37 UTC)

Check if appveyor's VS2017 is the newest version.

Modified
dlib/appveyor/examples.yml

Revision: 7f5e338f0d255b30
Author: Davis King
Date: Dec 17, 2017 (04:02:07 UTC)

Updated messages about what versions of visual studio have good enough C++11 support.

Modified
dlib/cmake_utils/add_python_module
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 02c4f9aaef5f72bf
Author: Davis King
Date: Dec 17, 2017 (03:23:43 UTC)

Split appveyor build scripts into parts so they don't error out from being too big.

Added
dlib/appveyor/dtest.yml
dlib/appveyor/examples.yml
Deleted
appveyor.yml

Revision: 591a0011897707cc
Author: Davis King
Date: Dec 16, 2017 (18:17:37 UTC)

Improved visual studio compilation instructions

Modified
examples/CMakeLists.txt

Revision: 5504a0de9a3c3b45
Author: Davis King
Date: Dec 16, 2017 (17:34:22 UTC)

Merged

Modified
dlib/global_optimization/upper_bound_function.h
dlib/global_optimization/upper_bound_function_abstract.h

Revision: 1e45c8f824fc4551
Author: ernestotapiar
Date: Dec 15, 2017 (24:12:58 UTC)

little corrections in global optimization (#1016) * Removed redudant (repeated) definition of sample_type. * Added return statement in the documentation of the (lambda) upper bound function.

Modified
dlib/global_optimization/upper_bound_function.h
dlib/global_optimization/upper_bound_function_abstract.h

Revision: 3c244dce053b1b6e
Author: Davis King
Date: Dec 16, 2017 (06:26:40 UTC)

Fixed grammar

Modified
dlib/optimization/optimization_trust_region_abstract.h

Revision: 2417f8c37b6011ff
Author: Davis King
Date: Dec 15, 2017 (12:08:49 UTC)

clarified spec

Modified
dlib/global_optimization/upper_bound_function_abstract.h

Revision: a6bf6bc3416703ee
Author: Davis King
Date: Dec 15, 2017 (06:30:19 UTC)

Clarified spec

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: 82b38c4a2a4ca4d9
Author: Davis King
Date: Dec 14, 2017 (03:06:16 UTC)

Improved error messages for people who have incorrectly installed boost in windows.

Modified
dlib/cmake_utils/add_python_module

Revision: c8c167dcc5e01115
Author: Davis King
Date: Dec 12, 2017 (16:57:04 UTC)

Added python bindings for count_steps_without_decrease() and count_steps_without_decrease_robust()

Modified
tools/python/src/other.cpp

Revision: 8e171f495e4698c3
Author: Aron Rubin
Date: Dec 12, 2017 (16:23:47 UTC)

Fixed type passing to opencv to use basic instead of aggregate. (#1010) * Fixed type passing to opencv to use basic instead of aggregate. * Change tabs to spaces.

Modified
dlib/opencv/to_open_cv.h

Revision: cefc32136b3da7a7
Author: Davis King
Date: Dec 12, 2017 (01:36:37 UTC)

Fixed DLIB_ISO_CPP_ONLY not building.

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp

Revision: c2a4495ce3e8c31a
Author: wyd1520
Date: Dec 12, 2017 (10:20:31 UTC)

Change VS2015 Update3 MSVC Version v19.0.24215.1 To v19.0.24210.0 (#1009)

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: e92d89dd296ed3d8
Author: Davis King
Date: Dec 11, 2017 (01:40:00 UTC)

Fixed spelling error in comment

Modified
examples/CMakeLists.txt

Revision: 7731b8fff8332d8e
Author: Davis King
Date: Dec 10, 2017 (10:33:46 UTC)

Better travis python testing.

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: 95a2f74aa9f62ea3
Author: Davis King
Date: Dec 10, 2017 (10:25:21 UTC)

Try to fix travis build

Modified
dlib/travis/build-and-test.sh

Revision: 911d65885af78570
Author: Davis King
Date: Dec 10, 2017 (10:24:45 UTC)

Improved cmake's finding of the right python interpreter.

Modified
dlib/cmake_utils/add_python_module

Revision: 12be4f07888a4212
Author: Davis King
Date: Dec 10, 2017 (09:57:00 UTC)

Tell the python3 tests to use python3

Modified
dlib/travis/build-and-test.sh

Revision: 6ea80b1865e8c8ca
Author: Davis King
Date: Dec 10, 2017 (09:48:09 UTC)

Minor tweak

Modified
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h

Revision: bbe33aaaebda370f
Author: Davis King
Date: Dec 10, 2017 (09:44:31 UTC)

Make travis build both python2 and python3 versions of the python extension.

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: 60019c50ec69fa42
Author: Davis King
Date: Dec 09, 2017 (15:53:35 UTC)

Made random_cropper's API a little more convenient for cropping out only background crops.

Modified
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper_abstract.h

Revision: 765f71aac76a690b
Author: Davis King
Date: Dec 09, 2017 (15:52:07 UTC)

The previous commit broke for pyhton2 but fixed python3. This should deal with numpy's import_array() in a more robust way.

Modified
tools/python/src/dlib.cpp
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns_stub.cpp

Revision: 6703f0dfaf08fff9
Author: Davis King
Date: Dec 09, 2017 (14:51:20 UTC)

Numpy's import_array() macro in python3 requires the calling function to return void*. But the previous code didn't so it wouldn't compile. Fixed that problem.

Modified
tools/python/src/dlib.cpp
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns_stub.cpp

Revision: 1dbced08946eb9d7
Author: Davis King
Date: Dec 08, 2017 (05:16:08 UTC)

A little bit of cleanup

Modified
python_examples/face_jitter.py

Revision: d54c33f16e6371c9
Author: Davis King
Date: Dec 08, 2017 (05:09:50 UTC)

Made this file executable

Modified
python_examples/face_jitter.py

Revision: 67e848f1de8c4f85
Author: Davis King
Date: Dec 08, 2017 (05:09:30 UTC)

cleaned up cmake

Modified
tools/python/CMakeLists.txt

Revision: eba177eb9652e560
Author: visionworkz
Date: Dec 08, 2017 (30:59:27 UTC)

Exposed jitter_image in Python and added an example (#980) * Exposed jitter_image in Python and added an example * Return Numpy array directly * Require numpy during setup * Added install of Numpy before builds * Changed pip install for user only due to security issues. * Removed malloc * Made presence of Numpy during compile optional. * Conflict * Refactored get_face_chip/get_face_chips to use Numpy as well.

Modified
appveyor.yml
dlib/travis/build-and-test.sh
python_examples/face_alignment.py
setup.py
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
tools/python/src/face_recognition.cpp
tools/python/src/image.cpp
Added
examples/faces/Tom_Cruise_avp_2014_4.jpg
python_examples/face_jitter.py
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns_stub.cpp

Revision: 4881802d52fbcdea
Author: Davis King
Date: Dec 08, 2017 (04:39:52 UTC)

Fixed spelling error that broke cmake just now.

Modified
dlib/CMakeLists.txt

Revision: 4b54c0247dfb20a1
Author: Kino
Date: Dec 08, 2017 (04:53:29 UTC)

don't look for OpenMP with Apple Clang (#1002) look at issue: https://github.com/davisking/dlib/issues/674

Modified
dlib/CMakeLists.txt

Revision: 4287d80d0e72860c
Author: Davis King
Date: Dec 08, 2017 (04:08:09 UTC)

Added USE_NEON_INSTRUCTIONS cmake option.

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 1f23d299f11ee131
Author: Davis King
Date: Dec 08, 2017 (04:07:49 UTC)

Fixed incorrect printing of blas warning message.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 4e06ffd2c0c55ade
Author: Davis King
Date: Dec 07, 2017 (03:11:55 UTC)

Changed the windows signaler and mutex code to use the C++11 thread library instead of the old win32 functions. I did this to work around how windows unloads dlls. In particular, during dll unload windows will kill all threads, THEN it will destruct global objects. So this leads to problems where a global obejct that owns threads tries to tell them to shutdown and everything goes wrong. The specific problem this code change fixes is when signaler::broadcast() is called on a signaler that was being waited on by one of these abruptly killed threads. In that case, the old code would deadlock inside signaler::broadcast(). This new code doesn't seem to have that problem, thereby mitigating the windows dll unload behavior in some situations.

Modified
dlib/threads/threads_kernel_1.h

Revision: bb1f9991d4ea7385
Author: Davis King
Date: Dec 05, 2017 (10:10:41 UTC)

Added a missing assert.

Modified
tools/python/src/face_recognition.cpp

Revision: 0fbe493258bbd07f
Author: Davis King
Date: Dec 04, 2017 (16:47:43 UTC)

Filled out the documentation

Modified
dlib/global_optimization/global_function_search_abstract.h
dlib/global_optimization/upper_bound_function_abstract.h

Revision: 0f28d6dd3e8b668a
Author: Davis King
Date: Dec 04, 2017 (12:09:18 UTC)

Fixed shape_predictor_trainer padding so that it behaves as it used to. In dlib 19.7 the padding code was changed and accidentally doubled the size of the applied padding when in the older (and still default) landmark_relative padding mode. It's not a huge deal either way, but this change reverts back to the intended behavior.

Modified
dlib/image_processing/shape_predictor_trainer.h

Revision: 2154c0e2dc7d8260
Author: Davis King
Date: Dec 02, 2017 (10:21:23 UTC)

Fixed grammar

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: c3b0f5fe8563fa69
Author: Davis King
Date: Dec 04, 2017 (07:57:38 UTC)

Changed test_regression_function() and cross_validate_regression_trainer() to output correlation rather than squared correlation.

Modified
dlib/svm/cross_validate_regression_trainer.h
dlib/svm/cross_validate_regression_trainer_abstract.h

Revision: ce8122891fadf677
Author: Davis King
Date: Dec 04, 2017 (07:29:51 UTC)

Fixed a very small bias in rand::get_random_double()

Modified
dlib/rand/rand_kernel_1.h

Revision: a70fbba8fde7d053
Author: Davis King
Date: Dec 02, 2017 (03:55:24 UTC)

Changed example to use minimization rather than maximization.

Modified
python_examples/global_optimization.py

Revision: 905c54f3baa202a7
Author: Davis King
Date: Dec 02, 2017 (03:55:02 UTC)

Added python interface to find_min_global()

Modified
tools/python/src/global_optimization.cpp

Revision: 241dc3881e43952a
Author: Davis King
Date: Dec 02, 2017 (02:53:31 UTC)

Added find_min_global() overloads.

Modified
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h
dlib/test/global_optimization.cpp
examples/optimization_ex.cpp

Revision: 548deb5fb1cce36a
Author: Davis King
Date: Dec 01, 2017 (15:15:16 UTC)

Updated to use thread_local instead of old thread_specific_data class.

Modified
dlib/stack_trace.cpp

Revision: 5f222107dac916cb
Author: Davis King
Date: Dec 01, 2017 (14:53:57 UTC)

Fixed stack trace macro

Modified
dlib/stack_trace.h

Revision: 873f5faae5c5ed73
Author: Davis King
Date: Dec 01, 2017 (02:17:09 UTC)

Minor cleanup

Modified
dlib/disjoint_subsets.h
dlib/disjoint_subsets/disjoint_subsets_sized_abstract.h
dlib/test/disjoint_subsets_sized.cpp
Deleted
dlib/disjoint_subsets_sized.h

Revision: 62ff0d5e218bf64e
Author: Facundo Galán
Date: Dec 01, 2017 (06:08:37 UTC)

disjoint_subsets: add get_number_of_sets and get_size_of_set functions (#880) * disjoint_subsets: make clear and sizde functions noexcept * disjoint_subsets: add get_number_of_sets function, documentations and tests * disjoint_subsets: add get_size_of_set function, documentation and tests * Split disjoint_subsets in a hierarchy. Modify disjoint_subsets to make it a valid base class. Add new class disjoint_subsets_sized, with information about number of subsets, and size of each subset. Add necessary unit test for the new class. * Replace tabs by spaces. * Remove virtuals from disjoint_subsets, and modify disjoint_subsets_sized. Now disjoint_subsets_sized is implemented in terms of disjoint_subsets, instead of inherit from it.

Modified
dlib/disjoint_subsets/disjoint_subsets.h
dlib/disjoint_subsets/disjoint_subsets_abstract.h
dlib/test/CMakeLists.txt
dlib/test/disjoint_subsets.cpp
Added
dlib/disjoint_subsets/disjoint_subsets_sized.h
dlib/disjoint_subsets/disjoint_subsets_sized_abstract.h
dlib/disjoint_subsets_sized.h
dlib/test/disjoint_subsets_sized.cpp

Revision: a8e2ca4db2cad5ab
Author: Davis King
Date: Dec 01, 2017 (-05:26:31 UTC)

This example still uses a lot of visual studio ram.

Modified
examples/CMakeLists.txt

Revision: 7b24b43d4934cd42
Author: Davis King
Date: Nov 30, 2017 (17:38:29 UTC)

These examples compile now in visual studio due to the recent pragma directive added to core.h.

Modified
examples/CMakeLists.txt

Revision: 0d8e0e4d8693b596
Author: Davis King
Date: Nov 30, 2017 (17:14:04 UTC)

Added a pragma statement that tells visual studio to not recursively inline functions very much when using the dnn tools, since otherwise it will sometimes take hours to compile.

Modified
dlib/dnn/core.h

Revision: c4b5bc05e2518b49
Author: Davis King
Date: Nov 25, 2017 (14:28:53 UTC)

clarified docs

Modified
examples/optimization_ex.cpp

Revision: ebccbb9697063feb
Author: Davis King
Date: Nov 25, 2017 (07:25:35 UTC)

Just moved the try block to reduce the indentation level.

Modified
examples/optimization_ex.cpp

Revision: fa87479f3b07250e
Author: Davis King
Date: Nov 25, 2017 (07:23:43 UTC)

Updated example to use C++11 style code and also to show the new find_max_global() routine.

Modified
examples/optimization_ex.cpp

Revision: d74613f7712c5c08
Author: Davis King
Date: Nov 25, 2017 (05:23:36 UTC)

Added python example for find_max_global()

Added
python_examples/global_optimization.py

Revision: ab3d942fd3dc8009
Author: Davis King
Date: Nov 25, 2017 (05:07:00 UTC)

Added a python interface to find_max_global()

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
Added
tools/python/src/global_optimization.cpp

Revision: 3a8cd8c8896637b7
Author: Davis King
Date: Nov 25, 2017 (04:57:33 UTC)

Clarified spec

Modified
dlib/global_optimization/find_max_global_abstract.h

Revision: eea1a2316f0f3011
Author: Davis King
Date: Nov 25, 2017 (04:29:36 UTC)

Fixed find_max_global() overload that was ignoring one of its arguments.

Modified
dlib/global_optimization/find_max_global.h

Revision: 9057d374b5e4a471
Author: Davis King
Date: Nov 25, 2017 (03:26:16 UTC)

Switched this example to use the svm C instead of nu trainer.

Modified
examples/model_selection_ex.cpp

Revision: e1e54852a26acc4e
Author: Davis King
Date: Nov 25, 2017 (03:07:36 UTC)

Minor changes to avoid compiler warnings.

Modified
dlib/dnn/trainer.h
dlib/test/matrix2.cpp

Revision: 2e65de540ea90531
Author: Davis King
Date: Nov 25, 2017 (03:00:08 UTC)

Changed default solver epsilon so that it will solve to full floating point precision by default. If the user is OK with less precision they can change it.

Modified
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h
dlib/global_optimization/global_function_search.h
dlib/global_optimization/global_function_search_abstract.h

Revision: be19c47b84915aa5
Author: Davis King
Date: Nov 25, 2017 (02:42:48 UTC)

Fixing code for visual studio

Modified
dlib/global_optimization/find_max_global.h

Revision: fde4ddad8f0d8355
Author: Davis King
Date: Nov 24, 2017 (17:04:25 UTC)

Made this example program use the new find_max_global() instead of grid search and BOBYQA. This greatly simplifies the example.

Modified
examples/model_selection_ex.cpp

Revision: 94e5ee808b75aea0
Author: Davis King
Date: Nov 24, 2017 (16:44:09 UTC)

Made find_max_global() automatically apply a log-scale transform to variables that obviously need it.

Modified
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h

Revision: 8dbe632e7ae48b62
Author: Davis King
Date: Nov 24, 2017 (12:22:37 UTC)

Added more docs

Modified
dlib/global_optimization/global_function_search_abstract.h

Revision: 1f2da9dd6649cc45
Author: Davis King
Date: Nov 24, 2017 (04:56:26 UTC)

Cleaned up the code a bit.

Modified
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h
dlib/global_optimization/global_function_search_abstract.h

Revision: 83b80390d22efd73
Author: Davis King
Date: Nov 23, 2017 (06:43:32 UTC)

Renamed find_global_maximum() to find_max_global()

Modified
dlib/global_optimization.h
dlib/test/global_optimization.cpp
Added
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global_abstract.h
Deleted
dlib/global_optimization/find_global_maximum.h
dlib/global_optimization/find_global_maximum_abstract.h

Revision: f3f63a3ba3e9c1b3
Author: Davis King
Date: Nov 23, 2017 (06:30:01 UTC)

More cleanup and added more tests

Modified
dlib/global_optimization/find_global_maximum.h
dlib/global_optimization/find_global_maximum_abstract.h
dlib/global_optimization/global_function_search.cpp
dlib/test/global_optimization.cpp

Revision: af6c65cc775eb452
Author: Davis King
Date: Nov 23, 2017 (05:57:00 UTC)

Fixed spec

Modified
dlib/global_optimization/find_global_maximum_abstract.h

Revision: c5139c043a41820b
Author: Davis King
Date: Nov 23, 2017 (05:03:11 UTC)

A bit of cleanup and documentation

Modified
dlib/global_optimization/find_global_maximum.h
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h
Added
dlib/global_optimization/find_global_maximum_abstract.h
dlib/global_optimization/global_function_search_abstract.h

Revision: f2fbc879e04e27b4
Author: Davis King
Date: Nov 23, 2017 (02:59:10 UTC)

Fixed and clarified spec

Modified
dlib/global_optimization/upper_bound_function_abstract.h

Revision: ff1a5b18cefecfc9
Author: hannometer
Date: Nov 22, 2017 (12:42:15 UTC)

imglab: select next/previous image with 's' and 'w' (#964) * imglab: select next/previous image with 's' and 'w' * imglab: make 'w' and 's' keys behave like UP and DOWN keys; add 'about' text

Modified
tools/imglab/src/metadata_editor.cpp

Revision: 2ed19144e2c265df
Author: Davis King
Date: Nov 22, 2017 (08:06:19 UTC)

Made the loss dumping between learning rate changes a little more relaxed. In particular, rather than just dumping exactly 400 of the last loss values, it now dumps 400 + 10% of the loss buffer. This way, the amount of the dump is proportional to the steps without progress threshold. This is better because when the user sets the steps without progress to something larger it probably means you need to look at more loss values to determine that we should stop, so dumping more in that case ought to be better.

Modified
dlib/dnn/trainer.h

Revision: 68f78b1253264fd6
Author: Davis King
Date: Nov 20, 2017 (16:36:04 UTC)

Added global_function_search unit test

Modified
dlib/test/global_optimization.cpp

Revision: be23f984586d49aa
Author: Davis King
Date: Nov 20, 2017 (16:13:49 UTC)

more cleanup

Modified
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h

Revision: 1fd281172beef8dd
Author: Davis King
Date: Nov 20, 2017 (14:55:07 UTC)

Cleanup

Modified
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h

Revision: 57ed42324f584cf5
Author: Davis King
Date: Nov 20, 2017 (14:31:20 UTC)

Cleaned up the compile_time_integer_list and make_compile_time_integer_range types and put them into their own file.

Modified
dlib/dnn/core.h
dlib/global_optimization/find_global_maximum.h
Added
dlib/metaprogramming.h

Revision: 57e1dc1fd861432c
Author: Kino
Date: Nov 20, 2017 (19:52:24 UTC)

generic image all the way - colormaps.h (#971) Still hunting down pre-generic_image implementations

Modified
dlib/image_transforms/colormaps.h

Revision: e48fc4a638ad7f55
Author: Davis King
Date: Nov 20, 2017 (13:48:14 UTC)

Changed python build script to append rather than overwrite CMAKE_PREFIX_PATH.

Modified
dlib/cmake_utils/add_python_module

Revision: 8b67b8d494e687cf
Author: Juha Reunanen
Date: Nov 19, 2017 (19:53:50 UTC)

Problem: log loss may become infinite, if g[idx] goes zero (#938) * Problem: log loss may become infinite, if g[idx] goes zero Solution: limit the input of the log function to 1e-6 (or more) * Parameterize the safe_log epsilon limit, and make the default value 1e-10

Modified
dlib/dnn/loss.h

Revision: 2dd8e4eef3a78bd7
Author: Davis King
Date: Nov 18, 2017 (16:40:44 UTC)

Made the global_function_search object use the faster incremental upper_bound_function::add(). Also fixed some issues in the solver.

Modified
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h

Revision: e2ee96d36b67f5ca
Author: Davis King
Date: Nov 17, 2017 (16:42:29 UTC)

Added a .add() to upper_bound_function so that the upper bound can be quickly updated without needing to resolve the whole QP.

Modified
dlib/global_optimization/upper_bound_function.h
dlib/global_optimization/upper_bound_function_abstract.h
dlib/test/global_optimization.cpp

Revision: 4aeb8a7ab0494de8
Author: Davis King
Date: Nov 15, 2017 (12:20:36 UTC)

Made normalization code more robust and a bit cleaner.

Modified
dlib/global_optimization/upper_bound_function.h

Revision: e85ac655088251e8
Author: Davis King
Date: Nov 17, 2017 (14:07:41 UTC)

Added loss_dot layer

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: f82ca631041817aa
Author: Davis King
Date: Nov 17, 2017 (11:55:24 UTC)

Upgraded the con_ layer so that you can set the nr or nc to 0 in the layer specification and this means "make the filter cover the whole input image dimension". So it's just an easy way to make a filter sized exactly so that it will have one output along that dimension.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 9636a74b9406a9c9
Author: Davis King
Date: Nov 17, 2017 (06:40:44 UTC)

Added softmax_all layer.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 31485fb7c99010ea
Author: Kino
Date: Nov 17, 2017 (18:41:55 UTC)

generic_image all the way (#921) * generic_image all the way tried to hunt down and correct the functions that were using a non-generic_image approach to dlib’s generic images. * generic image fix fix Had to change a couple of const_image_view to non-const versions so array access is possible in the rest of the code * same same * back to sanity

Modified
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/canvas_drawing.h

Revision: bc5b7f8157b4db2c
Author: Amin Cheloh
Date: Nov 17, 2017 (25:38:48 UTC)

Update dnn_mmod_find_cars2_ex.cpp (#966)

Modified
examples/dnn_mmod_find_cars2_ex.cpp

Revision: 4520ef38452cdfef
Author: Davis King
Date: Nov 16, 2017 (16:45:43 UTC)

Work around visual studio's lack of C++11 support.

Modified
dlib/global_optimization/find_global_maximum.h

Revision: e3376d54a97a613b
Author: Davis King
Date: Nov 15, 2017 (04:24:50 UTC)

Removed unneeded assert

Modified
dlib/global_optimization/global_function_search.cpp

Revision: 3745fccf08fd71e1
Author: Davis King
Date: Nov 15, 2017 (02:10:50 UTC)

Changed network filename to something more descriptive.

Modified
examples/dnn_semantic_segmentation_ex.cpp
examples/dnn_semantic_segmentation_ex.h
examples/dnn_semantic_segmentation_train_ex.cpp

Revision: 90a9d9bda445c006
Author: Davis King
Date: Nov 15, 2017 (02:06:33 UTC)

Minor tweaks to spec

Modified
dlib/image_transforms/interpolation_abstract.h

Revision: 529ad0fe8c57ddd6
Author: Juha Reunanen
Date: Nov 15, 2017 (16:01:52 UTC)

Add semantic segmentation example (#943) * Add example of semantic segmentation using the PASCAL VOC2012 dataset * Add note about Debug Information Format when using MSVC * Make the upsampling layers residual as well * Fix declaration order * Use a wider net * trainer.set_iterations_without_progress_threshold(5000); // (was 20000) * Add residual_up * Process entire directories of images (just easier to use) * Simplify network structure so that builds finish even on Visual Studio (faster, or at all) * Remove the training example from CMakeLists, because it's too much for the 32-bit MSVC++ compiler to handle * Remove the probably-now-unnecessary set_dnn_prefer_smallest_algorithms call * Review fix: remove the batch normalization layer from right before the loss * Review fix: point out that only the Visual C++ compiler has problems. Also expand the instructions how to run MSBuild.exe to circumvent the problems. * Review fix: use dlib::match_endings * Review fix: use dlib::join_rows. Also add some comments, and instructions where to download the pre-trained net from. * Review fix: make formatting comply with dlib style conventions. * Review fix: output training parameters. * Review fix: remove #ifndef __INTELLISENSE__ * Review fix: use std::string instead of char* * Review fix: update interpolation_abstract.h to say that extract_image_chips can now take the interpolation method as a parameter * Fix whitespace formatting * Add more comments * Fix finding image files for inference * Resize inference test output to the size of the input; add clarifying remarks * Resize net output even in calculate_accuracy * After all crop the net output instead of resizing it by interpolation * For clarity, add an empty line in the console output

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h
examples/CMakeLists.txt
Added
examples/dnn_semantic_segmentation_ex.cpp
examples/dnn_semantic_segmentation_ex.h
examples/dnn_semantic_segmentation_train_ex.cpp

Revision: 7a224fc4691efc6f
Author: Sebastian Höffner
Date: Nov 14, 2017 (22:24:39 UTC)

Adding missing implementation of tabbed_display::selected_tab (#957)

Modified
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h

Revision: acde092fa979ba10
Author: Davis King
Date: Nov 14, 2017 (01:17:28 UTC)

merged

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/cmake_find_blas.txt
dlib/config.h.in
dlib/matrix/lapack/fortran_id.h

Revision: 2d32d19bd7ac7024
Author: Sean Warren
Date: Nov 14, 2017 (32:57:00 UTC)

Determine lapack fortran linking convention in CMake (#934) * Determine lapack fortran linking convention in CMake Looks for lapack function with and without trailing underscore - allows use of CLAPACK on windows where functions are decorated but fortran_id.h otherwise assumes they are not * Use enable_preprocessor_switch for LAPACK decoration detection * Add lapack decoration defines to config.h.in * Use correct variable for lapack_libraries

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/cmake_find_blas.txt
dlib/config.h.in
dlib/matrix/lapack/fortran_id.h

Revision: 000b01cb844fcf11
Author: Davis King
Date: Nov 13, 2017 (17:41:07 UTC)

Added tools for doing global optimization. The main new tools here are find_global_maximum() and global_function_search.

Modified
dlib/CMakeLists.txt
dlib/all/source.cpp
dlib/global_optimization.h
Added
dlib/global_optimization/find_global_maximum.h
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.h

Revision: d804080cfbd4f055
Author: Davis King
Date: Nov 13, 2017 (17:38:38 UTC)

Made bigint use explicit relational operator functions rather than the overly general templates in dlib::relational_operators. I did this because the templates in dlib::relational_operators sometimes cause clashes with other code in irritating ways.

Modified
dlib/bigint/bigint_kernel_1.h
dlib/bigint/bigint_kernel_2.h
dlib/bigint/bigint_kernel_abstract.h
dlib/bigint/bigint_kernel_c.h

Revision: 401ebab9989a1911
Author: Davis King
Date: Nov 13, 2017 (00:56:57 UTC)

Added missing #include

Modified
dlib/svm/svm_c_linear_dcd_trainer.h

Revision: d76fe4993d93f60f
Author: Davis King
Date: Nov 12, 2017 (10:16:25 UTC)

Added solve_trust_region_subproblem_bounded()

Modified
dlib/optimization/optimization_trust_region.h
dlib/optimization/optimization_trust_region_abstract.h
dlib/test/optimization.cpp

Revision: 29e547c001fcfd09
Author: Davis King
Date: Nov 12, 2017 (09:18:34 UTC)

Added upper_bound_function object.

Modified
dlib/test/CMakeLists.txt
Added
dlib/global_optimization.h
dlib/global_optimization/upper_bound_function.h
dlib/global_optimization/upper_bound_function_abstract.h
dlib/test/global_optimization.cpp

Revision: 433312b1d9357e8a
Author: Davis King
Date: Nov 12, 2017 (02:14:48 UTC)

Reduce parallelism in build to avoid travis running out of RAM.

Modified
dlib/travis/build-and-test.sh

Revision: b5743c2df812daa6
Author: Davis King
Date: Nov 11, 2017 (03:42:16 UTC)

Fixed deserialize()

Modified
dlib/dnn/loss.h

Revision: 33608ad54a5bb598
Author: Davis King
Date: Nov 11, 2017 (03:37:29 UTC)

merged

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/matrix/matrix_op.h

Revision: 0a45b02fc198563b
Author: Juha Reunanen
Date: Nov 11, 2017 (17:37:00 UTC)

Add support for non-scale-invariant MMOD (#809) * Add capability to train scale-variant MMOD models * Review fixes: change bool scale_invariant to strongly typed enum, etc * Add serialization and deserialization of assumed_input_layer_type * Fix code formatting * Rename things as per review feedback * Review fix: move enum use_image_pyramid outside mmod_options * Continue execution with net, if deserialization of shape predictor fails * Revert "Continue execution with net, if deserialization of shape predictor fails" This reverts commit 8ea4482c043b5b98b97ed5b78bfc6916a1e2a453.

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h

Revision: 8a0e025e1b29dd7a
Author: Pierre Fenoll
Date: Nov 11, 2017 (15:21:55 UTC)

pedantic: fix "extra `;`" warnings when compiling with -Wpedantic (#906)

Modified
dlib/matrix/matrix_op.h

Revision: ac98a4faa14f7718
Author: Davis King
Date: Nov 10, 2017 (13:11:08 UTC)

merged

Modified
dlib/cmake_utils/dlibConfig.cmake.in
dlib/test/dnn.cpp
tools/python/src/decision_functions.cpp
tools/python/src/testing_results.h

Revision: 403d8c86c47fd6a4
Author: Davis King
Date: Nov 10, 2017 (13:10:51 UTC)

Added loss_epsilon_insensitive_ layer

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: b2720f8536b180f8
Author: Davis King
Date: Nov 10, 2017 (12:42:40 UTC)

Updated code to work with new regression test output.

Modified
tools/python/src/decision_functions.cpp
tools/python/src/testing_results.h

Revision: 21b164c92e18ddc3
Author: Sean Warren
Date: Nov 09, 2017 (32:36:20 UTC)

Remove explicit specification of library path in dlibConfig.cmake (#935) * Remove explicit specification of library path in dlib.cmake Enables side-by-side multi configuration build on windows * Add dlib_LIBS For backwards compatability

Modified
dlib/cmake_utils/dlibConfig.cmake.in

Revision: 70e18693527ac105
Author: OtacilioNeto
Date: Nov 07, 2017 (13:27:54 UTC)

Fix issue https://github.com/davisking/dlib/issues/925 (#928) * This fix suggested by davisking make unit tests more reliable. Fix issue https://github.com/davisking/dlib/issues/925 * This fix suggested by davisking make unit tests more reliable. Fix issue https://github.com/davisking/dlib/issues/925

Modified
dlib/test/dnn.cpp

Revision: 10e00477fa63e058
Author: Davis King
Date: Nov 10, 2017 (11:56:37 UTC)

Changed test_regression_function() and cross_validate_regression_trainer() to output 2 more statistics, which are the mean absolute error and the standard deviation of the absolute error. This means these functions now return 4D rather than 2D vectors. I also made test_regression_function() take a non-const reference to the regression function so that DNN objects can be tested.

Modified
dlib/svm/cross_validate_regression_trainer.h
dlib/svm/cross_validate_regression_trainer_abstract.h
dlib/test/svm.cpp

Revision: 46bc892f13f4af2b
Author: Davis King
Date: Nov 10, 2017 (11:52:20 UTC)

Fixed compiler warning

Modified
dlib/image_transforms/random_cropper.h

Revision: 642123a7196c9a3d
Author: Davis King
Date: Nov 05, 2017 (05:36:48 UTC)

Made unit tests more reliable

Modified
dlib/test/dnn.cpp

Revision: 42baaa1336a719f0
Author: Davis King
Date: Nov 05, 2017 (03:13:26 UTC)

Changed the mean squared loss layers to return a loss that's the MSE, not 0.5*MSE. The only thing this effects is the logging messages that print during training, which were confusing since the reported loss was half the size you would expect.

Modified
dlib/dnn/loss.h

Revision: fdae9df8388b9142
Author: Davis King
Date: Nov 05, 2017 (02:57:34 UTC)

Added notes about not using visual studio 2017 since it doesn't support C++11.

Modified
dlib/cmake_utils/add_python_module

Revision: 39d0d0b1d246ada2
Author: Davis King
Date: Nov 05, 2017 (02:37:52 UTC)

Don't use CUDA/DNN stuff in Visual Studio 2017.

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: acdd9b3689390da2
Author: Davis King
Date: Nov 05, 2017 (02:37:29 UTC)

Fixed grammar in comment

Modified
examples/CMakeLists.txt

Revision: fbc0668caaa254af
Author: Gilles Rochefort
Date: Nov 04, 2017 (03:40:25 UTC)

Remove unused variable (#919)

Modified
dlib/gui_widgets/widgets.cpp

Revision: efc2148c344b67b6
Author: Davis King
Date: Nov 02, 2017 (06:24:25 UTC)

Fixed timing print() so the output scales are set correctly.

Modified
dlib/timing.h

Revision: 9a22b9508a392b92
Author: Davis King
Date: Nov 02, 2017 (01:43:15 UTC)

Updated comments to reflect recent API changes.

Modified
examples/dnn_mmod_dog_hipsterizer.cpp
examples/dnn_mmod_face_detection_ex.cpp

Revision: 64fec2dc9fd89914
Author: Davis King
Date: Nov 01, 2017 (12:30:42 UTC)

Changed the timing code to use the C++11 high resolution clock and atomics. This makes the timing code a lot more precise.

Modified
dlib/timing.h

Revision: 884b61e889c177f8
Author: Davis King
Date: Nov 01, 2017 (12:25:32 UTC)

Fixed error in TIME_THIS(). It was still printing in seconds when it said minutes in the output.

Modified
dlib/time_this.h

Revision: 7b92a9a00a49dbb7
Author: Davis King
Date: Oct 31, 2017 (13:01:47 UTC)

Upgraded the input layer so you can give input<std::array<matrix<T>,K>> types as input layer specifications. This will create input tensors with K channels.

Modified
dlib/dnn/input.h
dlib/dnn/input_abstract.h

Revision: 6f4d3e69a48e2101
Author: Davis King
Date: Oct 29, 2017 (04:57:52 UTC)

Made hamming_distance() a little more general.

Modified
dlib/general_hash/count_bits.h

Revision: 22cdf079eacf608f
Author: Davis King
Date: Oct 28, 2017 (16:44:43 UTC)

Made resizable_tensor objects not perform a reallocation if they are resized to be smaller. Instead, they now behave like std::vector in that they just change their nominal size but keep the same memory, only reallocating if they are resized to something larger than their underlying memory block. This change makes some uses of dlib faster, in particular, running networks on a large set of images of differing sizes will now run faster since there won't be any GPU reallocations, which are notoriously slow.

Modified
dlib/dnn/tensor.h
dlib/dnn/tensor_abstract.h

Revision: 13d6a64237b61d6c
Author: Davis King
Date: Oct 28, 2017 (16:35:59 UTC)

Suppress compiler warning

Modified
dlib/dnn/layers.h

Revision: b57f4c4dcc045d2d
Author: Davis King
Date: Oct 28, 2017 (16:35:25 UTC)

Always compile the C++11 related unit tests.

Modified
dlib/test/CMakeLists.txt

Revision: 25be87f5d99131d1
Author: Davis King
Date: Oct 28, 2017 (14:45:48 UTC)

Added set_num_outputs() to fc_ layer.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: 1c2bc68743e1bf3d
Author: Davis King
Date: Oct 28, 2017 (08:25:32 UTC)

Improved loss_mmod_ warning message.

Modified
dlib/dnn/loss.h

Revision: 7b52f75e2b6d18a4
Author: Davis King
Date: Oct 28, 2017 (08:23:47 UTC)

Made requires clause a little more sensible.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: 4426725482f44a1a
Author: Davis King
Date: Oct 28, 2017 (06:48:54 UTC)

Fixed a bug in dlib's MS Windows GUI code that was introduced a little while back when we switched everything to std::shared_ptr. Turns out std::shared_ptr has some surprising limitations. This change fixes a bug where the program crashes or hangs sometimes during program shutdown.

Modified
dlib/gui_core/gui_core_kernel_1.cpp
dlib/gui_core/gui_core_kernel_1.h

Revision: 7ed3b7f4b8689cc3
Author: Davis King
Date: Oct 28, 2017 (04:50:42 UTC)

Fixed sqlite include path finding.

Modified
dlib/CMakeLists.txt

Revision: 4ff1888a8eae7073
Author: Davis King
Date: Oct 28, 2017 (-04:06:42 UTC)

Don't ever try to use the busted version of libjpeg in anaconda.

Modified
dlib/CMakeLists.txt

Revision: 77f940ee5761f271
Author: Davis King
Date: Oct 27, 2017 (19:42:40 UTC)

Make cmake output less confusing

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 1cc61b3ff9ec7f6b
Author: Davis King
Date: Oct 27, 2017 (19:39:04 UTC)

Clarified build instructions

Modified
dlib/cmake_utils/add_python_module

Revision: 87ee21307afdeb32
Author: Davis King
Date: Oct 27, 2017 (15:30:58 UTC)

Changed graph construction for chinese_whispers() so that each face is always included in the edge graph. If it isn't then the output labels from chinese_whispers would be missing faces in this degenerate case. So basically this fixes a bug where chinese_whispers(), when called from python, would sometimes return a labels array that doesn't include labels for all the inputs.

Modified
tools/python/src/face_recognition.cpp

Revision: ee1ce5738cc9de54
Author: Davis King
Date: Oct 27, 2017 (15:29:52 UTC)

Changed graph construction for chinese_whispers() so that each face is always included in the edge graph. If it isn't then the output labels from chinese_whispers would be missing faces in this degenerate case.

Modified
examples/dnn_face_recognition_ex.cpp

Revision: 7b16aaaf91276334
Author: Davis King
Date: Oct 27, 2017 (03:27:57 UTC)

Made random_cropper use cleaner and unbiased dlib::rand interface.

Modified
dlib/image_transforms/random_cropper.h

Revision: 9de7bcf981a9f1c4
Author: Davis King
Date: Oct 27, 2017 (01:58:34 UTC)

Cleanup

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: e1a474dbb93c1b0e
Author: Davis King
Date: Oct 27, 2017 (01:50:15 UTC)

Removed old cruft not needed anymore since we are doing this kind of thing with cmake targets already in set_compiler_specific_options.cmake.

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 7f132fb15a20d933
Author: Sean Warren
Date: Oct 27, 2017 (31:45:53 UTC)

Win lapack (#913) * Fall back on find_package for blas, lapack on Windows * Remove debugging message

Modified
dlib/cmake_utils/cmake_find_blas.txt

Revision: 32fa776b8f8593e3
Author: Davis King
Date: Oct 25, 2017 (01:42:31 UTC)

Updated python code to use the new dlib::jitter_image() instead of hacking it out of the random_cropper.

Modified
tools/python/src/face_recognition.cpp

Revision: 14329e4dc3c8d816
Author: Davis King
Date: Oct 24, 2017 (18:10:02 UTC)

Changed the random_cropper's set_min_object_size() routine to take min box dimensions in the same format as the mmod_options object (i.e. two lengths measured in pixels). This should make defining random_cropping strategies that are consistent with MMOD settings much more straightforward since you can just take the mmod_options settings and give them to the random_cropper and it will do the right thing.

Modified
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper_abstract.h
examples/dnn_mmod_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp
examples/random_cropper_ex.cpp

Revision: c97caf6837a6039c
Author: Davis King
Date: Oct 24, 2017 (17:13:02 UTC)

Made the metric learning example do image jittering.

Modified
examples/dnn_face_recognition_ex.cpp
examples/dnn_metric_learning_on_images_ex.cpp

Revision: f800181d4ac7f2be
Author: Davis King
Date: Oct 24, 2017 (04:02:44 UTC)

Cleaned up jitter_image() code and moved it into dlib proper.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h
examples/dnn_face_recognition_ex.cpp

Revision: 0ab057582f342b35
Author: Sean Warren
Date: Oct 24, 2017 (23:00:49 UTC)

Use banded Cholesky factorization if possible (#857) * Use banded Cholesky factorization if possible Computation cost from n.n.n -> n.n.b where b is band size * Tidy up whitespace * Remove typo * Escape from banded matrix detection correctly * Use LAPACK banded Cholesky factorisation where possible * Add banded chol tests * Add test for banded chol in column major layout * Use row major layout for banded chol - more efficient as we will pass to LAPACK

Modified
dlib/matrix/matrix_la.h
dlib/test/matrix.cpp
Added
dlib/matrix/lapack/pbtrf.h

Revision: 328dc37c8ddee740
Author: Gilles Rochefort
Date: Oct 21, 2017 (18:16:36 UTC)

Add some operator() to cv_image for compatibility with mmod loss. (#900) * Add some operator() to cv_image for compatibility with mmod. * Update documentation

Modified
dlib/opencv/cv_image.h
dlib/opencv/cv_image_abstract.h

Revision: 60074c1d09eeae3d
Author: Davis King
Date: Oct 22, 2017 (12:06:11 UTC)

Make sure the test loss the trainer logs to the console never gets suck at infinity.

Modified
dlib/dnn/trainer.h

Revision: 6abb5e6d9db7c7ee
Author: Davis King
Date: Oct 20, 2017 (17:45:14 UTC)

Updated spec

Modified
dlib/dnn/layers_abstract.h

Revision: a6aa7dcce8c1a59a
Author: Gilles Rochefort
Date: Oct 21, 2017 (05:44:00 UTC)

Missing interfaces in add_prev for compatibility with mmod loss. (#901)

Modified
dlib/dnn/layers.h

Revision: a4cb99a0e7387575
Author: Davis King
Date: Oct 20, 2017 (17:37:54 UTC)

Sometimes the loss_mmod_ layer could experience excessively long runtime during early iterations since the model might produce a huge number of false alarms while the detector is still bad. Processing all these detections can cause it to run slowly until the model is good enough to avoid really excessive amounts of false alarms. This change puts more of a limit on the number of false alarms processed during those early iterations and avoids the slowdown.

Modified
dlib/dnn/loss.h

Revision: 057ffb4905097dc3
Author: Davis King
Date: Oct 20, 2017 (17:34:34 UTC)

The loss returned by compute_loss_value_and_gradient() wasn't quite right. It doesn't effect normal use, but it's still wrong and this change fixes it.

Modified
dlib/dnn/loss.h

Revision: 357d1e7a16728a17
Author: Davis King
Date: Oct 20, 2017 (12:54:49 UTC)

Added install_target_output_folder option to matlab cmake scripts.

Modified
dlib/matlab/CMakeLists.txt
dlib/matlab/cmake_mex_wrapper

Revision: 5ed5aae2ecddb978
Author: Davis King
Date: Oct 19, 2017 (16:57:24 UTC)

Fixed the terrible breaking change to the tensor object I made earlier today :(

Modified
dlib/dnn/gpu_data.cpp

Revision: 88387be877309652
Author: Davis King
Date: Oct 19, 2017 (08:09:29 UTC)

Improved cmake error messages about CUDA support.

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/test_for_cudnn/find_cudnn.txt

Revision: 89be073b2c0b05a9
Author: Davis King
Date: Oct 19, 2017 (06:50:40 UTC)

Changed tensor so that, when reallocating memory, it frees any existing memory *before* allocating new memory. It used to be the other way around which caused momentary spikes of increased memory usage. This could put you over the total memory available in some cases which is obviously less than ideal behavior.

Modified
dlib/dnn/gpu_data.cpp

Revision: 41fd094e76fbf10b
Author: Davis King
Date: Oct 18, 2017 (06:17:46 UTC)

Fixed bug

Modified
python_examples/svm_binary_classifier.py

Revision: 8e56a6e868922dd4
Author: Davis King
Date: Oct 18, 2017 (03:36:31 UTC)

Added python binary classifier example

Added
python_examples/svm_binary_classifier.py

Revision: 8f8305a983a0b19f
Author: Davis King
Date: Oct 17, 2017 (15:20:29 UTC)

Fixed weird wording.

Modified
examples/CMakeLists.txt

Revision: e85d60737bb8b890
Author: Davis King
Date: Oct 17, 2017 (15:18:57 UTC)

Made comment more clear.

Modified
examples/CMakeLists.txt

Revision: 0f7d11f4b1d5aa28
Author: Juha Reunanen
Date: Oct 18, 2017 (05:12:38 UTC)

Add get_net parameter that allows to call the function without forcing flush to disk (#875) * Add get_net parameter allowing to call the function without forced flush to disk (see the discussion in #869) * A blindfolded attempt to fix compile error on the CI server

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: f68ab44974cf7948
Author: jpblackburn
Date: Oct 17, 2017 (15:11:16 UTC)

Allow cross_validate_trainer_threaded to use non-double data (#883)

Modified
dlib/svm/svm_threaded.h
dlib/svm/svm_threaded_abstract.h

Revision: 78502ee2818a0c55
Author: Davis King
Date: Oct 17, 2017 (15:02:31 UTC)

Made cmake print a very explicit error message if you try to use a version of gcc that is too old.

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 363b3a9af2b16ccd
Author: Davis King
Date: Oct 17, 2017 (06:31:27 UTC)

Fixed path

Modified
dlib/java/cmake_swig_jni

Revision: ede782ed7a0e1063
Author: Davis King
Date: Oct 17, 2017 (06:24:23 UTC)

Yet more cmake cleanup

Modified
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni

Revision: 3ee69a0b0c1e7635
Author: Davis King
Date: Oct 17, 2017 (06:02:30 UTC)

More cmake script cleanup

Modified
dlib/matlab/CMakeLists.txt
dlib/matlab/cmake_mex_wrapper

Revision: ee24815d4e80afb0
Author: Davis King
Date: Oct 17, 2017 (05:45:18 UTC)

Fix deprecation warning from new cmake

Modified
dlib/CMakeLists.txt

Revision: c8c3eda2450daee4
Author: Davis King
Date: Oct 16, 2017 (17:36:18 UTC)

More cmake cleanup

Modified
dlib/cmake_utils/add_python_module
dlib/test/CMakeLists.txt
dlib/test/gui/CMakeLists.txt
dlib/test/tools/CMakeLists.txt
tools/convert_dlib_nets_to_caffe/CMakeLists.txt
tools/htmlify/CMakeLists.txt
tools/imglab/CMakeLists.txt

Revision: b911418ea135e232
Author: Davis King
Date: Oct 16, 2017 (17:34:17 UTC)

suppress compiler warnings

Modified
dlib/dnn/layers.h

Revision: 295fe04c36ceb719
Author: Davis King
Date: Oct 16, 2017 (17:34:00 UTC)

Suppress compiler warnings

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 97616b17fb4a47d0
Author: Davis King
Date: Oct 16, 2017 (17:11:16 UTC)

CMake tweaks to avoid errors in visual studio

Modified
dlib/cmake_utils/set_compiler_specific_options.cmake
dlib/cmake_utils/use_cpp_11.cmake

Revision: 9dd27d3f71028967
Author: Davis King
Date: Oct 16, 2017 (16:55:28 UTC)

Some cmake script cleanup and refactoring.

Modified
CMakeLists.txt
dlib/CMakeLists.txt
dlib/cmake
dlib/cmake_utils/add_global_compiler_switch.cmake
dlib/cmake_utils/dlibConfig.cmake.in
dlib/cmake_utils/test_for_cudnn/CMakeLists.txt
dlib/cmake_utils/use_cpp_11.cmake
examples/CMakeLists.txt
Added
dlib/cmake_utils/set_compiler_specific_options.cmake

Revision: 8bb39ca0f3ce4890
Author: Davis King
Date: Oct 16, 2017 (16:55:07 UTC)

Removed cout statement.

Modified
dlib/test/rand.cpp

Revision: 7f61e0dc695f1b25
Author: Davis King
Date: Oct 16, 2017 (05:22:01 UTC)

Fixed compiler error due to #define nonsense in visual studio.

Modified
dlib/test/rand.cpp

Revision: 305132ba0defe138
Author: Davis King
Date: Oct 16, 2017 (02:49:03 UTC)

Prevent include path clashes from system installs of dlib as well as suppress warning messages from boost and python system header files.

Modified
dlib/cmake_utils/add_python_module

Revision: 95e28ba0bbe3e2b0
Author: Davis King
Date: Oct 15, 2017 (11:53:33 UTC)

I accidentally slightly changed the cropping behavior of get_face_chip_details() when used with the 68 point landmark model about a month ago. This change reverts it back to the previous behavior. The change was very minor, so it shouldn't matter either way. But being consistent is important and I'm changing it back.

Modified
dlib/image_transforms/interpolation.h

Revision: e365cd0ef50efe07
Author: Davis King
Date: Oct 14, 2017 (06:29:29 UTC)

Added warning messages when users use the old non-target based cmake variables.

Modified
dlib/cmake_utils/dlibConfig.cmake.in

Revision: dcb2417f7b3180a6
Author: Davis King
Date: Oct 10, 2017 (05:59:59 UTC)

merged

Modified
dlib/array/array_kernel.h
dlib/array/array_kernel_abstract.h
dlib/data_io/load_image_dataset.h
dlib/data_io/load_image_dataset_abstract.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h
docs/docs/faq.xml
docs/docs/howto_contribute.xml
docs/docs/stylesheet.xsl
python_examples/face_clustering.py
python_examples/requirements.txt
python_examples/train_object_detector.py
tools/python/src/face_recognition.cpp
Added
python_examples/face_alignment.py

Revision: d855484b4a1244fb
Author: Davis King
Date: Oct 10, 2017 (05:53:22 UTC)

Added assert to improve error messages.

Modified
dlib/dnn/layers.h

Revision: 7ceecf3981ed53dd
Author: Davis King
Date: Oct 10, 2017 (05:52:43 UTC)

Added get_integer() and get_integer_in_range() to dlib::rand.

Modified
dlib/rand/rand_kernel_1.h
dlib/rand/rand_kernel_abstract.h
dlib/test/rand.cpp

Revision: c86b9956408f3b98
Author: Davis King
Date: Oct 08, 2017 (03:49:50 UTC)

Made dlib::array able to push_back() from rvalues.

Modified
dlib/array/array_kernel.h
dlib/array/array_kernel_abstract.h

Revision: 8c35538741e4992a
Author: Davis King
Date: Oct 08, 2017 (03:45:50 UTC)

Fixed missing inline

Modified
dlib/data_io/load_image_dataset.h

Revision: 2a5c218298e3818a
Author: Davis King
Date: Oct 07, 2017 (10:09:09 UTC)

Made add_image_left_right_flips() and add_image_rotations() work with mmod_rects in addition to rectangles and full_object_detections.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: 52175140c4893822
Author: Davis King
Date: Oct 07, 2017 (10:05:58 UTC)

Fixed load_image_dataset()'s skip_empty_images() option. It wasn't skipping images that only have ignore boxes when you load into mmod_rects like it should have been.

Modified
dlib/data_io/load_image_dataset.h
dlib/data_io/load_image_dataset_abstract.h

Revision: 78459d399805fbf0
Author: Hung-Wei Chiu
Date: Sep 29, 2017 (31:20:11 UTC)

Fix warning (#851) * remove unused variable * modify variable type from int to size_t * fix previous delete, we need to call chinese_whispers here but we don't need its result now

Modified
tools/python/src/face_recognition.cpp

Revision: 4709c04600d4fef2
Author: Juha Reunanen
Date: Sep 28, 2017 (15:48:17 UTC)

cont layer: allow to set the number of filters at runtime (#845) * cont layer: allow to set the number of filters at runtime (implementation essentially copied from con layer) * Document the new constructor cont_(num_con_outputs o), and the function set_num_filters

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: 7a39aef0b82941ff
Author: Davis King
Date: Oct 01, 2017 (04:44:03 UTC)

Clarified docs

Modified
python_examples/train_object_detector.py

Revision: 592ac3782bf56bfe
Author: Davis King
Date: Sep 22, 2017 (17:52:15 UTC)

Clarified comment and updated requirements.txt

Modified
python_examples/face_alignment.py
python_examples/requirements.txt

Revision: 2a70697db1083d39
Author: Varun Chatterji
Date: Sep 19, 2017 (31:08:54 UTC)

Cleaned up example file.

Modified
python_examples/face_alignment.py

Revision: 085759181aa54b74
Author: Varun Chatterji
Date: Sep 19, 2017 (21:08:51 UTC)

Added code to get face_chip images..

Modified
tools/python/src/face_recognition.cpp
Added
python_examples/face_alignment.py

Revision: 18a411362346426a
Author: Varun Chatterji
Date: Sep 18, 2017 (27:54:26 UTC)

Added size and padding as optional parameters

Modified
python_examples/face_clustering.py
tools/python/src/face_recognition.cpp

Revision: a467d4803a8ffa95
Author: Davis King
Date: Sep 26, 2017 (07:49:29 UTC)

Made cmake error messages a little clearer

Modified
dlib/CMakeLists.txt

Revision: 40d617294a1414db
Author: Davis King
Date: Sep 20, 2017 (17:10:59 UTC)

Fixed a bug in how the mmod_options automatically determines detection window sizes. It would pick a bad size in some cases.

Modified
dlib/dnn/loss.h

Revision: 1bae38fc5e550b34
Author: Davis King
Date: Sep 19, 2017 (02:29:49 UTC)

Made unit test more robust

Modified
dlib/test/ranking.cpp

Revision: e58c8efa04f0e6e9
Author: Davis King
Date: Sep 15, 2017 (07:15:34 UTC)

Added loss_ranking_ layer

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/ranking.cpp

Revision: adcb5e3312af6896
Author: Davis King
Date: Sep 17, 2017 (11:16:41 UTC)

Fixed a bug in the random_cropper where it might crash due to division by 0 if small images are given as input.

Modified
dlib/image_transforms/random_cropper.h

Revision: 2049560d94e4b066
Author: Davis King
Date: Sep 17, 2017 (04:28:45 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: fb51c77524ff13ca
Author: Davis King
Date: Sep 17, 2017 (04:28:29 UTC)

Created release v19.7

Modified
dlib/CMakeLists.txt

Revision: aed1a8b9d186f5c9
Author: Davis King
Date: Sep 16, 2017 (11:35:58 UTC)

Added another car finding example

Modified
examples/CMakeLists.txt
Added
examples/dnn_mmod_find_cars2_ex.cpp
examples/mmod_cars_test_image2.jpg

Revision: d93489448b0ede06
Author: Davis King
Date: Sep 16, 2017 (11:35:37 UTC)

Clarified comments

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 988dca9349614bf4
Author: Davis King
Date: Sep 16, 2017 (11:14:13 UTC)

Changed to slightly better default recommendations for parameters.

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 62a35e943f25a70a
Author: Davis King
Date: Sep 16, 2017 (10:53:11 UTC)

Cleaned up code and comments. In particular, these new functions don't need to be inside the face recognition class. So I moved them out. I also fixed many incorrect copy/pasted comments and clarified parts of the example code.

Modified
python_examples/face_clustering.py
tools/python/src/face_recognition.cpp

Revision: 0e328d6d28a0f5ac
Author: Davis King
Date: Sep 16, 2017 (10:18:44 UTC)

Merge branch 'master' of git://github.com/visionworkz/dlib into visionworkz-master

Modified
tools/python/src/face_recognition.cpp
Added
python_examples/face_clustering.py

Revision: 7705cfa080168233
Author: Varun
Date: Sep 10, 2017 (14:15:42 UTC)

Added threshold to clustering call

Modified
python_examples/face_clustering.py
tools/python/src/face_recognition.cpp

Revision: e2b2c26a9ad7dd6b
Author: Visionworkz
Date: Sep 06, 2017 (10:05:42 UTC)

Added face clustering example to Python API

Modified
tools/python/src/face_recognition.cpp
Added
python_examples/face_clustering.py

Revision: c93757104c52cf48
Author: Davis King
Date: Sep 16, 2017 (10:10:09 UTC)

More cleanup

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: c2dd895431ecdfed
Author: Davis King
Date: Sep 16, 2017 (10:08:41 UTC)

Made deserialize print more informative error messages.

Modified
dlib/serialize.h

Revision: 0509f7c6759cc037
Author: Davis King
Date: Sep 16, 2017 (10:01:34 UTC)

clarified error message

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 3eab2ad1b63b506a
Author: Davis King
Date: Sep 15, 2017 (18:16:00 UTC)

Updated comments.

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 37f365030968b2a0
Author: Davis King
Date: Sep 15, 2017 (17:58:03 UTC)

Changed TIME_THIS() to use std::chrono::high_resolution_clock

Modified
dlib/time_this.h

Revision: dfcdd26b2a383717
Author: Davis E. King
Date: Sep 15, 2017 (17:02:39 UTC)

Fixed typo in comment

Modified
tools/archive/train_face_5point_model.cpp

Revision: 43e14aaac348d910
Author: Davis King
Date: Sep 15, 2017 (16:20:08 UTC)

Added this program for historical reference.

Added
tools/archive/train_face_5point_model.cpp

Revision: e4016dc32c3f5c84
Author: Davis King
Date: Sep 15, 2017 (15:58:27 UTC)

Changed code to recommend users use the new 5 point face landmarking model.

Modified
examples/dnn_face_recognition_ex.cpp

Revision: ca41be63f31b314b
Author: Davis King
Date: Sep 15, 2017 (15:57:54 UTC)

Changed code to recommend users to use the new 5 point face landmarking model.

Modified
python_examples/face_recognition.py

Revision: bf9296155038b18c
Author: Davis King
Date: Sep 15, 2017 (15:57:33 UTC)

Fixed grammar

Modified
python_examples/face_landmark_detection.py

Revision: f1079b26839be76c
Author: Davis King
Date: Sep 15, 2017 (15:57:16 UTC)

Fixed grammar

Modified
examples/face_landmark_detection_ex.cpp

Revision: 14b8df13567d67de
Author: Davis King
Date: Sep 15, 2017 (15:56:38 UTC)

Upgraded face recognition input validation checks to allow use of 5 point face landmarking models.

Modified
tools/python/src/face_recognition.cpp

Revision: 8541cf9bd0d46f0a
Author: Davis King
Date: Sep 15, 2017 (15:55:47 UTC)

Upgraded render_face_detections() and get_face_chip_details() to support 5 point face landmark models.

Modified
dlib/image_processing/render_face_detections.h
dlib/image_processing/render_face_detections_abstract.h
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: 0ca1586040b2909a
Author: Davis King
Date: Sep 15, 2017 (15:54:22 UTC)

Added more options to control how the feature pool region is defined.

Modified
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h

Revision: be713573b395e0c3
Author: Juha Reunanen
Date: Sep 10, 2017 (20:53:03 UTC)

MMOD: fix loss from ignored rects when using loss_per_missed_target != 1 (#813)

Modified
dlib/dnn/loss.h

Revision: 243b41595c739d5b
Author: Davis King
Date: Sep 10, 2017 (18:23:31 UTC)

fix awkward grammar

Modified
python_examples/face_landmark_detection.py

Revision: 42dcc4744452cb17
Author: Davis King
Date: Sep 10, 2017 (18:22:55 UTC)

Improved citations

Modified
examples/face_landmark_detection_ex.cpp

Revision: 77bedc2fc69285c9
Author: Davis King
Date: Sep 10, 2017 (18:16:54 UTC)

Improved citations

Modified
python_examples/face_landmark_detection.py

Revision: 37f15aecb23bdffa
Author: Davis King
Date: Sep 09, 2017 (05:23:24 UTC)

Made object part annotations shown on the image_display scale relative to the size of their bounding box.

Modified
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h

Revision: a4350b58d7264cf8
Author: Davis King
Date: Sep 07, 2017 (15:11:18 UTC)

removed extraneous print statement.

Modified
tools/imglab/src/metadata_editor.h

Revision: 1d82ed6943226267
Author: Davis King
Date: Sep 06, 2017 (06:33:53 UTC)

Fix compiler error in visual studio.

Modified
dlib/all/source.cpp

Revision: 994afb470a3b377c
Author: Davis King
Date: Sep 06, 2017 (03:55:27 UTC)

Made input_rgb_image_pyramid use the GPU if available. So it's now a lot faster. The CPU path is also a lot faster as well.

Modified
dlib/dnn/input.h

Revision: df99bfe72a9de228
Author: Davis King
Date: Sep 06, 2017 (03:53:49 UTC)

Made cpu version of tt::resize_bilinear() use SIMD instructions and multiple CPU cores.

Modified
dlib/dnn/cpu_dlib.cpp

Revision: 08d6988c3c2da55c
Author: Davis King
Date: Sep 05, 2017 (18:06:07 UTC)

Added overloads of sub_image() that take raw pointers so you can make sub_images of anything. Also made the resize_image() functions a little more flexible and compatible with the other image interpolation code in dlib.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: a38192fb4d40fdae
Author: Davis King
Date: Sep 05, 2017 (02:16:32 UTC)

Clarified spec

Modified
dlib/dnn/input_abstract.h

Revision: a823d87d985a2c3b
Author: Davis King
Date: Sep 04, 2017 (17:56:24 UTC)

Refactored create_tiled_pyramid() code to remove unnecessary copying. It's now about 2x faster. The code is cleaner too.

Modified
dlib/image_transforms/image_pyramid.h

Revision: 2ef8462541e4e02a
Author: Davis King
Date: Sep 04, 2017 (12:27:56 UTC)

Added find_pyramid_down_output_image_size()

Modified
dlib/image_transforms/image_pyramid.h
dlib/image_transforms/image_pyramid_abstract.h
dlib/test/pyramid_down.cpp

Revision: 6cb2a84b80e54814
Author: Davis King
Date: Sep 04, 2017 (11:42:34 UTC)

Upgraded resize_bilinear() to let the user specify independent row and channel stride values. This lets you run the tensor resizing routine on subwindows in a tensor.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: cfdec3e5b2f4492a
Author: Davis King
Date: Sep 03, 2017 (13:16:56 UTC)

mmod_options would pick bad window sizes in some corner cases. This has been fixed.

Modified
dlib/dnn/loss.h

Revision: c1ca3294c075399f
Author: Davis King
Date: Sep 03, 2017 (08:54:18 UTC)

Made it so you can press END or i to ignore boxes in imglab. I did this because it's a much less stressing hand motion to hit END that i in most cases.

Modified
dlib/gui_widgets/widgets.cpp
tools/imglab/src/metadata_editor.cpp

Revision: 451c2eff311480d5
Author: Davis King
Date: Sep 03, 2017 (08:15:36 UTC)

Fixed a bug in test_object_detection_function() which was just introduced. The problem was that it wasn't counting detection boxes as false alarms if the detection boxes had labels that never appeared in the truth dataset.

Modified
dlib/dnn/validation.h

Revision: 46c791a5f044eb35
Author: Davis King
Date: Sep 02, 2017 (18:07:07 UTC)

Added a label field to mmod_rect and updated code that uses this object to use the label in the way you would expect. In particular, loss_mmod_ is now a multi-class loss and therefore capable of learning a detector that can output detections with different labels.

Modified
dlib/data_io/load_image_dataset.h
dlib/data_io/load_image_dataset_abstract.h
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/dnn/validation.h
dlib/image_processing/full_object_detection.h
dlib/image_processing/full_object_detection_abstract.h
dlib/svm/cross_validate_object_detection_trainer_abstract.h

Revision: 4cffcea4f44a390e
Author: Davis King
Date: Sep 02, 2017 (04:42:36 UTC)

Added box_percent_covered()

Modified
dlib/image_processing/box_overlap_testing.h
dlib/image_processing/box_overlap_testing_abstract.h

Revision: c0f217507cef032a
Author: Davis King
Date: Sep 01, 2017 (13:38:41 UTC)

Made the box colors in imglab spread more evenly over the color space.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.h

Revision: 1a5f57880d3702b5
Author: Davis King
Date: Sep 01, 2017 (13:35:32 UTC)

Updated spec

Modified
dlib/gui_widgets/widgets_abstract.h

Revision: bbbb24ccfeb974fc
Author: Davis King
Date: Sep 01, 2017 (12:47:27 UTC)

Made it so crossed out overlay boxes are drawn slightly faded.

Modified
dlib/gui_widgets/widgets.cpp

Revision: b5ac155c9e5762fa
Author: Davis King
Date: Aug 31, 2017 (05:27:04 UTC)

Fixed a bug in the extract layer that trigged when a tensor with a different number of samples than the tensor used to initialize the network was passed through the layer.

Modified
dlib/dnn/layers.h

Revision: 72273be313a255de
Author: Davis King
Date: Aug 31, 2017 (05:25:27 UTC)

Clarified spec

Modified
dlib/dnn/layers_abstract.h

Revision: 01af6b94cb42556b
Author: Davis King
Date: Aug 31, 2017 (05:25:07 UTC)

Improved error message.

Modified
dlib/dnn/tensor.h

Revision: 40ff96c51fb40e71
Author: Davis King
Date: Aug 31, 2017 (03:21:07 UTC)

Fixed error in input_rgb_image_pyramid::image_contained_point(). The function didn't properly account for the new padding on the edge of the pyramid and might erroneously indicate that a point wasn't inside the original image when really it was.

Modified
dlib/dnn/input.h

Revision: c505ae19ca6d3e34
Author: Davis King
Date: Aug 28, 2017 (14:18:45 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 3eaa0e35b1b4b912
Author: Davis King
Date: Aug 28, 2017 (14:17:46 UTC)

Created release v19.6

Modified
dlib/CMakeLists.txt

Revision: c17b548be6c25d08
Author: Evgeniy Fominov
Date: Aug 28, 2017 (18:00:17 UTC)

fix static runtime in cuda with clang and windows (#773)

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/use_cpp_11.cmake

Revision: 22ef457199658ec8
Author: Davis King
Date: Aug 27, 2017 (15:35:22 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 9121e039950df935
Author: Davis King
Date: Aug 27, 2017 (15:34:24 UTC)

Created release v19.5

Modified
dlib/CMakeLists.txt

Revision: b2cc8f1da3f778d7
Author: Davis King
Date: Aug 27, 2017 (15:13:46 UTC)

Set this file to executable

Modified
python_examples/cnn_face_detector.py

Revision: 96e8daf12f37b8eb
Author: Guillaume Ramé
Date: Aug 27, 2017 (24:40:31 UTC)

improvements to cnn face detection python interface (#780) * improvements to cnn face detection interface * mmod rectangle object renaming. possibility to set batch size in multi image detection. Added check to make sure images are all the same size.

Modified
dlib/image_processing/full_object_detection.h
python_examples/cnn_face_detector.py
tools/python/src/cnn_face_detector.cpp

Revision: e7708c5dd4bc4d29
Author: Davis King
Date: Aug 27, 2017 (14:18:00 UTC)

Minor cleanup

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: c7d818690882a448
Author: Davis King
Date: Aug 27, 2017 (08:01:24 UTC)

Yet more comments

Modified
examples/dnn_mmod_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: a245be12cb44c533
Author: Davis King
Date: Aug 27, 2017 (06:46:49 UTC)

cleanup

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 00deb336c1cb6422
Author: Davis King
Date: Aug 27, 2017 (05:23:57 UTC)

Fixed compiler warning

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: df39ce20e7971294
Author: Davis King
Date: Aug 27, 2017 (05:23:49 UTC)

Fixed compiler warnings

Modified
dlib/image_transforms/image_pyramid.h
dlib/image_transforms/interpolation.h

Revision: 5e2a0b81bafb45f2
Author: Davis King
Date: Aug 27, 2017 (05:17:05 UTC)

Added youtube links

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 3a9d5d4742ad6ad8
Author: Davis King
Date: Aug 27, 2017 (05:11:49 UTC)

More comments

Modified
examples/dnn_mmod_find_cars_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: bcf2eccb2563b3d9
Author: Davis King
Date: Aug 27, 2017 (04:29:36 UTC)

Added more comments

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 3db195f39ddebe05
Author: Davis King
Date: Aug 27, 2017 (03:31:50 UTC)

Cleanup

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 36f354fb6bba6236
Author: Davis King
Date: Aug 27, 2017 (03:31:38 UTC)

Gave upsample_image_dataset() an option to limit upsampling on really large images.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: ff289ff45018c550
Author: Davis King
Date: Aug 26, 2017 (13:13:47 UTC)

Added two vehicle detection examples.

Modified
examples/CMakeLists.txt
Added
examples/dnn_mmod_find_cars_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp
examples/mmod_cars_test_image.jpg

Revision: 9bc47990f9eea691
Author: Davis King
Date: Aug 26, 2017 (04:49:19 UTC)

Added a version of resize_image() that works inplace.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: 01340662b0e82203
Author: Davis King
Date: Aug 26, 2017 (04:39:18 UTC)

Added overloads of max_pointwise() and min_pointwise() that take 3 arguments.

Modified
dlib/matrix/matrix_utilities.h
dlib/matrix/matrix_utilities_abstract.h

Revision: f723ce2ef3c754bc
Author: Davis King
Date: Aug 25, 2017 (18:29:40 UTC)

Made imglab --cluster ignore ignored boxes when doing all aspects of clustering.

Modified
tools/imglab/src/cluster.cpp

Revision: 1f57c3504835dfba
Author: Davis King
Date: Aug 25, 2017 (18:01:02 UTC)

Added options to input_rgb_image_pyramid that let the user set create_tiled_pyramid()'s padding parameters. Also changed the default outer border padding from 0 to 11. This effects even previously trained models. So any model that doesn't explicitly set the outer patting to something else will have a padding of 11. This should be a more reasonable value for most networks.

Modified
dlib/dnn/input.h
dlib/dnn/input_abstract.h

Revision: 6a9b82d06a3afec8
Author: Davis King
Date: Aug 25, 2017 (16:35:47 UTC)

Gave create_tiled_pyramid() the ability to include padding around the outsides of the pyramid image.

Modified
dlib/image_transforms/image_pyramid.h
dlib/image_transforms/image_pyramid_abstract.h

Revision: 6418906f383c6b60
Author: Davis King
Date: Aug 25, 2017 (14:38:40 UTC)

Changed the functions that transform between input tensor coordinates and output tensor coordinates to use dpoint instead of point. This way, we can obtain sub-pixel coordinates if we need them.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h

Revision: f19f8301f63d9f18
Author: Davis King
Date: Aug 25, 2017 (14:21:35 UTC)

Made resize_image() and functions that use it like the pyramid objects produce better results when run on float and double images. There was needless rounding to integers happening in the bilinear interpolation. Now if you work with a float image the entire process will run without integer rounding.

Modified
dlib/image_transforms/interpolation.h

Revision: 3eae6bb90b2bc710
Author: Davis King
Date: Aug 25, 2017 (14:20:17 UTC)

Clarified spec

Modified
dlib/image_transforms/colormaps_abstract.h

Revision: 1cf38f0c65c0a297
Author: Davis King
Date: Aug 25, 2017 (08:59:55 UTC)

Clarified spec

Modified
dlib/image_transforms/colormaps_abstract.h

Revision: e983c3baaffffb82
Author: Deniz Evrenci
Date: Aug 25, 2017 (27:40:22 UTC)

C++11 features (#778) * Make noncopyable constructor and destructor default C++11 provides the functionality. Defining empty functions cause all classes derived from noncopyable to be non-trivially constructible and non-trivially destructible. For example, matrix with compile-time layout by definition does not require an explicit destructor and should be trivially destructible ; however, deriving from noncopyable makes it non-trivially destrutible. This also affects vector<T, 2> and vector<T, 3>. * Delete array2d copy constructor and assignment operators

Modified
dlib/array2d/array2d_kernel.h
dlib/array2d/array2d_kernel_abstract.h
dlib/noncopyable.h

Revision: 8a4db312e35c76ba
Author: Deniz Evrenci
Date: Aug 25, 2017 (27:39:07 UTC)

Include drectangle.h to point_transforms.h (#777)

Modified
dlib/geometry/point_transforms.h

Revision: 7c97ae6e8fb6ccb2
Author: Davis King
Date: Aug 24, 2017 (15:42:22 UTC)

Fixed grammar

Modified
dlib/dnn/layers_abstract.h

Revision: 37cc31f07f19f574
Author: Davis King
Date: Aug 24, 2017 (15:24:28 UTC)

Fixed spelling error in comment.

Modified
dlib/dnn/cuda_data_ptr.h

Revision: ed7d1cd9986c67b1
Author: Davis King
Date: Aug 24, 2017 (14:41:07 UTC)

Fully qualified boost::python::list to hopefully avoid compiler errors in some environments.

Modified
tools/python/src/other.cpp

Revision: c99fbc13def29190
Author: Evgeniy Fominov
Date: Aug 24, 2017 (18:12:31 UTC)

Clang support for windows (#772)

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/use_cpp_11.cmake

Revision: 012387c880b9cb3e
Author: ipeterson
Date: Aug 23, 2017 (11:33:52 UTC)

Pull in external libpng dependencies properly (#770) PNG_LIBRARY set by libpng's FindPNG.cmake does not contain zlib dependancy. This causes the CHECK_FUNCTION_EXISTS(png_create_read_struct LIBPNG_IS_GOOD) to fail with liner errors, and for dlib to use it's internal copy of PNG. Updated to use libpng's PNG_LIBRARIES variable. This also sets both PNG and ZLib libraries in dlib_needed_libraries.

Modified
dlib/CMakeLists.txt

Revision: 68e4d543c0bc3316
Author: Davis King
Date: Aug 22, 2017 (18:02:19 UTC)

Fixed grammar

Modified
dlib/smart_pointers.h

Revision: b5e05441d5e718fc
Author: Davis King
Date: Aug 21, 2017 (17:32:36 UTC)

Fixed incorrect size() for simd8i.

Modified
dlib/simd/simd8i.h

Revision: 44466b8bccd7eab7
Author: Davis King
Date: Aug 21, 2017 (17:27:38 UTC)

Made windows testing bat file use rmdir rather than rm since rm isn't always available on windows.

Modified
dlib/test/WINDOWS_build_and_run_all_unit_tests.bat

Revision: 28cdb9ba38ab7fe1
Author: Davis King
Date: Aug 21, 2017 (17:27:12 UTC)

Fixed linker errors when building pyhton on windows. This fixes a bug that was introduced in a recent PR. Also fixed compiler errors that occurred in visual studio.

Modified
dlib/cmake_utils/add_python_module
dlib/python/numpy.h
dlib/python/serialize_pickle.h

Revision: 94fc5255cebe509f
Author: Davis King
Date: Aug 21, 2017 (15:35:42 UTC)

Fixed warning in visual studio.

Modified
dlib/dnn/tensor.h

Revision: 692a89abe25d650f
Author: Davis King
Date: Aug 20, 2017 (16:47:00 UTC)

Made the test loss in the verbose output messages from the dnn_trainer not jump in variance when the learning rate resets.

Modified
dlib/dnn/trainer.h

Revision: 4fd8c1322933d0f1
Author: Davis King
Date: Aug 20, 2017 (16:39:44 UTC)

Added serialization support for the running_stats_decayed object.

Modified
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h

Revision: b2b9c59b46a25782
Author: Davis King
Date: Aug 20, 2017 (16:08:03 UTC)

Made the loss value management a little more conservative.

Modified
dlib/dnn/trainer.h

Revision: c3db550a43997eaf
Author: Davis King
Date: Aug 20, 2017 (15:42:12 UTC)

Made the input_tensor_to_output_tensor() and output_tensor_to_input_tensor() coordinate mappings work on networks that contain skip layers.

Modified
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h

Revision: 4be725b8b96defea
Author: Davis King
Date: Aug 20, 2017 (15:30:11 UTC)

Changed the default get_test_iterations_without_progress_threshold() from 200 to 500. Now that we have a better history management of loss values in the trainer it's much more sensible to have a larger value here.

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: 4ce6f4a3e766e65a
Author: Davis King
Date: Aug 20, 2017 (15:28:08 UTC)

Made the dnn_trainer not forget all the previous loss values it knows about when it determines that there have been a lot of steps without progress and shrinks the learning rate. Instead, it removes only the oldest 100. The problem with the old way of removing all the loss values in the history was that if you set the steps without progress threshold to a really high number you would often observe that the last few learning rate values were obviously not making progress, however, since all the previous loss values were forgotten the trainer needed to fully populate it's loss history from scratch before it would figure this out. This new style makes the trainer not waste time running this excessive optimization of obviously useless mini-batches.

Modified
dlib/dnn/trainer.h

Revision: dee0369231464ef3
Author: Davis King
Date: Aug 20, 2017 (03:14:40 UTC)

The input_rgb_image_sized is supposed to be convertible to input_rgb_image, which it was in all ways except you couldn't deserialize directly like you would expect. This has now been fixed.

Modified
dlib/dnn/input.h

Revision: 935a4626e5a7650e
Author: Davis King
Date: Aug 19, 2017 (04:48:48 UTC)

Make DLIB_ASSERT statements not abort the python interpreter, but just trigger an exception.

Modified
tools/python/CMakeLists.txt

Revision: 67eb90d2a5eab5f6
Author: Davis King
Date: Aug 19, 2017 (04:42:17 UTC)

Suppress compiler warning

Modified
dlib/dnn/layers.h

Revision: e8b6ec9ee3de5dc2
Author: Adam Geitgey
Date: Aug 18, 2017 (06:30:33 UTC)

Add a python wrapper for using the mmod face detector (#753)

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
Added
python_examples/cnn_face_detector.py
tools/python/src/cnn_face_detector.cpp

Revision: 7ded71367ca9d628
Author: Davis King
Date: Aug 18, 2017 (01:30:11 UTC)

Changed the random_cropper so that it samples background patches uniformly across scales regardless of the input image size. Previously, if you gave really large images or really small images it had a bias towards giving only large patches or small patches respectively.

Modified
dlib/image_transforms/random_cropper.h

Revision: a5d7d71af997d1be
Author: Davis King
Date: Aug 15, 2017 (11:52:00 UTC)

Fixed spelling error

Modified
dlib/statistics/running_gradient.h

Revision: 8b70bcb314ac92fc
Author: Davis King
Date: Aug 14, 2017 (17:36:18 UTC)

Fixed grammar

Modified
dlib/dnn/loss_abstract.h

Revision: 22c842bb0ea24a87
Author: Davis King
Date: Aug 14, 2017 (10:04:16 UTC)

Updated solvers to correctly pull in cont_'s bias parameter multipliers.

Modified
dlib/dnn/solvers.h

Revision: 6fbcc1849eff3c47
Author: Davis King
Date: Aug 14, 2017 (09:50:47 UTC)

Added extract_ layer

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 2735e30a69fde8ed
Author: Davis King
Date: Aug 14, 2017 (08:48:37 UTC)

Added more tests for copy_tensor()

Modified
dlib/test/dnn.cpp

Revision: 1786adb70faeead4
Author: Davis King
Date: Aug 14, 2017 (08:28:26 UTC)

Added an "add_to" option to tt:copy_tensor(). There was also a bug in the concat layer's backward() method. It was assigning the gradient to previous layers instead of adding the gradient, as required by the layer interface specification. This change also noticeably speeds up concat layers since only one CUDA kernel launch now happens per concat operation, rather than one kernel launch for each sample in a tensor.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/layers.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 05ffcd2add434f40
Author: Davis King
Date: Aug 14, 2017 (05:52:53 UTC)

Made copy_tensor() use cudaMemcpyAsync() rather than cudaMemcpy().

Modified
dlib/dnn/cuda_dlib.cu
dlib/dnn/tensor_tools.h

Revision: 024940c678875ea6
Author: Davis King
Date: Aug 11, 2017 (13:47:19 UTC)

Added mult_prev layer.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 547865907036994d
Author: Davis King
Date: Aug 11, 2017 (12:39:00 UTC)

Added multiply_zero_padded()

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: f038970afe17f4ef
Author: Davis King
Date: Aug 10, 2017 (13:05:35 UTC)

Made swig always run when you rebuild to avoid stale swig outputs.

Modified
dlib/java/cmake_swig_jni

Revision: f9108f60012e7e6e
Author: Davis King
Date: Aug 10, 2017 (12:07:42 UTC)

Added DLIB_NO_ABORT_ON_2ND_FATAL_ERROR for dlib::fatal_error as a generic switch for use in plugin environments.

Modified
dlib/error.h

Revision: e9b7a2b23d9a9219
Author: Davis King
Date: Aug 10, 2017 (12:07:12 UTC)

Fixed missing java:: qualifiers.

Modified
dlib/java/java_array.h

Revision: 885c55c71009c06a
Author: Davis King
Date: Aug 10, 2017 (11:31:02 UTC)

Removed exit call on load library failure.

Modified
dlib/java/cmake_swig_jni

Revision: 0fc640f24e8baf64
Author: Davis King
Date: Aug 10, 2017 (11:16:21 UTC)

A bit of path cleanup

Modified
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni
dlib/java/swig_api.h

Revision: 1ff7211cc05b0422
Author: Davis King
Date: Aug 10, 2017 (10:38:41 UTC)

Added more options for controlling the install folder paths.

Modified
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni

Revision: 039977decba9d23f
Author: Davis King
Date: Aug 09, 2017 (17:42:29 UTC)

merged

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/dnn.cpp
dlib/test/matrix.cpp
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: 4e84498e368b7d95
Author: Davis King
Date: Aug 09, 2017 (17:42:14 UTC)

Fixed a bug in the warning message about NMS overlap where it would sometimes false alarm.

Modified
dlib/dnn/loss.h

Revision: b2395d8b583f14d0
Author: Davis King
Date: Aug 09, 2017 (08:20:06 UTC)

merged

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/dnn.cpp
dlib/test/matrix.cpp
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: 0b26f900adfc416e
Author: Davis King
Date: Aug 09, 2017 (08:19:41 UTC)

Added an object that lets you hold a copyable reference to a java array. Also renamed the objects and generally improved documentation.

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: ac06c03e5ec8fc3a
Author: Davis King
Date: Aug 08, 2017 (11:10:17 UTC)

Added an overload of mat() that takes a row stride value.

Modified
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/matrix.cpp

Revision: 88ec0c153bcd9ff9
Author: Davis King
Date: Aug 08, 2017 (11:00:38 UTC)

Relaxes test to avoid false alarms.

Modified
dlib/test/dnn.cpp

Revision: a3a15599f79256ed
Author: Davis King
Date: Aug 06, 2017 (07:34:07 UTC)

Added note about logging training parameters.

Modified
examples/dnn_mmod_ex.cpp

Revision: aea2c9f4a7daf579
Author: Davis King
Date: Aug 06, 2017 (04:54:10 UTC)

Changed how we print the network hash.

Modified
dlib/dnn/trainer.h

Revision: a2810bebf9f5a6bb
Author: Davis King
Date: Aug 05, 2017 (11:24:47 UTC)

Made dnn_trainer print the network size when logged to an iostream.

Modified
dlib/dnn/trainer.h

Revision: d10ac2240922c54a
Author: Davis King
Date: Aug 04, 2017 (18:46:46 UTC)

Improved how the relaxed mmod overlap settings are determined.

Modified
dlib/dnn/loss.h

Revision: 65a32f50b0c67588
Author: Davis King
Date: Aug 03, 2017 (11:55:57 UTC)

Added get_synchronization_file() and get_test_one_step_calls() to dnn_trainer. Also added an operator<< for dnn_trainer that prints the parameters it's using. These changes also break backwards compatibility with the previous serialization format for dnn_trainer objects.

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: a72fd3b281342ddd
Author: Davis King
Date: Aug 03, 2017 (11:47:08 UTC)

Added operator<< for the DNN solvers.

Modified
dlib/dnn/solvers.h
dlib/dnn/solvers_abstract.h

Revision: a9e364c0ef45edec
Author: Davis King
Date: Aug 03, 2017 (11:40:51 UTC)

Added operator<< for random_cropper.

Modified
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper_abstract.h

Revision: f333a561d3aa649b
Author: Davis King
Date: Aug 03, 2017 (11:28:26 UTC)

Filled out the options for loss_mmod's operator<<.

Modified
dlib/dnn/loss.h

Revision: 6a1608b5d348414a
Author: Davis King
Date: Aug 03, 2017 (05:36:51 UTC)

Clarified spec

Modified
dlib/dnn/trainer_abstract.h

Revision: 6230ef7cabc2f565
Author: Davis King
Date: Aug 03, 2017 (05:14:36 UTC)

Fixed spelling error in comment.

Modified
dlib/serialize.h

Revision: c23b8fb76cd96163
Author: Davis King
Date: Jul 31, 2017 (15:49:46 UTC)

Added missing input validation to loss_mmod_. Specifically, the loss layer now checks if the user is giving truth boxes that can't be detected because the non-max suppression settings would prevent them from being output at the same time. If this happens then we print a warning message and set one of the offending boxes to "ignore".

Modified
dlib/dnn/loss.h

Revision: 2d821a1b149b262b
Author: Davis King
Date: Jul 31, 2017 (15:43:49 UTC)

Clarified spec

Modified
dlib/dnn/loss_abstract.h

Revision: 80e4c75351a5e37e
Author: Davis King
Date: Jul 30, 2017 (16:55:04 UTC)

Gave test_object_detection_function() an option to set how ignore box overlap is tested.

Modified
dlib/dnn/validation.h
dlib/svm/cross_validate_object_detection_trainer.h
dlib/svm/cross_validate_object_detection_trainer_abstract.h

Revision: 49ad8b55b00ee788
Author: ᴚ∀W∀ᴎ
Date: Jul 29, 2017 (-05:42:42 UTC)

differential std::clamp from c++17 with dlib:: prefix to clamp() (#734)

Modified
dlib/control/mpc.h
dlib/matrix/matrix_la.h
dlib/optimization/optimization.h
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/test/matrix2.cpp

Revision: b4c4c47cbeb4e6f9
Author: Leo
Date: Jul 28, 2017 (09:03:41 UTC)

Fix strange dash in Box-Muller (#732)

Modified
dlib/general_hash/random_hashing.h

Revision: f1b45f1446062c59
Author: Davis King
Date: Jul 29, 2017 (01:51:59 UTC)

Minor adjustments to avoid false alarms in cca test.

Modified
dlib/test/cca.cpp

Revision: d9452d905bfb6ac6
Author: Davis King
Date: Jul 25, 2017 (11:42:13 UTC)

Updated cmake required version

Modified
dlib/java/cmake_swig_jni

Revision: 9a69628a43de0d97
Author: Davis King
Date: Jul 25, 2017 (11:41:30 UTC)

Added cmake scripts and some related tooling that makes it easy to call C++ code from java.

Added
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni
dlib/java/jvector.h
dlib/java/run_test.sh
dlib/java/swig_api.h
dlib/java/swig_test.java

Revision: 8fc176117752ac5f
Author: Davis King
Date: Jul 24, 2017 (06:01:30 UTC)

Fixed tabbing

Modified
dlib/dnn/cpu_dlib.cpp

Revision: 11755added24a539
Author: Davis King
Date: Jul 24, 2017 (06:01:23 UTC)

Fixed grammar

Modified
examples/dnn_inception_ex.cpp

Revision: 69b6bb1130fc5fd3
Author: Davis King
Date: Jul 22, 2017 (07:41:48 UTC)

Improved errors from libpng when users link against a different version of libpng than they built against.

Modified
dlib/image_loader/png_loader.cpp

Revision: f7fbb3219aeaedc3
Author: Davis King
Date: Jul 22, 2017 (03:50:52 UTC)

Made tensor_conv hold references to the cuda_data_void_ptr work buffers in the member area of the class. This way, we avoid a potential error where the buffers are reallocated while cuDNN is still using them in the background.

Modified
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h

Revision: d3ab7b9cda03f0de
Author: Evgeniy Fominov
Date: Jul 21, 2017 (22:37:46 UTC)

cuDNN convolution algorithms shared workspace (#695) * added shared workspace * rewrite shared workspace code * rename and device-based buffer allocation * fix cudnn_device_buffer constructors

Modified
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h

Revision: 396b7ed0e6e08574
Author: Pavan kumar
Date: Jul 19, 2017 (23:68:28 UTC)

Just small typo (#716)

Modified
python_examples/face_recognition.py

Revision: 98605f018fd15cc1
Author: Morosko
Date: Jul 18, 2017 (17:33:27 UTC)

Make http_client compile in C++11 and above (#714) * Make http_client compile in C++11 and above * Optimize file reading

Modified
dlib/http_client/http_client.cpp

Revision: bf5bfffb2b74e0b6
Author: Davis King
Date: Jul 18, 2017 (18:19:29 UTC)

Added --sort and also the ability to propagate boxes from one image to the next using dlib::correlation_tracker.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp

Revision: 4309baf01093704d
Author: Juha Reunanen
Date: Jul 16, 2017 (17:23:59 UTC)

Add per-pixel mean square loss (#690) * Add per-pixel mean square loss * Add documentation of loss_mean_squared_per_pixel_ * Add test case for per-pixel mean square loss: a simple autoencoder * Review fix: reorder params of function tensor_index, so that the order corresponds to the convention used in the rest of the dlib code base * Review fix: add breaks as intended, and change the rest of the test accordingly * Again a case where the tests already work locally for me, but not on AppVeyor/Travis - this commit is a blindfolded attempt to fix the problem (and it also fixes a compiler warning)

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: 6f82b11e5fc09b96
Author: Davis King
Date: Jul 15, 2017 (18:29:44 UTC)

Hopefully improved compiler error diagnostic when using gcc and a user misconfigures their build environment.

Added
dlib/bits/c++config.h

Revision: 89ab0bac484c0a62
Author: Joost van Amersfoort
Date: Jul 15, 2017 (03:12:00 UTC)

remove linking to libpython on linux/OSX (#703) * remove linking to libpython on linux * add OSX libpython free building * add automatic discovery of include python dir back in * make the libs non required for building on manylinux

Modified
dlib/cmake_utils/add_python_module

Revision: 05f40d904621210b
Author: Davis King
Date: Jul 11, 2017 (18:17:07 UTC)

Trying another python build test.

Modified
dlib/travis/build-and-test.sh

Revision: 401c6e1e465f059d
Author: Davis King
Date: Jul 11, 2017 (18:02:26 UTC)

Trying again...

Modified
dlib/travis/build-and-test.sh

Revision: 72d0ff9885268f8c
Author: Davis King
Date: Jul 11, 2017 (16:46:29 UTC)

Add cmake to path for travis

Modified
dlib/travis/build-and-test.sh

Revision: 8cc5d90e0f1f70bb
Author: Davis King
Date: Jul 11, 2017 (15:52:18 UTC)

More python build tests

Modified
dlib/travis/build-and-test.sh

Revision: d0841d570136ae02
Author: Davis King
Date: Jul 11, 2017 (14:12:47 UTC)

Make travis-ci build the python api

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: fd0f8feaf3a1d09c
Author: MambaWong
Date: Jul 12, 2017 (10:11:06 UTC)

Update webcam_face_pose_ex.cpp (#702) Test on a given video like this cv::VideoCapture cap("Sample.avi") may be broken when the video frames are not enough before the main window is closed by the user.

Modified
examples/webcam_face_pose_ex.cpp

Revision: a3a3d46411f8d79d
Author: Davis King
Date: Jul 09, 2017 (08:20:21 UTC)

Fixed typo in spec.

Modified
dlib/dnn/tensor_abstract.h

Revision: 24db262ee5fa81fc
Author: Davis King
Date: Jul 08, 2017 (12:53:29 UTC)

Added Juha Reunanen serialize test case, but one with dlib:: in front and one without to make sure both types of lookup work.

Modified
dlib/test/dnn.cpp

Revision: c2b2bc909b8f2acb
Author: Davis King
Date: Jul 08, 2017 (12:50:38 UTC)

Work around funny name lookup rules for serialize() call.

Modified
dlib/dnn/core.h

Revision: 49c1d15ec8edf4bc
Author: Davis King
Date: Jul 08, 2017 (11:56:40 UTC)

Fixed name lookup problem for calls to serialize() on network objects.

Modified
dlib/dnn/core.h

Revision: 2c9e5703a0c1c0bd
Author: Davis King
Date: Jul 07, 2017 (06:42:29 UTC)

Improved error message from the svmstruct object detector.

Modified
dlib/svm/structural_svm_object_detection_problem.h