redactBytes method

Future<Uint8List> redactBytes({
  1. required Uint8List bytes,
  2. required List<Map<String, Object?>> detections,
  3. required String mode,
  4. required double intensity,
  5. String? outputFormat,
})

Redact the supplied image bytes against the given detection list. Mode strings: "blur", "pixelate", "blackBox". Default throws.

Implementation

Future<Uint8List> redactBytes({
  required Uint8List bytes,
  required List<Map<String, Object?>> detections,
  required String mode,
  required double intensity,
  String? outputFormat,
}) =>
    throw UnimplementedError(
        'redactBytes is not implemented by this platform');