cvtColor static method

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

cvtColor function of Module: Color Space Conversions

Implementation

static Future<Uint8List?> cvtColor({
  CVPathFrom pathFrom = CVPathFrom.ASSETS,
  required String pathString,
  required int outputType,
}) async {
  final Uint8List? result = await CvtColorFactory.cvtColor(
    pathFrom: pathFrom,
    pathString: pathString,
    outputType: outputType,
  );

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