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
Davis King
35d6a5b769
Added images for docs
2018-05-25 23:20:01 -04:00
Davis King
57e4fd207e
Added a .add_overlay_circle() to dlib.image_window.
2018-05-25 19:17:03 -04:00
Davis King
91e64dfb17
Added min_barrier_distance() to the Python API.
2018-05-25 19:14:53 -04:00
Davis King
e1458ec8e3
Added min_barrier_distance() and also a new overload of get_histogram().
2018-05-25 19:14:14 -04:00
Davis King
233ae95c14
Cleaned up code and pushed is_rgb_image and is_grayscale_image somewhere more accessible.
2018-05-25 19:12:22 -04:00
Davis King
37d13ae88e
Fixed some python functions not taking as wide a range of images as they did in
...
previous dlib versions.
2018-05-25 19:03:00 -04:00
Davis King
027cf64344
Added an assign_image() that takes py::array as source image.
2018-05-25 19:02:31 -04:00
Davis King
bd2e0bc306
Made skeleton(), in the python API, return the given image so
...
you can chain calls easily.
2018-05-24 21:06:20 -04:00
Davis King
61687a8f08
merged
2018-05-24 21:00:37 -04:00
Davis King
c1f5f32b2a
Renamed convert_rgb_to_grayscale() to as_grayscale() and made it take any
...
numpy array as input.
2018-05-24 20:59:45 -04:00
Davis King
89ffae6126
Added load_grayscale_image() to the Python API
2018-05-24 20:59:19 -04:00