mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
still working on tests
This commit is contained in:
@@ -183,6 +183,15 @@ impl Reader for QrReader {
|
||||
}
|
||||
}
|
||||
|
||||
if detectorResult.is_err() {
|
||||
for decode_function in [DetectPureQR, DetectPureMQR] {
|
||||
detectorResult = decode_function(binImg);
|
||||
if detectorResult.is_ok() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let detectorResult = detectorResult?;
|
||||
|
||||
// let detectorResult: DetectorResult;
|
||||
|
||||
Reference in New Issue
Block a user