mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed dlib.threshold_image() ignoring the optional thresh argument.
This commit is contained in:
parent
1f0cb544ca
commit
b23c718640
@ -38,7 +38,7 @@ numpy_image<unsigned char> py_threshold_image2(
|
||||
)
|
||||
{
|
||||
numpy_image<unsigned char> out_img;
|
||||
threshold_image(in_img, out_img);
|
||||
threshold_image(in_img, out_img, thresh);
|
||||
return out_img;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user