laplacian static method

Future<Uint8List?> laplacian({
  1. CVPathFrom pathFrom = CVPathFrom.ASSETS,
  2. required String pathString,
  3. required int depth,
})

laplacian function of Module: Image Filtering

Implementation

static Future<Uint8List?> laplacian({
  CVPathFrom pathFrom = CVPathFrom.ASSETS,
  required String pathString,
  required int depth,
}) async {
  /// Variable to store operation result
  final Uint8List? result = await LaplacianFactory.laplacian(
    pathFrom: pathFrom,
    pathString: pathString,
    depth: depth,
  );

  /// Function returns the response from method channel
  return result;
}