IsolateFrameResult constructor

const IsolateFrameResult({
  1. required Uint8List processedBytes,
  2. required double averageLuminosity,
  3. required int croppedWidth,
  4. required int croppedHeight,
  5. required bool isLowLight,
  6. double blurScore = 100.0,
  7. bool isBlurry = false,
  8. bool isMotionDetected = false,
  9. double motionScore = 0.0,
  10. bool isStaticFrame = false,
  11. int frameHash = 0,
  12. double contrastScore = 1.0,
  13. List<String> enhancementsApplied = const [],
})

Implementation

const IsolateFrameResult({
  required this.processedBytes,
  required this.averageLuminosity,
  required this.croppedWidth,
  required this.croppedHeight,
  required this.isLowLight,
  this.blurScore = 100.0,
  this.isBlurry = false,
  this.isMotionDetected = false,
  this.motionScore = 0.0,
  this.isStaticFrame = false,
  this.frameHash = 0,
  this.contrastScore = 1.0,
  this.enhancementsApplied = const [],
});