refactor
This commit is contained in:
parent
4b6ecbdd30
commit
cbf2a77d5b
|
@ -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 ||
|
||||
|
|
Loading…
Reference in a new issue