mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
return a slice for RXingResultPoints
This commit is contained in:
@@ -78,7 +78,7 @@ impl Reader for DataMatrixReader {
|
||||
} else {
|
||||
let detectorRXingResult = Detector::new(image.getBlackMatrix())?.detect()?;
|
||||
decoderRXingResult = DECODER.decode(detectorRXingResult.getBits())?;
|
||||
points = detectorRXingResult.getPoints().clone();
|
||||
points = detectorRXingResult.getPoints().to_vec();
|
||||
}
|
||||
let mut result = RXingResult::new(
|
||||
decoderRXingResult.getText(),
|
||||
|
||||
Reference in New Issue
Block a user