matchFaces1 method
dynamic
matchFaces1()
Implementation
matchFaces1() async {
if (mfImage1 == null || mfImage2 == null) {
// status = "Both images required!";
return;
}
// status = "Processing...";
var request = MatchFacesRequest([mfImage1!, mfImage2!]);
var response = await faceSdk.matchFaces(request);
var split = await faceSdk.splitComparedFaces(response.results, 0.75);
var match = split.matchedFaces;
if (match.isNotEmpty) {
// similarityStatus = (match[0].similarity * 100).toStringAsFixed(2) + "%";
}
// status = "Ready";
}