Fixed dlib.threshold_image() ignoring the optional thresh argument.

This commit is contained in:
Davis King 2018-06-10 22:33:27 -04:00
parent 1f0cb544ca
commit b23c718640

View File

@ -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;
}