mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +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,
|
||||
);
|
||||
if (resultFaces.isEmpty) {
|
||||
return result..noFaceDetected();
|
||||
}
|
||||
result.faces = <FaceResult>[];
|
||||
} else {
|
||||
result.faces = resultFaces;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user