Open sivasankarp01 opened 7 months ago
Your TryCatch block won't catch native exceptions. Try runZoneGuarded to see what is the problem:
runZonedGuarded<Future<void>>(() async {
if (pickedFile != null && pickedFile.path.isNotEmpty) {
final List<Face> faces = await _faceDetector.processImage(inputImage);
if (faces.length == 1 && faces[0].trackingId != null) {}
}
}, (error, stack) => print(error));
I had the same problem with text recognition on iOS. I tried to runZoneGuarded but did not get any information from there. Are there other ways to debug this?
I had the same problem with text recognition on iOS, too
P.S : I have tried on iphone 7, now, changed device to iphone 13 and have updated lates version, everything works okay
I had the same problem with text recognition on iOS, too
P.S : I have tried on iphone 7, now, changed device to iphone 13 and have updated lates version, everything works okay
What abt Android??
Future detectFaces(InputImage inputImage, pickedFile) async {
try {
final List faces = await _faceDetector.processImage(inputImage);
this process image function causing this issue
While uploading some high quality images it crashes the app , i tried try catch also but its keep crashing my app.
Any solutions for this ?????