Commit Graph

512 Commits

Author SHA1 Message Date
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
RangerUFO
0f60ba365b Fix comments typo in dnn_introduction2_ex (#405) 2017-01-22 10:36:40 -05:00
Davis King
3793e29e0e Added comments about test_one_step() 2017-01-22 10:25:29 -05:00
Davis King
bf36a846de Changed build order to see if it prevents travis from crashing. 2016-12-18 23:35:25 -05:00
Davis King
093f709a9a Minor improvement to example 2016-12-18 20:52:45 -05:00
Davis King
ab1575da20 more cleanup 2016-12-18 13:20:37 -05:00
Davis King
b87ecad51e Improved example 2016-12-18 13:10:13 -05:00
Davis King
fd13230486 Finished the more complex metric learning example and added some example data. 2016-12-17 20:41:36 -05:00
Davis King
f4b3c7ee0f Improved example 2016-12-17 16:46:39 -05:00
Davis King
f28d2f7329 Cleaned up example 2016-12-17 16:11:18 -05:00
Davis King
4d121e7e08 Added another metric learning example 2016-12-17 14:29:29 -05:00
Davis King
cb198afc3f Added metric learning example 2016-12-17 10:56:27 -05:00
Davis King
2787edc9bd Improved error messages about non-C++11 compilers and made the example cmake
file a little clearer on this issue.
2016-10-09 18:13:21 -04:00
Davis King
f5da9fe2b0 Changed cmake so it compiles most of the DNN examples when using visual studio. 2016-10-08 15:28:58 -04:00
Davis King
d4958e8a8e Evgeniy Fominov's changes that avoid compiler bugs in Visual Studio. 2016-10-08 14:27:34 -04:00
Davis King
fee64827b7 Made the upsampling conditional on the image not being huge already. 2016-10-07 22:07:13 -04:00
Davis King
b5c43a6efd Merge branch 'skip_gui_examples' of git://github.com/miscellanea/dlib into miscellanea-skip_gui_examples
Conflicts:
	examples/CMakeLists.txt
2016-10-02 17:52:39 -04:00
Davis King
56f4e19afa Added comments 2016-10-02 16:43:11 -04:00
Davis King
d53d49ebb8 Larger mustache :) 2016-10-02 14:33:22 -04:00
Davis King
67c1a79820 Added test image for dog mmod example program 2016-10-02 13:37:47 -04:00
Davis King
16cedfd92e Added more mmod examples. 2016-10-02 13:00:07 -04:00
Davis King
482b3a61b1 Simplified the network definition slightly 2016-10-02 12:54:14 -04:00
Xi Deng
ea20f5e2ca skip examples which need GUI when DLIB_NO_GUI_SUPPORT is defined 2016-10-01 18:49:57 -07:00
Davis King
05bbe4f4bb Fixed spelling error in comment 2016-09-30 23:09:03 -04:00
Davis King
4a408d5e07 Fixed example 2016-09-05 15:40:54 -04:00
Davis King
d5dc371ff8 Added random_cropper and DNN MMOD example programs. 2016-09-05 15:39:31 -04:00