still working on tests

This commit is contained in:
Henry Schimke
2023-04-17 16:47:57 -05:00
parent d5c4d4de78
commit d3ce9fcb90
7 changed files with 148 additions and 249 deletions

View File

@@ -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;