mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +00:00
Merge branch 'main' into pr/point_refactor
This commit is contained in:
@@ -78,8 +78,7 @@ pub fn detect_with_hints(
|
||||
for rotation in ROTATIONS {
|
||||
// for (int rotation : ROTATIONS) {
|
||||
let bitMatrix = applyRotation(originalMatrix, rotation)?;
|
||||
let barcodeCoordinates =
|
||||
detect(multiple, &bitMatrix).ok_or(Exceptions::NotFoundException(None))?;
|
||||
let barcodeCoordinates = detect(multiple, &bitMatrix).ok_or(Exceptions::notFound)?;
|
||||
if !barcodeCoordinates.is_empty() {
|
||||
return Ok(PDF417DetectorRXingResult::with_rotation(
|
||||
bitMatrix.into_owned(),
|
||||
|
||||
Reference in New Issue
Block a user