wip: inop dx_film_edge port and filtered reader

This commit is contained in:
Henry Schimke
2024-01-30 13:19:53 -06:00
parent 9e684b2b66
commit d508253aa9
23 changed files with 421 additions and 36 deletions

View File

@@ -119,6 +119,7 @@ impl Display for BarcodeFormat {
BarcodeFormat::UPC_A => "upc a",
BarcodeFormat::UPC_E => "upc e",
BarcodeFormat::UPC_EAN_EXTENSION => "upc/ean extension",
BarcodeFormat::DXFilmEdge => "DXFilmEdge",
_ => "unsuported",
}
)
@@ -166,6 +167,7 @@ impl From<&str> for BarcodeFormat {
"upc e" | "upc_e" | "upce" => BarcodeFormat::UPC_E,
"upc ean extension" | "upc extension" | "ean extension" | "upc/ean extension"
| "upc_ean_extension" => BarcodeFormat::UPC_EAN_EXTENSION,
"DXFilmEdge" | "dxfilmedge" | "dx film edge" => BarcodeFormat::DXFilmEdge,
_ => BarcodeFormat::UNSUPORTED_FORMAT,
}
}