compareimage method
Implementation
compareimage(BuildContext context) async {
if (timer != null) {
timer!.cancel();
}
timer = Timer.periodic(
const Duration(milliseconds: 100),
(timer) => _incrementCount(),
);
showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) {
return Loading();
},
);
var result = await faceapi.comparefaceKyc(captureimage, bvnimage);
print("image compare result $result");
score = result;
postdetails(context);
}