Commit Graph

537 Commits

Author SHA1 Message Date
Davis King
dc0245af05 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.
2017-10-27 19:29:52 -04:00
Davis King
e338bf02e0 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.
2017-10-24 22:10:02 -04:00
Davis King
1c664eeac5 Made the metric learning example do image jittering. 2017-10-24 21:13:02 -04:00
Davis King
369f2b32e8 Cleaned up jitter_image() code and moved it into dlib proper. 2017-10-24 08:02:44 -04:00
Davis King
525bf0e15b Fixed weird wording. 2017-10-17 19:20:29 -04:00
Davis King
3aa9991892 Made comment more clear. 2017-10-17 19:18:57 -04:00
Davis King
3b2d73db68 Some cmake script cleanup and refactoring. 2017-10-16 20:55:28 -04:00
Davis King
d39b843de0 Added another car finding example 2017-09-16 15:35:58 -04:00
Davis King
4737009c11 Clarified comments 2017-09-16 15:35:37 -04:00
Davis King
8bfd227930 Changed to slightly better default recommendations for parameters. 2017-09-16 15:14:13 -04:00
Davis King
b4bd6f8dee More cleanup 2017-09-16 14:10:09 -04:00
Davis King
57b6cd1b80 clarified error message 2017-09-16 14:01:34 -04:00
Davis King
37e0b9ea68 Updated comments. 2017-09-15 22:16:00 -04:00
Davis King
41c2f217c6 Changed code to recommend users use the new 5 point face landmarking model. 2017-09-15 19:58:27 -04:00
Davis King
4fcc5faa39 Fixed grammar 2017-09-15 19:57:16 -04:00
Davis King
8de1a1ed6a Improved citations 2017-09-10 22:22:55 -04:00
Davis King
71db541a92 Minor cleanup 2017-08-27 18:18:00 -04:00
Davis King
3211da440d Yet more comments 2017-08-27 12:01:24 -04:00
Davis King
a362305e1b cleanup 2017-08-27 10:46:49 -04:00
Davis King
5e9f094d5a Fixed compiler warning 2017-08-27 09:23:57 -04:00
Davis King
88c1bf3b46 Added youtube links 2017-08-27 09:17:05 -04:00
Davis King
efb1d83dd3 More comments 2017-08-27 09:11:49 -04:00
Davis King
54de7a8546 Added more comments 2017-08-27 08:29:36 -04:00
Davis King
aec695fc26 Cleanup 2017-08-27 07:31:50 -04:00
Davis King
51eae2ba07 Added two vehicle detection examples. 2017-08-26 17:13:47 -04:00
Davis King
420eba0e6a Added note about logging training parameters. 2017-08-06 11:34:07 -04:00
Davis King
b4853ce449 Fixed grammar 2017-07-24 10:01:23 -04:00
MambaWong
373ca59369 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.
2017-07-11 14:11:06 -04:00
Davis King
64052a3ff1 Added a comment 2017-07-02 08:43:45 -04:00
Davis King
f5574434db Upgraded loss_mmod_ to support objects of varying aspect ratio. This changes
the API for the mmod_options struct slightly.
2017-07-01 14:46:27 -04:00
Davis King
17b48b97bb Changed the random_cropper's interface so that instead of talking in terms of
min and max object height, it's now min and max object size.  This way, if you
have objects that are short and wide (i.e. objects where the relevant dimension
is width rather than height) you will get sensible behavior out of the random
cropper.
2017-06-17 12:34:26 -04:00
Davis King
334ba38ec6 A minor change to hopefully reduce inane warnings from visual studio. 2017-05-14 20:07:16 -04:00
elelel
b57b8b20aa Migrate from dlib::scoped_ptr to std::unique_ptr (#593)
* Convert unique_ptr

* Fix passing unique_ptr as copy by value

* Remove scoped_ptr implementation

* Fix missed files

* Move bool cast into tester macro

* Reexport scoped_ptr alias from sockets
2017-05-14 19:52:34 -04:00
elelel
74f9f2fb2a Replace shared_ptr/weak_ptr with STL's versions (#588)
* Replace shared_ptr/weak_ptr with stdlib counterparts

* Fix ptr usage through tests compilation

* Bring back dlib smart ptrs as legacy

* Include scoped_ptr directly

* Add explanation about smart_ptr deprecation
2017-05-12 16:40:59 -04:00
Davis King
70b885eb0b Added a note about exporting to XML. 2017-05-07 19:12:12 -04:00
Davis King
482c2db7ba Changed the location of the set_synchronization_file() call so that rerunning
the example restarts correctly.
2017-05-07 19:11:52 -04:00
Davis King
a1eea964b6 Added more comments 2017-05-05 05:42:13 -04:00
cclough
5fa4533b9a Update CMakeLists.txt (#566) 2017-04-30 20:48:51 -04:00
Davis King
df5a087b03 Made it more obvious that this file is a cmake tutorial. Also added a few more comments about how to use cmake. 2017-03-24 09:15:43 -04:00
Davis King
67db08f5a6 Made example cmake use dlib::dlib link name. Also made the installed
cmake config for dlib enable C++11.
2017-02-28 04:43:32 -05:00
Alain Vaucher
b41455fd26 Change minimum CMake version that supports the introduced features 2017-02-27 18:23:28 +01:00
Davis King
e4402cf575 Don't build face recognition example if GUI support isn't enabled. 2017-02-18 15:33:09 -05:00
Davis King
7747be8302 cleanup 2017-02-12 20:53:02 -05:00
Davis King
11016884ed Avoid crashing visual studio 2017-02-12 13:28:42 -05:00
Davis King
c5b29d985b Added try/catch block to main 2017-02-11 16:45:22 -05:00
Davis King
d7a6cd4960 fixed grammar in comment 2017-02-11 15:36:24 -05:00
Davis King
fe1a15f32a Added face recognition example 2017-02-11 14:52:47 -05:00
Davis King
45d047de80 Minor cleanup 2017-02-09 12:38:39 -05:00
Davis King
57ca3e5459 Made network smaller. 2017-02-08 22:53:55 -05:00
Davis King
6c6c25a344 merged 2017-01-22 11:32:27 -05:00