Search Results for

    Show / Hide Table of Contents

    Class BarcodeReaderOptions

    An Options class of BarcodeReader for reading many popular barcode formats from Images and PDFs.

    Inheritance
    System.Object
    BarcodeReaderOptions
    PdfBarcodeReaderOptions
    Namespace: IronBarCode
    Assembly: IronBarCode.dll
    Syntax
    public class BarcodeReaderOptions : Object

    Constructors

    BarcodeReaderOptions()

    Initializes a new instance of the BarcodeReader class.

    Declaration
    public BarcodeReaderOptions()

    Properties

    AutoRotate

    Toggle whether to automatically rotate barcodes or not in an ML detection. Default = true.

    Declaration
    public bool AutoRotate { get; set; }
    Property Value
    Type Description
    System.Boolean

    ConfidenceThreshold

    Minimum confidence level for ML model detection to be considered valid. The value is between (0.0, 1.0). Default value is 0.7

    Declaration
    public double ConfidenceThreshold { get; set; }
    Property Value
    Type Description
    System.Double

    CropArea

    The area of each image frame in which to scan for barcodes. A IronSoftware.Drawing.Rectangle measured in pixels.

    Declaration
    public Rectangle CropArea { get; set; }
    Property Value
    Type Description
    IronSoftware.Drawing.Rectangle

    ExpectBarcodeTypes

    The barcode encoding types to read from the InputImage. By default all supported barcodes types are scanned for.

    Declaration
    public BarcodeEncoding ExpectBarcodeTypes { get; set; }
    Property Value
    Type Description
    BarcodeEncoding

    ExpectMultipleBarcodes

    If set to false the barcode reader will stop scanning a given image once a barcode has been found to increase performance. Default = true.

    Declaration
    public bool ExpectMultipleBarcodes { get; set; }
    Property Value
    Type Description
    System.Boolean

    ImageFilters

    A collection of image filters for image pre-processing.

    Declaration
    public ImageFilterCollection ImageFilters { get; set; }
    Property Value
    Type Description
    ImageFilterCollection

    MaxParallelThreads

    Max Threads for parallel. Default 4

    Declaration
    public int MaxParallelThreads { get; set; }
    Property Value
    Type Description
    System.Int32

    Multithreaded

    Reads barcodes from multiple images in parallel. Multiple threads will automatically be started and managed to improve performance for batch barcode reading tasks.

    Declaration
    public bool Multithreaded { get; set; }
    Property Value
    Type Description
    System.Boolean

    RemoveFalsePositive

    Attempt to remove false positive barcode reads. This can be disabled to improve performance at the cost of accuracy. Default = true.

    Declaration
    public bool RemoveFalsePositive { get; set; }
    Property Value
    Type Description
    System.Boolean

    ScanMode

    Define how IronBarcode scans and detects barcodes in an image to read.

    Declaration
    public BarcodeScanMode ScanMode { get; set; }
    Property Value
    Type Description
    BarcodeScanMode

    Speed

    Barcode reading speed. Default = Balanced.

    Declaration
    public ReadingSpeed Speed { get; set; }
    Property Value
    Type Description
    ReadingSpeed

    UseCode39ExtendedMode

    If a Code39 barcode is detected, use the extended mode for the full ASCII character set.

    Declaration
    public bool UseCode39ExtendedMode { get; set; }
    Property Value
    Type Description
    System.Boolean
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronBarcode to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronBarcode free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.