scharr static method
Future<Uint8List?>
scharr({
- CVPathFrom pathFrom = CVPathFrom.ASSETS,
- required String pathString,
- required int depth,
- required int dx,
- required int dy,
scharr function of Module: Image Filtering
Implementation
static Future<Uint8List?> scharr({
CVPathFrom pathFrom = CVPathFrom.ASSETS,
required String pathString,
required int depth,
required int dx,
required int dy,
}) async {
/// Variable to store operation result
final Uint8List? result = await ScharrFactory.scharr(
pathFrom: pathFrom,
pathString: pathString,
depth: depth,
dx: dx,
dy: dy,
);
/// Function returns the response from method channel
return result;
}