Skip to content

Commit

Permalink
perf: reduce multi barcode scan depth
Browse files Browse the repository at this point in the history
  • Loading branch information
hschimke committed Feb 1, 2024
1 parent 13c5bb5 commit 3c6c042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/multi/generic_multiple_barcode_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ impl<T: Reader> MultipleBarcodeReader for GenericMultipleBarcodeReader<T> {
}
}
impl<T: Reader> GenericMultipleBarcodeReader<T> {
const MIN_DIMENSION_TO_RECUR: f32 = 2.0;
const MAX_DEPTH: u32 = 8;
const MIN_DIMENSION_TO_RECUR: f32 = 10.0;
const MAX_DEPTH: u32 = 4;

pub fn new(delegate: T) -> Self {
Self(delegate)
Expand Down

0 comments on commit 3c6c042

Please sign in to comment.