Skip to content

Commit

Permalink
Pharma code seems to have false detections
Browse files Browse the repository at this point in the history
Leaving it out of the predefined "All" and "TwoDimensional" groups so that it doesn't interfere with most (you can still use it explicitly)
  • Loading branch information
Redth committed Aug 30, 2022
1 parent 8db0e5f commit e341d1a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ZXing.Net.MAUI/BarcodeFormats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ internal static IList<ZXing.BarcodeFormat> ToZXingList(this BarcodeFormat format
| BarcodeFormat.UpcEanExtension
| BarcodeFormat.Msi
| BarcodeFormat.Plessey
| BarcodeFormat.Imb
| BarcodeFormat.PharmaCode;
| BarcodeFormat.Imb;
// Seems to have a lot of false positives, so leave it out of this group
//| BarcodeFormat.PharmaCode;

public static BarcodeFormat All =>
BarcodeFormat.Aztec
Expand All @@ -69,7 +70,8 @@ internal static IList<ZXing.BarcodeFormat> ToZXingList(this BarcodeFormat format
| BarcodeFormat.UpcEanExtension
| BarcodeFormat.Msi
| BarcodeFormat.Plessey
| BarcodeFormat.Imb
| BarcodeFormat.PharmaCode;
}
| BarcodeFormat.Imb;
// Seems to have a lot of false positives, so leave it out of this group
//| BarcodeFormat.PharmaCode;
}
}

0 comments on commit e341d1a

Please sign in to comment.