mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
all tests but 7 (SA) and inverted pass
This commit is contained in:
@@ -180,7 +180,7 @@ impl MultiUseMultiFormatReader {
|
||||
let a = self.qr_code_reader.decode_with_hints(image, &self.hints);
|
||||
if a.is_ok() {
|
||||
a
|
||||
}else {
|
||||
} else {
|
||||
self.cpp_qrcode_reader.decode_with_hints(image, &self.hints)
|
||||
}
|
||||
}
|
||||
@@ -214,10 +214,12 @@ impl MultiUseMultiFormatReader {
|
||||
return Ok(res);
|
||||
}
|
||||
}
|
||||
|
||||
if let Ok(res) = self.qr_code_reader.decode_with_hints(image, &self.hints) {
|
||||
return Ok(res);
|
||||
}
|
||||
if let Ok(res) = self.cpp_qrcode_reader.decode_with_hints(image, &self.hints) {
|
||||
return Ok(res);
|
||||
}
|
||||
if let Ok(res) = self
|
||||
.data_matrix_reader
|
||||
.decode_with_hints(image, &self.hints)
|
||||
|
||||
Reference in New Issue
Block a user