I'm actually testing your DataMatrix Engine.
Based on scanned 300dpi multipage PDF Files I do a search on every whole page (no zonal reading).
In about 98% of all readings the code is successful. But on some of the pages it fails.
I tried to work with the rendering resolution 72, 200 and in a second try it works. Changing from 72 to 200 and vice versa.
Do you have any idea what's the reason for this behaviour? Shall I render each page twice which is not readable with 72 DPI?
The barcode is created by ID Automation's DataMatrix encoder and should be ok.
Here how my/your cod looks like. Most of them is from your example.
Code: Select all
PageCount = oPDF.GetPageCount
For i = 1 To PageCount
oPDF.SelectPage(i) 'Selecting page
m_ImageID = oPDF.RenderPageToGdPictureImage(72, False)
Application.DoEvents()
If m_ImageID <> 0 Then
oGdPictureImaging.BarcodeDataMatrixReaderDoScan(m_ImageID)
bcfound = oGdPictureImaging.BarcodeDataMatrixReaderGetBarcodeCount
oGdPictureImaging.ReleaseGdPictureImage(m_ImageID)
If bcfound > 0 Then
For j = 1 To oGdPictureImaging.BarcodeDataMatrixReaderGetBarcodeCount
BCWert = oGdPictureImaging.BarcodeDataMatrixReaderGetBarcodeValue(j).ToString
Next
If you need some example of Documents I can only provide you with separator pages to your e-mail adress because those testfiles I'm using are confidential (with customer name on it)
Anyway, compliment for your .Net suite (ultimate) which I gona buy. I work as a professional on data capturing projects and I am impressed about the functionality and the fast processing of your suite.
The reason why I need to create my own program is because Abbyy's recognition Server does have massive problems with their 2d barcode engine. maybe you can help them out of their mess....
Kind regards
Beat