YOLOStreamingConfig constructor
const
YOLOStreamingConfig({
- bool includeDetections = true,
- bool includeClassifications = true,
- bool includeProcessingTimeMs = true,
- bool includeFps = true,
- bool includeMasks = false,
- bool includePoses = false,
- bool includeOBB = false,
- bool includeOriginalImage = false,
- int? maxFPS,
- Duration? throttleInterval,
- int? inferenceFrequency,
- int? skipFrames,
Creates a YOLOStreamingConfig with custom settings.
This constructor allows full customization of streaming behavior. Defaults are optimized for high-speed operation with minimal data.
Implementation
const YOLOStreamingConfig({
this.includeDetections = true,
this.includeClassifications = true,
this.includeProcessingTimeMs = true,
this.includeFps = true,
this.includeMasks = false, // Changed to false for performance
this.includePoses = false, // Changed to false for performance
this.includeOBB = false, // Changed to false for performance
this.includeOriginalImage = false,
this.maxFPS,
this.throttleInterval,
this.inferenceFrequency,
this.skipFrames,
});