port test

This commit is contained in:
Henry Schimke
2022-12-26 13:35:25 -06:00
parent 07e8aa2971
commit b0cd7f20f4
3 changed files with 70 additions and 71 deletions

View File

@@ -83,7 +83,17 @@ impl MultipleBarcodeReader for PDF417Reader {
}
}
impl Default for PDF417Reader {
fn default() -> Self {
Self {}
}
}
impl PDF417Reader {
pub fn new() -> Self {
Self::default()
}
fn decode(
image: &BinaryBitmap,
hints: &DecodingHintDictionary,