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
Davis King
f8419124ce
Cleaned up the object_detector Python API a little and also pushed the nuclear
...
norm regularization stuff to Python. This also includes adding
num_separable_filters() and threshold_filter_singular_values() to the Python API.
2018-06-10 21:04:57 -04:00
Davis King
9a845c511e
A bit of cleanup
2018-06-10 20:51:14 -04:00
Davis King
5ed1c2f28b
Made it so you can construct dlib.image_windows from detectors.
2018-06-10 20:50:44 -04:00
Davis King
653d048370
Test for SSE4 instructions on the host before enabling them in the python extension module.
2018-06-10 09:04:34 -04:00
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