Skip to content

Commit

Permalink
Ml fixes (#1812)
Browse files Browse the repository at this point in the history
## Description

- Fixed some issues in face indexing
- Cleaned up some functions in FaceMlService
- Hooked iOS onto MLController for battery check, for faces and clip

## Tests

Tested on my Pixel phone only
  • Loading branch information
laurenspriem authored May 22, 2024
2 parents b00bffd + d477b55 commit 201286f
Show file tree
Hide file tree
Showing 8 changed files with 329 additions and 453 deletions.
2 changes: 0 additions & 2 deletions mobile/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ Future<void> _init(bool isBackground, {String via = ''}) async {
// unawaited(ObjectDetectionService.instance.init());
if (flagService.faceSearchEnabled) {
unawaited(FaceMlService.instance.init());
FaceMlService.instance.listenIndexOnDiffSync();
FaceMlService.instance.listenOnPeopleChangedSync();
} else {
if (LocalSettings.instance.isFaceIndexingEnabled) {
unawaited(LocalSettings.instance.toggleFaceIndexing());
Expand Down
Loading

0 comments on commit 201286f

Please sign in to comment.