Commit Graph

7375 Commits

Author SHA1 Message Date
Davis King
ee966b641c updated docs 2018-05-10 23:28:33 -04:00
Davis King
8b7cb1f50a clarified spec 2018-05-10 23:27:41 -04:00
Davis King
cf4f109ec7 Added image_gradients as well as find_bright_lines() and find_dark_lines(). 2018-05-10 23:05:52 -04:00
Davis King
a79b72c585 Added paper 2018-05-10 22:05:34 -04:00
Davis King
6bdfe3cd15 Make sure -DDLIB__CMAKE_GENERATED_A_CONFIG_H_FILE is propagated to nvcc so that
the odr violation checks don't erroneously trigger.
2018-05-08 21:21:39 -04:00
Davis King
5fe116d2d3 Made partition_pixels() work basically all pixel types. 2018-05-08 20:39:25 -04:00
Davis King
69ee698daf Fixed bug in hysteresis_threshold() 2018-05-08 20:34:08 -04:00
Davis King
d5a27eba6b updated docs 2018-05-07 23:30:05 -04:00
Davis King
802d641103 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.
2018-05-07 23:11:54 -04:00
Davis King
940546f878 Make python docs include __call__ and __init__ 2018-05-07 07:24:49 -04:00
Davis King
851d70a5b4 A bit of cleanup 2018-05-07 07:24:29 -04:00
Davis King
a37284fd42 Flush to stdout so that print messages appear where you would expect relative
to output from the subprocesses.
2018-05-06 15:19:38 -04:00
Davis King
c5f5692a37 more appveyor stuff 2018-05-06 14:57:27 -04:00
Davis King
627ce87d9e Fix appveyor tests 2018-05-06 14:55:31 -04:00
Davis King
56ce7bc5d0 Build clean on appveyor. 2018-05-06 14:41:01 -04:00
Davis King
5a36842638 Print python version in build log. 2018-05-06 14:40:09 -04:00
Davis King
f4dc4855c6 Cleanup 2018-05-06 14:31:25 -04:00
Davis King
d847c13015 Added neighbors_24 2018-05-06 14:26:18 -04:00
Davis King
8a48eee402 Added more version status messages to cmake output. 2018-05-03 16:36:56 -04:00
Davis King
1a297363c6 Fixed spelling error in message. 2018-05-03 16:35:33 -04:00
Davis King
7eac06947d Cleanup cmake output a little. 2018-05-02 14:48:57 -04:00
Davis King
4b44c2a387 Fix warnings on OS X. 2018-05-02 12:56:55 -04:00
Davis King
0ff10dcc7f fixed include 2018-05-01 22:17:21 -04:00
Davis King
cd888bcc30 merged 2018-05-01 22:14:37 -04:00
Guillaume "Vermeille" Sanchez
4607986221 parallelize image rotations (#1281) 2018-05-01 22:13:53 -04:00
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