I can’t seem to figure out why I can’t parse any of the 118 code 128 barcodes in the attached image. Is there something different I can do? Here is the c# code I am using to parse barcodes (Aspose.BarCode v7.9.0.0):
using (BarCodeReader asposeBarcodeReader = new BarCodeReader())
{
using (Bitmap image = (Bitmap)Image.FromFile(“example.png”))
{
asposeBarcodeReader.RecognitionMode = RecognitionMode.MaxBarCodes;
asposeBarcodeReader.SetBarCodeImage(image);
asposeBarcodeReader.SetBarCodeReadType(
BarCodeReadType.EAN13 |
BarCodeReadType.Code93Standard |
BarCodeReadType.Code93Extended |
BarCodeReadType.Code128);
while (asposeBarcodeReader.Read())
{
string value = asposeBarcodeReader.GetCodeText();
}
}
}
I had been using v7.8.0.0 and upgraded in hopes that it would fix it, but still the same result.