Commit Graph

6050 Commits

Author SHA1 Message Date
Davis King
6402a37458 Made --resample use a 64bit hash of the image data
in the file names to make it so there won't ever be any name conflicts
in the cropped images.
2016-07-31 09:11:52 -04:00
Davis King
7c828d0812 Added some scripts that help with imglab XML file management. 2016-07-30 18:33:50 -04:00
Davis King
f77ca0c754 Added --files 2016-07-30 17:19:20 -04:00
Davis King
26c727c79e Added --ignore option. Also improved how scale jittering happens in --resample,
now the output images are always the same dimensions but the objects scale changes.
2016-07-30 14:34:53 -04:00
Davis King
ed78e8b1c0 Made this not use stdin's file descriptor for data transfer between the
processes since sometimes stdin was closed in some environments.  Also cleaned
up the code a little bit.
2016-07-29 09:03:05 -04:00
Davis King
d40e34cf22 merged 2016-07-28 19:13:10 -04:00
Davis King
284ace058a merged 2016-07-28 19:12:48 -04:00
Davis King
3a096469ef Changed code to avoid advancing iterator beyond end since some compilers
complain about this (and it's technically not allowed in C++).
2016-07-28 19:09:07 -04:00
Davis King
edb2790bcc fixed grammar in comment 2016-07-28 17:59:31 -04:00
sutr90
933ab00942 Fixed PNG saving. 2016-07-28 14:07:23 +02:00
sutr90
2c6351bea3 Fixes Lab tests. 2016-07-27 17:51:01 +02:00
sutr90
ebad74aa20 Fixed grayscale assignment. 2016-07-27 17:47:42 +02:00
sutr90
6e06fc873c Changed lab pixel range.
Added clamping on conversion functions.
2016-07-27 17:25:19 +02:00
sutr90
71ab04f7bc Added missing conversion between HSI and CIELab. 2016-07-26 22:11:56 +02:00
sutr90
385bcb7660 Added support for CIELab color space pixels. 2016-07-26 21:45:52 +02:00
Jan Rüegg
d83b54d275 Make filo compile with WIN32_LEAN_AND_MEAN defined (#169) 2016-07-26 08:30:20 -04:00
Davis King
435299081f Fixed potential division by zero. 2016-07-23 20:18:31 -04:00
Davis King
938e97713a fixed typo in comment 2016-07-23 13:34:08 -04:00
Davis King
0f06d78e33 Add guard so code compiles in old compilers. 2016-07-22 23:01:33 -04:00
Davis King
d635a7ee10 Improved cmake warning messages about cuDNN 2016-07-22 17:03:34 -04:00
Davis King
73156146f9 Added dlib::async() and default_thread_pool() 2016-07-22 16:24:25 -04:00
Davis King
bdbc8e418b Renamed something to avoid name clash with standard library. 2016-07-22 16:22:57 -04:00
Evgeniy Fominov
bbeac285d1 Shape predictor trainer optimizations (#126)
* Shape predictor trainer optimizations

* Fixed performance leak in single thread mode & made VS2010 support
2016-07-22 09:11:13 -04:00
Davis King
6eb5bd8068 merged 2016-07-21 22:33:43 -04:00
Davis King
5ecd904d76 merged 2016-07-21 22:33:27 -04:00
Davis King
cf321559e8 Made remove_unobtainable_rectangles() work with all scan_fhog_pyramid objects. 2016-07-21 22:32:48 -04:00
Davis King
5f48afc5b8 Improved --extract-chips and --resample a bit. 2016-07-21 22:32:25 -04:00
Davis King
fd6db8216a Made it so the matrix only uses matlab's allocation routines for matrices that
are directly the arguments of a mex function.  This way, we avoid the problem
of dlib::matrix objects being created in other threads that internally call
into matlab and mess it up (since matlab is not thread safe in any sense).
2016-07-21 17:10:51 -04:00
Davis King
41d261acb6 merged 2016-07-20 20:29:18 -04:00
Davis King
d0fae99107 merged 2016-07-20 20:28:47 -04:00
Davis King
437690c32d Added missing const. 2016-07-20 20:28:08 -04:00
Davis King
3748650aae Fixed path error in this cmake file. 2016-07-20 15:33:45 -04:00
Davis King
6f24b6d5ee Made the env var CUDA_VISIBLE_DEVICES propagate to the child process 2016-07-20 15:12:32 -04:00
Davis King
81a40ca795 Minor change to avoid linker errors in some cases. 2016-07-20 10:19:46 -04:00
Minglangjun Li
c256cf0999 Fixes #128. Added support to discontiguous Numpy arrays (#155) 2016-07-20 10:05:30 -04:00
Davis King
22758268fc Renamed iterator types to correctly reflect their requirements (i.e. not input
iterators in the sense implied by the C++ standard but rather at least forward
iterators).
2016-07-16 09:06:29 -04:00
Davis King
4b05b4d4bb Improved error message 2016-07-16 08:58:17 -04:00
vsooda
2849ebd70e fix shape_predictor dlib::searialize and dlib::desearialize error (#156)
* fix shape_predictor dlib::searialize and dlib::desearialize error

* declare shape_predictor searialize and desearialize inline

* fix inline declare issue: declare inline before implement
2016-07-12 09:46:06 -04:00
Davis King
e3281851b5 Added checks to see if cblas.h has already been #included. 2016-07-10 07:46:31 -04:00
Davis King
15022b227f Updated search paths for the Intel MKL so they will find newer versions of the MKL
on windows.
2016-07-07 19:29:42 -04:00
Davis King
e20b6512f5 Merge branch 'e-fominov-faq-changes' 2016-07-06 09:48:00 -04:00
Davis King
d85b99618b Improved FAQ a little 2016-07-06 09:47:38 -04:00
Davis King
1ee143d474 Merge branch 'faq-changes' of git://github.com/e-fominov/dlib into e-fominov-faq-changes 2016-07-06 09:27:50 -04:00
Davis King
cf421243be Made this cmake script always enable whatever partial C++11 support your compiler has. 2016-07-05 07:03:38 -04:00
Davis King
0997460820 Added --extract-chips option to imglab. 2016-07-04 12:19:50 -04:00
Davis King
27440b6cbb Fixed bugs in the new --resample option 2016-07-04 08:35:45 -04:00
Davis King
1e50156ea1 Added the --resample option 2016-07-03 19:26:49 -04:00
Davis King
1b9a38e736 Made it so that input<array2d> and input<matrix> layers can be converted
between each other.
2016-07-03 19:26:21 -04:00
Davis King
5ccd775165 updated docs 2016-07-03 19:25:08 -04:00
Davis King
786c93cd5c Added rectangle_transform 2016-07-03 19:22:00 -04:00