This commit is contained in:
Neeraj Gupta 2024-04-30 11:06:41 +05:30
parent 4b6ecbdd30
commit cbf2a77d5b

View file

@ -620,14 +620,7 @@ class FaceMlService {
'No faces detected for file with name:${enteFile.displayName}',
);
faces.add(
Face(
'${result.fileId}-0',
result.fileId,
<double>[],
result.errorOccured ? -1.0 : 0.0,
face_detection.Detection.empty(),
0.0,
),
Face.empty(result.fileId, error: result.errorOccured),
);
} else {
if (result.decodedImageSize.width == -1 ||