Commit Graph

7300 Commits

Author SHA1 Message Date
Davis King
ec3c36fc23 Set execute bit. 2018-04-29 17:18:51 -04:00
Davis King
46052db07c Turn LTO back on. 2018-04-28 16:44:40 -04:00
Davis King
6980697a42 Just moved code into dlib namespace. 2018-04-28 08:56:12 -04:00
Davis King
43e5f42ef5 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.
2018-04-28 08:52:25 -04:00
Davis King
f6651c2c7e Fixed jitter_image() not following the generic image interface. 2018-04-28 08:46:23 -04:00
Davis King
58888fcbd6 Merged 2018-04-28 08:33:33 -04:00
Davis King
b95cb7d4a1 Added casts to cblas calls to avoid conflicts with some definitions of the cblas API. 2018-04-28 08:31:20 -04:00
Povilas Juzeliūnas
69b3894f42 Supporting bottom-up DIBs (#1277)
* Supporting bottom-up DIBs

* Variable renamed
2018-04-26 15:48:29 -04:00
Davis King
4d793ddd8a Added some utility routines to the hough_transform object. 2018-04-25 22:57:43 -04:00
Davis King
26c2cc4e49 updated docs 2018-04-25 21:13:49 -04:00
Davis King
4484736504 Added line unit tests. 2018-04-25 21:13:37 -04:00
Davis King
f725376165 Added the line class an some related utility functions. 2018-04-25 21:13:21 -04:00
Davis King
c56eaf0a02 Added normalize_image_gradients() and remove_incoherent_edge_pixels(). 2018-04-24 21:56:33 -04:00
Davis King
3c052e8e9d Fixed code not compiling in debug mode. 2018-04-23 07:03:35 -04:00
Davis King
04eb33ce06 Added find_pixels_voting_for_lines() to the hough_transform. 2018-04-22 07:24:43 -04:00
Davis King
4f29050a69 Test against python 3.6 on windows. 2018-04-21 17:14:44 -04:00
Davis King
e41fad6b62 Added a convenience overload to hough_transform. 2018-04-20 22:27:15 -04:00
Davis King
b5988db6a5 Added .begin() and .end() to array2d. 2018-04-20 22:26:43 -04:00
Davis King
30101dff48 Updated about to talk about new part labeling method. 2018-04-19 22:45:58 -04:00
Davis King
f2167cb6bb 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.
2018-04-19 22:40:38 -04:00
Alexis Tsogias
1184e93818 Renamed BOOST_JOIN to DLIB_BOOST_JOIN to prevent name clashes when working with boost (#1265) 2018-04-19 08:47:08 -04:00
Davis King
52322e5ae2 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.
2018-04-17 22:58:13 -04:00
Davis King
905074f2ca updated patch version to 99 2018-04-17 22:50:54 -04:00
visionworkz
e8faced822 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
2018-04-17 22:49:25 -04:00
Davis King
d7dfd8ad26 Made find_min_single_variable() more stable. Fixes https://github.com/davisking/dlib/issues/1224. 2018-04-17 11:30:46 -04:00
Davis King
854801d4b4 Improved assert error message. 2018-04-17 10:32:44 -04:00
Davis King
998853562e Fixed compile time error in the matlab bindings. 2018-04-17 10:32:34 -04:00
Davis King
4104c2cd19 Updated windows test bat file. 2018-04-13 09:45:19 -04:00
Davis King
59483b28ce merged 2018-04-12 08:13:31 -04:00
Davis King
9b040cd7c6 Added steal_memory() to the matrix. 2018-04-12 08:12:59 -04:00
Davis King
74a3950c1b fixed indenting. 2018-04-12 07:09:10 -04:00
visionworkz
509d62351e 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
2018-04-10 09:29:08 -04:00
Davis King
24ac9bc43f A bit of cmake cleanup 2018-04-06 17:43:49 -04:00
Davis King
4a97b216e0 updated docs 2018-04-06 15:28:47 -04:00
Davis King
592361ed81 Moved the CUDA stuff into its own folder. 2018-04-06 15:14:38 -04:00
Davis King
49a5d39d27 Made loss_multiclass_log_per_pixel use CUDA. 2018-04-04 17:18:54 -04:00
Davis King
6c962dd92f Fixed spelling error in comment. 2018-04-04 17:18:40 -04:00
Davis King
a92477b998 Improved cuda_data_ptr. 2018-04-04 17:18:09 -04:00
Davis King
bb8e0bc8b7 More cleanup 2018-04-04 11:30:16 -04:00
Davis King
0ce6ed5beb Cleanup of cuda code. 2018-04-04 10:55:41 -04:00
Davis King
8073f4b164 Make visual studio build with all cores when building dlib. 2018-04-01 10:19:38 -04:00
Davis King
aba6e3639a A bit of cleanup 2018-04-01 08:34:50 -04:00
Jason Juang
51101fa95a 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
2018-04-01 08:30:18 -04:00
Arian Giles García
fe1c287374 Remove unnecessary semicolon (#1223) 2018-03-31 11:25:04 -04:00
visionworkz
0db8713a6d Fixed reference count issue (#1222) 2018-03-31 07:38:52 -04:00
Davis King
d36c66197f Still messing with travis 2018-03-30 16:41:29 -04:00
Davis King
28418216d1 more travis debug 2018-03-30 15:57:30 -04:00
Davis King
edfd510d70 more travis debug 2018-03-30 15:46:13 -04:00
Davis King
ec72f92f99 more travis debug 2018-03-30 15:42:10 -04:00
Davis King
3787be84e1 more travis debug 2018-03-30 15:36:38 -04:00