After you give this command, the UPC-E barcode scanner will decode & output all UPC-E barcodes in sample image file "upce-csharp.gif".
How to Accelerate UPC-E Barcode Reading Speed in C#.NET Applications
There are two ways to accelerate UPC-E barcode recognition rate in C#.NET applications.
1. Set maxOneBarcodePerPage to true when you are scanning a maximum barcode
Then the .NET barcode scanner will stop reading once it detects an UPC-E barcode. Otherwise, the reader will use total 5 algorithms and each will scan the whole source file from 4 directions.
2. Locate the barcode region when you are reading an UPC-E barcode from a large-size image file
Then the .NET barcode scanner will just read the fixed area, instead of scanning the total image file. The way to locate the barcode region will be achieved in the form of coordinates. So if you want to locate the top 20% & bottom 20% area, you should express this area with four points(0%,0 %), (100%,20%), (0%,80%) and (100%,100%).
Note: the most left top point is (0%, 0%), and most right bottom point is (100%, 100%). The point X, Y values are expressed in percentage of the whole image.
The following are sample C# codes to scan the top 20% & bottom 20% area of the image source.
OptimizeSetting setting = new OptimizeSetting();
ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));
ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));
List<ScanArea> areas = new List<ScanArea>(); areas.Add(top20); areas.Add(bottom20);