mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-25 20:02:34 +00:00
perf: reduce multi barcode scan depth
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user