mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
slight performance improvement, detector
This commit is contained in:
@@ -67,7 +67,7 @@ impl Reader for QRCodeReader {
|
||||
points = Vec::new();
|
||||
} else {
|
||||
let detectorRXingResult =
|
||||
Detector::new(image.getBlackMatrix().clone()).detect_with_hints(&hints)?;
|
||||
Detector::new(image.getBlackMatrix()).detect_with_hints(&hints)?;
|
||||
decoderRXingResult =
|
||||
decoder::decode_bitmatrix_with_hints(detectorRXingResult.getBits(), &hints)?;
|
||||
points = detectorRXingResult.getPoints().clone();
|
||||
|
||||
Reference in New Issue
Block a user