Different result in barcode reading

Discussions about 1D barcode reading and writing
Post Reply
Posts: 15
Joined: Thu Dec 08, 2011 3:52 pm

Different result in barcode reading

Post by maxvalt » Sun May 10, 2015 12:07 am

I need to read a barcode in pdf file. I use the project sample Barcode Recognition - 1D and I read the coordinate of barcode.
In a second project use the coordinate to read a bar.code but I cannot read it.

I use this code :

Code: Select all

            dim SinglePDF as string = "c:\myPDFile"
            If oGdPictureImaging.GetDocumentFormatFromFile(SinglePDF) = DocumentFormat.DocumentFormatPDF Then
                Dim oPDF As GdPicturePDF = New GdPicturePDF
                If oPDF.LoadFromFile(SinglePDF, False) = GdPictureStatus.OK Then
                    m_ImageID = oPDF.RenderPageToGdPictureImage(200, True)
                End If
                m_ImageID = oGdPictureImaging.CreateGdPictureImageFromFile(SinglePDF)
            End If
           Call oGdPictureImaging.SetROI(LeftAreaROI, TopAreaROI, WidthAreaROI, HeightAreaROI)
          If oGdPictureImaging.GetStat = GdPictureStatus.OK Then
            bcfound = oGdPictureImaging.Barcode1DReaderGetBarcodeCount
in bcfound I have always zero .
Can you help me ?
I use the 8.5 net version.

User avatar
Site Admin
Posts: 5656
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Different result in barcode reading

Post by Loïc » Sun May 10, 2015 1:21 pm

Hello Massimo,

You should try with the latest major release. The version 8 has been discontinued since years and latest version come with lot of improvements in barcode detection accuracy.

Thank you for your understanding.

With best regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest