mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
return a slice for RXingResultPoints
This commit is contained in:
@@ -71,7 +71,7 @@ impl Reader for QRCodeReader {
|
||||
Detector::new(image.getBlackMatrix()).detect_with_hints(hints)?;
|
||||
decoderRXingResult =
|
||||
qrcode_decoder::decode_bitmatrix_with_hints(detectorRXingResult.getBits(), hints)?;
|
||||
points = detectorRXingResult.getPoints().clone();
|
||||
points = detectorRXingResult.getPoints().to_vec();
|
||||
}
|
||||
|
||||
// If the code was mirrored: swap the bottom-left and the top-right points.
|
||||
|
||||
Reference in New Issue
Block a user