Commit Graph

7615 Commits

Author SHA1 Message Date
Davis King
ee5bb2a344 Made rectangle_transform measure area the same way the rectangle's .area() does
so that things are a little more consistent.
2018-07-03 09:15:46 -04:00
Davis King
5fa275f89c Made the routines that rotate image datasets use the rectangle_transform
instead of the bad old way that only really worked for square boxes.
2018-07-03 07:51:34 -04:00
Davis King
112d32afc1 Fixed spelling errors in comment. 2018-07-03 07:35:05 -04:00
Davis King
e6b5296259 merged 2018-07-01 18:48:48 -04:00
Davis King
e552afe9e3 merged 2018-07-01 18:46:59 -04:00
Davis King
da200b22c3 merged 2018-06-29 22:07:17 -04:00
Joel Nelson
18711b55a8 detect file extension of mex function 2018-06-29 12:39:27 -04:00
Davis King
1a1ec6881c Fixed errors on OS X for some kinds of builds. 2018-06-29 10:23:38 -04:00
Davis King
3b794540ba Make pybind11 not break builds that include cuda files. 2018-06-28 21:43:42 -04:00
Davis King
3de8fa3688 Set visibility to hidden for cuda as well as c++. 2018-06-28 17:17:13 -04:00
Davis King
a60be3415d Fixed busted assert. 2018-06-28 00:58:48 -04:00
Davis King
8fdb3af9bf Fixed docstrings not showing the right types. 2018-06-27 07:57:03 -04:00
Davis King
d96d3a50f4 cleanup 2018-06-27 07:49:38 -04:00
Guillaume "Vermeille" Sanchez
ec342e39bd Allow batched face recognition for greater performances (#1335) 2018-06-27 07:22:12 -04:00
Davis King
eded3773fe Never use anaconda's version of libpng because it's broken. 2018-06-27 01:56:29 -04:00
Davis King
6b581d91f6 Added detection_window_width, detection_window_height, and num_detectors fields
to the simple object detection objects in the Python API.
2018-06-25 21:11:35 -04:00
Davis King
8b5ee898a8 Made overlay_line use dpoints instead of point and also made it render the line
from the middle of the pixel.
2018-06-23 13:07:41 -04:00
Davis King
92a89bceb6 Allow point and dpoint use for hough_transform stuff. 2018-06-23 09:03:01 -04:00
Davis King
746af7f867 Made the hough_transform's functions for getting line coordinates use dpoint
instead of point.
2018-06-23 09:02:35 -04:00
Davis King
cd8411a8aa Made clip_line_to_rectangle() and nearest_point() work for point and dpoint. 2018-06-23 08:37:10 -04:00
Davis King
9330c97360 fixed broken test 2018-06-23 07:46:44 -04:00
Davis King
9a9eb5e53d Clarified docs 2018-06-22 20:58:46 -04:00
Davis King
49e6002dff Fixed hough_transform::find_pixels_voting_for_lines(). It would sometimes
include a pixel multiple times in the output lists.
2018-06-22 20:58:33 -04:00
Davis King
d0fc6023ce Updated count_points_on_side_of_line() python binding. 2018-06-22 20:57:16 -04:00
Davis King
0c652dd46a Made count_points_on_side_of_line() take a lower threshold in addition to the
upper threshold.  This changes the function's API.
2018-06-22 20:56:31 -04:00
Davis King
5f9c881f7b Made remove_duplicates() take any type rather than just being limited to
rectangle.
2018-06-21 21:52:50 -04:00
Davis King
64fb231240 Fixed grammar in docs 2018-06-21 18:16:13 -04:00
Davis King
cf8f5581bb Fixed grammar in comment. 2018-06-21 18:14:59 -04:00
Davis King
d2efb68931 Made hysteresis_threshold() return a uint8 image so it's consistent with
threshold_image().
2018-06-20 18:23:37 -04:00
Davis King
3aad318e90 Made add_overlay() work with more input types in python. 2018-06-18 22:10:15 -04:00
Davis King
dcec88672f Fixed integer overflow. 2018-06-18 21:56:02 -04:00
Davis King
527e26df08 Added max runtime option to object detector trainer API in python. 2018-06-18 21:37:06 -04:00
Davis King
7d3fac5502 Added a --split-train-test option to imglab. 2018-06-18 21:36:36 -04:00
Davis King
5cea44a284 Added a max runtime option. 2018-06-18 21:36:00 -04:00
Davis King
918bbd5d86 Added a max runtime option to the oca solver. 2018-06-18 21:35:40 -04:00
Davis King
d3006ab3b9 Made it so you can call the std::vector<detectors> version of the
object_detector constructor from python.  So now you can pack multiple
detectors into one object via the python API.
2018-06-17 23:17:36 -04:00
Davis King
d50d8e0268 Made the run_multiple() routine work identically for fhog and simple object detectors. 2018-06-17 21:22:24 -04:00
Davis King
19005f68c2 Added translate_rect() to python API 2018-06-17 09:17:45 -04:00
Davis King
165310c51b Fixed print formatting. 2018-06-17 08:29:17 -04:00
Davis King
c255e73baa Made it so you can display arbitrary full_object_detection objects on the
image_window in Python.
2018-06-16 17:36:17 -04:00
Davis King
8993a0d9dc Changed the overlay_circle so you can give a double radius rather than just an
integer radius. Also made the circles centered on the center of the pixel at
their center when you zoom in.
2018-06-16 17:25:12 -04:00
Davis King
4b907532d8 Allow python to set the padding mode of the shape_predictor_trainer. 2018-06-16 17:02:33 -04:00
Davis King
8798955d59 Made it so you can fully build image_dataset_metadata::dataset objects from python. 2018-06-16 16:17:38 -04:00
Davis King
30ba39c9ad Fixed cblas_dtrmm and cblas_strsm not using CBLAS_INT_TYPE. 2018-06-15 15:58:19 -04:00
Davis King
85a0dea37c Added zero_border_pixels() to the python API 2018-06-12 20:03:53 -04:00
Davis King
1429b86787 Fix cuda not building on osx sometimes. 2018-06-12 10:48:20 -04:00
Davis King
1e8c2cc1b3 Removed spurious ; 2018-06-11 22:39:24 -04:00
Davis King
4f7c01f469 Added more overloads of memcpy() for cuda_data_ptr. 2018-06-11 22:38:50 -04:00
Davis King
b23c718640 Fixed dlib.threshold_image() ignoring the optional thresh argument. 2018-06-10 22:33:27 -04:00
Davis King
1f0cb544ca Added max_point() and max_point_interpolated() to the Python API. 2018-06-10 22:16:30 -04:00