splitComparedFaces method

Future<ComparedFacesSplit> splitComparedFaces(
  1. List<ComparedFacesPair> facesPairs,
  2. double similarityThreshold
)

Implementation

Future<ComparedFacesSplit> splitComparedFaces(
  List<ComparedFacesPair> facesPairs,
  double similarityThreshold,
) async {
  var response = await _bridge.invokeMethod("splitComparedFaces", [
    facesPairs.map((e) => e.toJson()).toList(),
    similarityThreshold,
  ]);
  return ComparedFacesSplit.fromJson(_decode(response))!;
}