Hi,
I wonder if you can assist.
I’m using the Aspose barcode generator to create a document separation page that we use to separate batches of documents (as per attached samples).
Once scanned I use the Aspose barcode reader to detect the separation pages and split the documents into logical batches.
I’m not getting such a great detection rate on the barcodes and documents are subsequently not getting split correctly. Of the attached samples, only 1 is being detected.
Document1.tif (300dpi) - The reader only detects the barcode in this document.
Document2.tif (200dpi) - Cannot detect
Document3.tif (300dpi) - Cannot detect
Do you have any suggestions on what size/type of barcode is best to achieve this?
I’m using the following code to create the barcode;
Dim bb As Aspose.BarCode.BarCodeBuilder = New Aspose.BarCode.BarCodeBuilder
'Set the Code text for the barcode
bb.CodeText = “DOCSEP”
'Set the symbology type to Code39Standard
bb.SymbologyType = Aspose.BarCode.Symbology.Code128
'Set the width of the bars to 1 millimeter
bb.xDimension = 1.0F
bb.CaptionAbove.Text = “Metrofile Document Seperator”
bb.CaptionBelow.Text = bb.CodeText
bb.ImageQuality = 100
'Save the image to your system and set its image format to Jpeg
bb.Save(“C:\barcode.jpg”, System.Drawing.Imaging.ImageFormat.Jpeg)
and the following code to read the scanned page
reader = New BarCodeReader(tempPath & “TEMP.TIF”, BarCodeReadType.Code128)
Try
Do While reader.Read()
If reader.GetCodeText().ToString.ToLower = “DOCSEP” Then
'Do my processing here
End If
Loop
Catch ex As Exception
MsgBox("Err: " & ex.Message, MsgBoxStyle.Critical)
End Try
reader.Close()
Also, on a side note. How do I remove the “ASPOSE” on the top left of the barcode?
Thanks in advance
Wayne