Update tests

This commit is contained in:
Steve Cook
2023-03-01 22:49:07 -05:00
parent c5460debe1
commit 70b1ef270f
10 changed files with 33 additions and 44 deletions

View File

@@ -1143,7 +1143,7 @@ mod detector_test {
let filename = image;
let img = image::open(filename).unwrap();
let lum_src = BufferedImageLuminanceSource::new(img);
let binarizer = HybridBinarizer::new(Box::new(lum_src));
let binarizer = HybridBinarizer::new(lum_src);
let bitmatrix = binarizer.get_black_matrix().unwrap();
// let i: image::DynamicImage = bitmatrix.into();