mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 15:30:40 +00:00
[mob] Fix bug
This commit is contained in:
parent
96a9782937
commit
885aac832f
@ -288,8 +288,8 @@ Future<MLResult> analyzeImageStatic(Map args) async {
|
|||||||
faceEmbeddingAddress,
|
faceEmbeddingAddress,
|
||||||
);
|
);
|
||||||
if (resultFaces.isEmpty) {
|
if (resultFaces.isEmpty) {
|
||||||
return result..noFaceDetected();
|
result.faces = <FaceResult>[];
|
||||||
}
|
} else {
|
||||||
result.faces = resultFaces;
|
result.faces = resultFaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user