Enum ComplexBackgroundMode

ComplexBackgroundMode enumeration

Mode which enables or disables additional recognition of color barcodes on color images.

public enum ComplexBackgroundMode

Values

NameValueDescription
Auto0At this time the same as Disabled. Disables additional recognition of color barcodes on color images.
Disabled1Disables additional recognition of color barcodes on color images.
Enabled2Enables additional recognition of color barcodes on color images.

Examples

This sample shows how to use ComplexBackground mode

[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Extended, DecodeType.Code128))
{
    reader.QualitySettings.ComplexBackground = ComplexBackgroundMode.Enabled;
    foreach (BarCodeResult result in reader.ReadBarCodes())
        Console.WriteLine(result.CodeText);
}

See Also