FramePipelineConfig class

Comprehensive configuration for the frame processing pipeline.

Controls every stage of frame processing from capture through detection, with mode-specific overrides and quality gates.

Constructors

FramePipelineConfig({PreprocessingStrategy preprocessing = const PreprocessingStrategy(), QualityGateConfig qualityGate = const QualityGateConfig(), DetectionConfig detection = const DetectionConfig(), PostProcessingConfig postProcessing = const PostProcessingConfig(), ScanWindow? scanWindow, int maxFps = 15, bool skipStaticFrames = true, bool enableMultiPassOcr = true, bool enableBarcodeFallback = true})
const
FramePipelineConfig.forMode(ScanMode mode)
Creates a pipeline config optimized for the given scan mode.
factory

Properties

detection DetectionConfig
Detection backend configuration.
final
enableBarcodeFallback bool
Whether to enable barcode fallback decoder.
final
enableMultiPassOcr bool
Whether to enable multi-pass OCR.
final
hashCode int
The hash code for this object.
no setterinherited
maxFps int
Maximum frames per second to process.
final
postProcessing PostProcessingConfig
Post-processing configuration.
final
preprocessing PreprocessingStrategy
Preprocessing strategy to apply.
final
qualityGate QualityGateConfig
Quality gates that frames must pass before detection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanWindow ScanWindow?
Scan window (ROI) configuration.
final
skipStaticFrames bool
Whether to skip static (unchanged) frames.
final

Methods

copyWith({PreprocessingStrategy? preprocessing, QualityGateConfig? qualityGate, DetectionConfig? detection, PostProcessingConfig? postProcessing, ScanWindow? scanWindow, int? maxFps, bool? skipStaticFrames, bool? enableMultiPassOcr, bool? enableBarcodeFallback}) FramePipelineConfig
Creates a copy with overridden fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited