hugely optimized by scaling the bw image for each window size, and more timers
This commit is contained in:
parent
64bf56015c
commit
8262d3284f
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ impl HaarClassifier {
|
|||
&img_bw,
|
||||
(img_bw.width() as f64 / scale + 1.) as u32,
|
||||
(img_bw.height() as f64 / scale + 1.) as u32,
|
||||
image::imageops::FilterType::Nearest
|
||||
image::imageops::FilterType::CatmullRom
|
||||
);
|
||||
|
||||
let integral = Self::integral_image(&img_bw_scaled);
|
||||
|
|
Loading…
Reference in a new issue