I checked the TIF image you sent and it was very noisy. I did some processing on it to remove the Dots in the image. After that, I was able to read the barcode successfully using our latest patches of LEADTOOLS v17.0.
Here is what I did:
1. Ran our C# main demo. You can find it under the name "CSMainDemo_Original.exe" in the following folder:
[LEADTOOLS 17 Folder]\Bin\Dotnet\Win32
2. From File menu, I selected Open. Then, I opened your TIF image.
3. From Image Menu, I selected Document sub-menu, then selected Dot Remove.
4. From the Dot Remove dialog, I set both Minimum width and Minimum height to "1", and then I pressed OK.
5. Saved the image as TIF 1-bit with CCITTG4 compression.
6. Ran our C# barcode demo. You can find it under the name "CSBarcodeDemo_Original.exe" in the following folder:
[LEADTOOLS 17 Folder]\Bin\Dotnet\Win32
7. From File menu, I selected Open. Then, I opened the new TIF image.
8. From Action menu, I selected Read.
9. From the Patch Code tab, I set the Direction to Vertical. Then, I pressed Read.
I am attaching the image after removing the dots. If you want to remove the dots programmatically, please see the help topic "DotRemoveCommand Class" in the LEADTOOLS .Net documentation.
Please try to do the above steps. If you face problems in any step, please open a support ticket, so I can give you the instructions to download the latest patches of LEADTOOLS v17.0. To do that, send an email to
support@leadtools.com and include the following information:
1. Your toolkit serial number (do NOT post it here).
2. A link to this forum post.