I have a customer that is generating poor quality tif. The files show up as 1 bit BW, but have an error diffusion type dot pattern. What settings will give the most robust reading.
We place 4 barcodes with the same text on the page that is scanned.
Here is a code fragment showing the settings I am using.
-------------------
Dim aReaderSettings As New ReaderSettings
aReaderSettings.ScanBarcodeTypes = BarcodeType.Code39
aReaderSettings.RemovePeas = True
aReaderSettings.ThresholdMode = ThresholdMode.Manual
aReaderSettings.MaxBarcodes = 4
aReaderSettings.Threshold = 750 ' docs say 500 is default
aReaderSettings.ScanRectangle = New System.Drawing.Rectangle(0, 0, 0, 0)
aReaderSettings.ScanDirection = (ScanDirection.LeftToRight Or ScanDirection.TopToBottom Or ScanDirection.BottomToTop Or ScanDirection.RightToLeft)
aReaderSettings.MinConfidence = 0 ' 0 to 99
aReaderSettings.ThresholdIterations = 25
aBarcodeReader.Settings = aReaderSettings
barcodeResults = aBarcodeReader.ReadBarcodes(aSystemImage)
I take the highest confidence barcode that is returned. I can supply a problem file from this customer if it will help.
thanks.
Craig
Help with problem Tif?
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Help with problem Tif?
Hello Craig,
Please send the problem file to support@vintasoft.com and we will try to help you.
Best regards, Alexander
Please send the problem file to support@vintasoft.com and we will try to help you.
Best regards, Alexander