Enum BarcodeImageCorrection
Specify the amount of pre-processing to clean pixels in noisy input documents. Useful for scans and photographs that may have visual noise obstruction. Internally, this process aims to separate dark barcode pixels from background patterns in images.
Please understand that pre-processing is CPU-heavy and we recommend experimenting with different settings starting with the lowest settings first and gradually working up from there.
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public enum BarcodeImageCorrection
Fields
Name | Description |
---|---|
CleanNonBlackPixels | Alternative cleaning option. Barcode pixels area filtered to remove all pixels than are at not least 80% black. |
DeepCleanPixels | Heavy Processing is performed to attempt to clarify the barcode area and make it stand out more for the reader. This is a very CPU-intensive operation and may still not improve blurry barcodes or noisy images. Please consider using our filters: https://ironsoftware.com/csharp/ocr/tutorials/c-sharp-ocr-image-filters/ |
LightlyCleanPixels | Light Processing is performed to attempt to clarify the barcode area and make it stand out more for the reader. |
MediumCleanPixels | Medium Processing is performed to attempt to clarify the barcode area and make it stand out more for the reader. This is a CPU-intensive operation. We recommend experimenting with all levels of processing to ensure you are using the weakest one required to improve performance. |
None | No Processing (Default). Barcode images are not preprocessed at all. |