Sign In  Sign Up Live-Chat

barcode not recognized

Last post 05-29-2008, 3:57 PM by saqib.razzaq. 2 replies.
Sort Posts: Previous Next
  •  05-29-2008, 9:53 AM 129240

    barcode not recognized

    Hi,

    I have an application using the barcode reader that reads a coversheet from a tif file.  The coversheet image contains three barcodes.  I have an example of a tif image where the barcode reader does not read the second barcode.  Can I upload this image file, it's only one page, for you to look at and see if you can tell why the barcode reader skips it?

    Jim

     
  •  05-29-2008, 10:25 AM 129248 in reply to 129240

    Re: barcode not recognized

    Attachment: Present (inaccessible)

    Hi,

    Looking at other posts, it seems you accept attachments, so here is the image file and code.  I am using version 2.5.1.0

     

    private void ReadImageInfo(Image pImage)

    {

    // read all the barcodes and store results in the arraylist

    BarCodeReader barcodeReader = new BarCodeReader((Bitmap)pImage);

    barcodeReader.SymbologyType = Symbology.Code39Extended;

    barcodeReader.Orientation = (Orientations)(-1); // all directions

    BarCodeInfo[] infos;

    infos = barcodeReader.Read();

    foreach (BarCodeInfo info in infos)

    {

    mFileBarCodes.Add(info.CodeText);

    }

    }

     

     

     
  •  05-29-2008, 3:57 PM 129285 in reply to 129248

    Re: barcode not recognized

    Hi,

    Sorry for the inconvenience. We are looking into this issue.

    As a workaround, try to run the code after commenting/removing the line where you set the Symbology. It should be able to detect all 3 barcodes this way.

    // barcodeReader.SymbologyType = Symbology.Code39Extended;


    Best Regards,

    Saqib Razzaq
    Support Developer
    Aspose Guangzhou Team

     
View as RSS news feed in XML