Table of Contents

Class BarcodeReaderSettings

Namespace
VisioForge.Core.Types.VideoProcessing
Assembly
VisioForge.Core.dll

Provides configuration settings for barcode detection in video frames during video processing operations.

public class BarcodeReaderSettings

Inheritance

Inherited Members

Examples

// Configure barcode reader to detect QR codes
var barcodeSettings = new BarcodeReaderSettings
{
    Enabled = true,
    Type = BarcodeType.QR
};

// Apply settings to video processor
videoProcessor.BarcodeReaderSettings = barcodeSettings;

// Configure for automatic detection of all barcode types
var autoDetectSettings = new BarcodeReaderSettings
{
    Enabled = true,
    Type = BarcodeType.Auto
};

Remarks

The VisioForge.Core.Types.VideoProcessing.BarcodeReaderSettings class is used to configure barcode detection functionality within the video processing pipeline. It allows enabling or disabling barcode detection and specifying the type of barcodes to detect.

When barcode detection is enabled, the video processor analyzes each frame to identify and decode barcodes of the specified type. This is useful for applications such as: - Inventory management systems with video surveillance - QR code-based authentication systems - Automated product scanning in manufacturing - Document processing with embedded barcodes

Performance considerations: - Barcode detection adds computational overhead to video processing - Specifying a specific barcode type (rather than Auto) improves performance - Detection accuracy depends on video quality, barcode size, and lighting conditions

Properties

Enabled

Gets or sets a value indicating whether barcode detection is enabled during video processing.

public bool Enabled { get; set; }

Property Value

bool

Remarks

When enabled, the video processor will analyze frames for barcodes of the specified type. Disabling barcode detection when not needed improves video processing performance.

Type

Gets or sets the type of barcode to detect in video frames.

public BarcodeType Type { get; set; }

Property Value

BarcodeType

Remarks

Specifying a particular barcode type improves detection performance as the processor only needs to look for that specific symbology. Using VisioForge.Core.Types.VideoProcessing.BarcodeType.Auto will attempt to detect all supported barcode types but requires more processing time.

Common use cases for specific barcode types: - VisioForge.Core.Types.VideoProcessing.BarcodeType.QR: Mobile applications, URLs, digital payments - VisioForge.Core.Types.VideoProcessing.BarcodeType.EAN13: Retail products (European Article Number) - VisioForge.Core.Types.VideoProcessing.BarcodeType.UPCA: Retail products (Universal Product Code) - VisioForge.Core.Types.VideoProcessing.BarcodeType.Code128: Shipping labels, inventory tracking - VisioForge.Core.Types.VideoProcessing.BarcodeType.DataMatrix: Small items, medical devices