Commit Graph

7461 Commits

Author SHA1 Message Date
Davis King
dcebe3391e Fixed typo in comment string. 2018-06-10 08:50:15 -04:00
Davis King
1d67149511 Added CMakeLists.txt for the stuff in tools/archive. 2018-06-10 08:48:07 -04:00
Davis King
3126372c10 Added the translation jittering option to the python API. 2018-06-08 22:01:21 -04:00
Davis King
a9c940b167 Added an option to do translational jittering of the bounding boxes in the
shape_predictor_trainer.
2018-06-08 21:51:17 -04:00
Davis King
89bfb786d1 Fixed be_verbose not doing the right thing. 2018-06-07 21:03:59 -04:00
Davis King
0fe68bb5a2 Added auto_train_rbf_classifier() and reduced() to the Python API. 2018-06-06 23:07:01 -04:00
Davis King
2a27b690bb Added auto_train_rbf_classifier() 2018-06-06 22:43:12 -04:00
Davis King
c14dca071c Added an optional thread_pool argument to find_max_global() and find_min_global()
to allow for parallel execution of the objective function calls.
2018-06-06 22:38:43 -04:00
Davis King
66c4fa81cb Made decision functions more viewable from python. 2018-06-03 13:45:19 -04:00
Davis King
106c905b7f Added a comment 2018-06-03 10:53:04 -04:00
Davis King
e3c78bcd62 Clarified message 2018-06-03 08:17:43 -04:00
Davis King
048cb4ad1b merged 2018-06-03 08:16:01 -04:00
Augusto Fraga Giachero
64822a0637 Ignore bmp reserved area (#1343)
The 4 bytes starting from the 0x06 offset of a bmp file are marked as
'Reserved' but it doesn't guarantee that these bytes are zeroed, some
applications uses this area for its own purposes and the output file
still a valid bmp file.
2018-06-02 19:33:29 -04:00
Davis King
908f5540ad Make arrays of points and rectangles constructable with a size in the Python API. 2018-06-02 18:53:28 -04:00
Davis King
44c06150a0 Fixed numpy_image not compiling when C++14 is enabled. 2018-06-02 18:52:42 -04:00
Davis King
85fc0e0b91 Added a have_same_dimensions() for image types. 2018-06-02 18:52:20 -04:00
Augusto Fraga Giachero
490754b30f Fix bad_alloc exception when loading bmp images with negative height (#1341)
The 'long' type can be 32 bits or 64 bits depending on what compiler
you are using (LLP64 vs LP64). If the long type is 64 bits the
biHeight variable will receive a very big number when the bmp image
height is negative, causing a std::bad_alloc exception when calling
the 'image.set_size' method.
2018-06-02 13:16:04 -04:00
Alexis Tsogias
4fec20c472 Added option to link against mkl_sequential (#1302) 2018-06-02 13:10:11 -04:00
Davis King
5dc918581e updated docs 2018-05-31 23:03:43 -04:00
Davis King
f24b0816a1 Made .size of hough_transform a property rather than a function. 2018-05-31 23:00:17 -04:00
Davis King
212c19c0ce cleanup 2018-05-31 22:29:19 -04:00
Davis King
18d438588d Fixed spelling error in comment 2018-05-31 22:15:57 -04:00
Davis King
0d6f1f75db Gave numpy_image a (rows,cols) constructor. 2018-05-31 22:15:13 -04:00
Davis King
d6b1f69b57 Cleaned up numpy_image code a little. 2018-05-31 21:59:14 -04:00
Davis King
b6267d7e6f Made the image view objects implement the generic image interface. Not sure
why I didn't do this a long time ago.
2018-05-31 21:35:10 -04:00
Davis King
771036ceed Cleanup hough_transform pyhton binding 2018-05-31 21:20:27 -04:00
Davis King
996a4bbba5 Fixed cmake erroring out in some situations. 2018-05-31 07:58:57 -04:00
Davis King
e27fcb2a27 Print version information before doing anything else in cmake. 2018-05-31 07:28:04 -04:00
Davis King
bf815eea3c Fixed spelling error 2018-05-28 22:12:27 -04:00
Davis King
b9146ad676 Fixed spelling error 2018-05-28 22:12:05 -04:00
Davis King
06bbfcb448 Added polygon_area() to python API 2018-05-28 20:52:42 -04:00
Davis King
263e64ddfe Added polygon_area() 2018-05-28 20:52:17 -04:00
Davis King
a40614e585 Added sub_image() to python API. Also added an overload of get_rect() for
hough_transform objects and made some argument names more consistent.
2018-05-28 18:54:14 -04:00
Davis King
3426570903 More overloads for rectangle.contains() 2018-05-28 18:53:22 -04:00
Davis King
4f2f565cb8 Added more operators for dpoint and point in the Pyhton API. 2018-05-28 18:53:02 -04:00
Davis King
81d57e72c0 Cleaned up min_barrier_distance() code a bit and also made it more robust. 2018-05-27 20:53:53 -04:00
Davis King
0249bcb9de Added get_histogram() to the python API. Also added more overloads of label_connected_blobs(). 2018-05-27 11:05:20 -04:00
Davis King
5b32723fd2 Avoid implicitly copying a matrix to numpy_image. 2018-05-27 11:00:25 -04:00
Davis King
fff972347b Fixed label_connected_blobs_watershed() not giving contiguous labels as
outputs.  Also cleaned up the code a bit.
2018-05-27 08:35:45 -04:00
Davis King
1a3f8d5bf3 Added center() and more overloads of centered_rect() to the Python API. 2018-05-26 22:53:30 -04:00
Davis King
8516442aee Added extract_image_chip() and extract_image_chips() to the Python API. 2018-05-26 22:38:16 -04:00
Davis King
c210395c0e Made chip_details do something more benign when the user gives an empty
rectangle.
2018-05-26 22:15:52 -04:00
Davis King
2ed128e2b4 Made dlib.range a little more like the python range. 2018-05-26 17:35:35 -04:00
Davis King
d2fa9e85e1 Cleaned up code and fixed point and dpoint addition actually doing subtraction. 2018-05-26 16:59:25 -04:00
Davis King
bef30d1839 merged 2018-05-26 16:48:49 -04:00
Davis King
8402c9ee90 make pypi not complain about long description. 2018-05-26 13:30:04 -04:00
Davis King
8cfeb4692a Record last changeset and set PATCH version to 99 2018-05-26 07:59:21 -04:00
Davis King
c9e2f040fa Created release v19.13 2018-05-26 07:56:40 -04:00
Davis King
01e14af26d Added tag v19.13 for changeset c7a90ee40635 2018-05-26 07:56:40 -04:00
Davis King
4f159e7e51 updated docs 2018-05-25 23:50:11 -04:00