Commit Graph

7384 Commits

Author SHA1 Message Date
Davis King
104ffddb4c Make python extension automatically enable AVX instructions if the host machine
supports them.
2018-05-21 21:21:40 -04:00
Davis King
f21ac08063 Added hough_transform, remove_incoherent_edge_pixels(),
normalize_image_gradients(), line, signed_distance_to_line(),
distance_to_line(), reverse(), intersect(), count_points_on_side_of_line(),
count_points_between_lines(), dot(), and normalize() to Python API.
2018-05-21 21:20:18 -04:00
Davis King
ecde075d49 Added an image_window::add_overlay() overload for line object. 2018-05-21 21:16:05 -04:00
Davis King
08e06b120d updated spec 2018-05-21 21:15:45 -04:00
Davis King
6472306f2e Fixed docs 2018-05-21 20:42:35 -04:00
Davis King
67bbd2559b Clarified spec and fixed typo 2018-05-21 20:42:23 -04:00
Davis King
a190a1c242 Added equalize_histogram() and resize_image() to the Python API. 2018-05-20 22:34:49 -04:00
Davis King
1df5227e3e Added hysteresis_threshold() and sobel_edge_detector() bindings in the Python API. 2018-05-20 22:13:00 -04:00
Davis King
5df921a226 Made the python API for image_window accept any image type. 2018-05-20 22:11:41 -04:00
Davis King
a8dc28ad1e Fixed code not compiling in gcc 4.8 2018-05-20 20:45:38 -04:00
Davis King
a3ca78de9c Added convert_rgb_to_grayscale(), pyramid_down, find_bright_keypoints(),
find_bright_lines(), find_dark_lines(), find_dark_keypoints(),
suppress_non_maximum_edges(), and find_peaks() to the Python API.
2018-05-20 19:21:34 -04:00
Davis King
40da8bf72f Added length() for point and dpoint in the Python API. 2018-05-20 19:20:09 -04:00
Davis King
52e7ab68bc Made image_window use numpy_image explicitly so it benefits from numpy_image's
automatic binding.
2018-05-20 18:43:50 -04:00
Davis King
cafd6a0ad5 Added centered_rect() and centered_rects() to Python API. Also
added the *_corner() routines to rectangle and drectangle and made these
objects constructable from instances of each other.
2018-05-20 18:43:15 -04:00
Davis King
c18202842e Made point and dpoint constructable from each other. 2018-05-20 18:41:57 -04:00
Davis King
f917f5e5f7 Made the numpy_image capable of binding to tuples that contain a valid image as
their first element.
2018-05-20 18:41:23 -04:00
Davis King
1619725f22 Improved input validation for numpy_image. 2018-05-20 17:58:21 -04:00
Davis King
e83f350399 Fixed numpy_image and pybind11 crashing python sometimes when certain types of
conversions are attempted.
2018-05-20 17:48:05 -04:00
Davis King
86a9abe09d fixed typo in docs 2018-05-20 15:06:54 -04:00
Davis King
70c6f7b84e Minor cleanup 2018-05-20 10:19:55 -04:00
Davis King
c0097a7826 Added dpoint to the python API. 2018-05-20 10:17:53 -04:00
Davis King
da943c691e Added label_connected_blobs_watershed(), convert_image(),
and convert_image_scaled() to the python API.
2018-05-20 10:09:19 -04:00
Davis King
eca48c3464 clarified spec 2018-05-20 10:07:25 -04:00
Davis King
baaec4a520 Fixed label_connected_blobs_watershed() only working in C++14 and if all
parameters were given.
2018-05-20 09:08:09 -04:00
Davis King
e15fcbd39e Added the following things to the python API: gaussian_blur(), label_connected_blobs(),
randomly_color_image(), jet(), skeleton(), find_line_endpoints(), get_rect(), shrink_rect(),
grow_rect(), and image_gradients.
2018-05-19 23:43:28 -04:00
Davis King
28283a162e Fixed grammar 2018-05-19 22:19:51 -04:00
Davis King
827dd0f811 updated pypi upload instructions. 2018-05-19 20:53:40 -04:00
Davis King
dddfb6504c Record last changeset and set PATCH version to 99 2018-05-19 19:38:39 -04:00
Davis King
bb3dc17526 Added tag v19.12 for changeset 39949a24fa62 2018-05-19 19:36:29 -04:00
Davis King
a1d1be69f2 Created release v19.12 2018-05-19 19:36:28 -04:00
Davis King
b19097ed51 updated docs 2018-05-19 19:25:05 -04:00
Davis King
f5a7faa540 updated faq 2018-05-19 19:15:30 -04:00
Davis King
7ae59ff821 updated docs 2018-05-19 14:46:25 -04:00
Davis King
26701f7342 Fixed typo in docs 2018-05-19 14:38:29 -04:00
Davis King
1f727f930b Fixed broken unit test. 2018-05-19 14:14:43 -04:00
Davis King
7e7d8e9071 Added python interface to threshold_image() and partition_pixels(). 2018-05-19 13:12:47 -04:00
Davis King
27dbbe2de1 Renamed dlib.save_rgb_image() to dlib.save_image() 2018-05-19 13:12:27 -04:00
Davis King
68112e3503 Improved the error messages related to numpy_image usage and also
improved the way overload resolution works in pybind11 for these objects.
2018-05-19 10:38:35 -04:00
Davis King
06ce20785e Fixed numpy_image not working correctly for grayscale images. 2018-05-18 21:55:12 -04:00
Davis King
2b55b99640 Record last changeset and set PATCH version to 99 2018-05-17 22:02:00 -04:00
Davis King
0feb4de1d0 Added tag v19.11 for changeset 4ae153db78c4 2018-05-17 21:58:49 -04:00
Davis King
62ca29f3b4 Created release v19.11 2018-05-17 21:58:49 -04:00
Davis King
7f61b773e5 updated docs 2018-05-17 21:54:51 -04:00
Davis King
e90fc1076a clarified spec 2018-05-17 20:28:57 -04:00
Davis King
ba44863632 Fixed grammar 2018-05-17 19:13:55 -04:00
Davis King
d014a0be8c updated change for last release. 2018-05-17 07:21:28 -04:00
Davis King
0e0675715a Improved python docs 2018-05-17 07:18:13 -04:00
Davis King
43b9a0966e Added encode_8_pixel_neighbors() and find_line_endpoints(). 2018-05-16 23:03:43 -04:00
Davis King
b2f6071a97 Changed the matrix_data_layout types to use size_t where appropriate so that
large matrices can be handled on windows.
2018-05-15 22:47:38 -04:00
Davis King
150766bb56 Made memory managers use size_t to measure memory allocation sizes rather than unsigned long. 2018-05-15 22:11:40 -04:00