Commit Graph

2493 Commits

Author SHA1 Message Date
Laurens Priem
b9dd0bc3b7 ONNX changes (#3654)
## Description

- Quantized the CLIP text encoder
- Moved preprocessing and postprocessing of face detection inside the
model
- Optimised the ONNX models more wherever possible
- Created a place in infra for ML version control of sorts

## Tests

Have tested the changes on mobile, but not on desktop. Please carefully
review the changes on desktop, especially regarding the face detection
post-processing, more specifically the image (re-)size correction.
2024-10-11 10:02:11 +05:30
Neeraj Gupta
cbbaecb2a2 [mobile] New translations (#3598)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-11 02:21:59 +05:30
laurenspriem
1cdc7aa594 [mob][photos] Decode heic using flutter compress 2024-10-10 18:45:05 +05:30
ashilkn
ca5ac8da6b [mob][photos] Run flutter pub upgrade 2024-10-08 14:12:54 +05:30
ashilkn
978f82c809 [mob][photos] Bump up version to v0.9.47 2024-10-08 14:12:34 +05:30
ashilkn
bc84ea7529 [mob][photos] bump up photo_manager version in pubspec.yaml. Note: the version is already 3.5.0 in pubspec.lock, just updating it in pubspec.yaml 2024-10-08 14:12:02 +05:30
Vishnu Mohandas
157cefd657 Update intl_en.arb 2024-10-07 17:15:20 +05:30
Crowdin Bot
0d4d39a959 New Crowdin translations by GitHub Action 2024-10-07 01:05:09 +00:00
ashilkn
1942239989 [mob][photos] Replace deprecated memebers with replacements 2024-10-04 19:21:02 +05:30
ashilkn
7ff420a82e [mob][photos] Fix build failing with xcode 16 update 2024-10-04 19:15:38 +05:30
ashilkn
bd5e53b83d [mob][photos] log number of row in filesDB for debugging perf issues 2024-10-03 17:06:31 +05:30
Neeraj Gupta
2f2fc43fa6 [mobile] New translations (#3533)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-09-30 12:08:22 +05:30
Ashil
093d7fd333 [mob][photos] Remove legacy code in detail page (#3496)
## Description

Removed use of `asyncLoader` in `DetailPage` and instead, all files in
gallery is now stored in an inherited widget (`GalleryFilesState`) and
`DetailPage` uses that list of files instead of fetching from DB using
`asyncLoader`. This 'all files' list reflects all changes in gallery (as
observed when testing) so there is no issue of the list being out of
sync with gallery.

Where ever possible, `GalleryFilesState` has been wrapped around the
`Scaffold` of galleries, so that all files are accessible to all
ancestors of a gallery's `Scaffold`, which could come useful in the
future.
2024-09-30 11:57:48 +05:30
Crowdin Bot
9bc3926372 New Crowdin translations by GitHub Action 2024-09-30 01:04:58 +00:00
Neeraj Gupta
00e75c0fb2 [mob] Lint 2024-09-29 09:54:20 +05:30
Neeraj Gupta
026ab8dcc6 [mob] Bump version: v0.9.46 2024-09-29 09:53:15 +05:30
Neeraj Gupta
a5d01a9ffe [mob] Fix avatar faceID 2024-09-29 09:52:41 +05:30
Neeraj Gupta
675b7f6cea [mob] Sync cgroup as part of ML 2024-09-29 09:45:48 +05:30
Neeraj Gupta
772373580a [mob] Stop consuming errors for trash 2024-09-29 09:42:25 +05:30
Neeraj Gupta
f0a19e38aa [mob] Fix hide cluster property 2024-09-29 09:41:35 +05:30
Neeraj Gupta
8629212584 [mob] Allow video upload with empty thumbnail 2024-09-28 14:18:21 +05:30
Neeraj Gupta
08cf14a72b [mob] Minor improvement in magicSearch cache refresh 2024-09-28 14:14:08 +05:30
ashilkn
2d7e58d743 [mob][photos] Stop passing to GalleryFileWidget as it's no longer needed 2024-09-27 18:41:12 +05:30
ashilkn
fa3a9f4f52 [mob][photos] Stop passing sort order to DetailPage since DetailPage uses files in GalleryFilesState which updates when sort order changes in gallery 2024-09-27 18:41:12 +05:30
ashilkn
0dcc840179 [mob][photos] Remove commented out code 2024-09-27 18:41:12 +05:30
ashilkn
58384004b4 [mob][photos] Minor perf improvement when deleting in DetailPage 2024-09-27 18:41:12 +05:30
ashilkn
3361c1f149 [mob][photos] Stop using async loader in details page. Instead use the list of files in gallery from the GalleryState inherited widget 2024-09-27 18:41:12 +05:30
ashilkn
c7a4cbc365 [mob][photos] Create new inheirted widget to store all files in gallery and throw exception/assert to make sure it's never used incorrectly 2024-09-27 18:41:12 +05:30
ashilkn
de9c294977 [mob][photos] Document use of isSelectionMode in Gallery widget 2024-09-27 18:40:21 +05:30
Neeraj Gupta
57a425e14c [mob] Run discovery forcefully when ml is toggled 2024-09-26 17:13:29 +05:30
Laurens Priem
7b2206161e Clip with preprocessing inside ONNX on mobile (#3467)
## Description

Switched to new clip ONNX model on mobile, where preprocessing is done
inside ORT. This means it's more performant and more advanced image
processing.

## Tests

Tested in debug mode on my Pixel 8.
2024-09-26 05:44:19 +05:30
laurenspriem
fa19254bbc [mob][photos remove old clip preprocessing code 2024-09-25 23:04:29 +05:30
laurenspriem
70476b2011 [mob][photos] Remove todo 2024-09-25 23:00:52 +05:30
laurenspriem
7dd9d8aef3 [mob][photos] new clip works 2024-09-25 22:58:23 +05:30
laurenspriem
53c19bc64e [mob][photos] Temp disable custom plugin 2024-09-25 14:40:40 +05:30
laurenspriem
bd232c151a [mob][photos] Test for iOS 2024-09-25 14:34:25 +05:30
Neeraj Gupta
bc7704916a [mob] Bump version 2024-09-25 06:34:44 +05:30
Neeraj Gupta
7ed620d817 [mob] Fix dedupe for live photos with different size 2024-09-25 06:34:19 +05:30
Neeraj Gupta
c036c8c7ba [mob] Bump version 2024-09-23 14:34:35 +05:30
Neeraj Gupta
6464bf172f refactor 2024-09-23 14:30:40 +05:30
Neeraj Gupta
46e6af660e [mob] Log to match count for magicSearch 2024-09-23 14:29:02 +05:30
Neeraj Gupta
b18d987ba2 [mob] Upgrade discover results more frequently 2024-09-23 14:26:31 +05:30
Neeraj Gupta
ee1dbd7e84 Safe parse h/w from public magicMetadata 2024-09-23 11:42:15 +05:30
Crowdin Bot
7f0d028b55 New Crowdin translations by GitHub Action 2024-09-23 01:04:53 +00:00
Neeraj Gupta
31f210da31 [mob] Fix 2024-09-21 10:10:59 +05:30
Neeraj Gupta
e9b3e76b50 [mob] Bump version v0.9.43 2024-09-21 09:40:57 +05:30
Neeraj Gupta
fffebec025 [mob] Fix sub price order 2024-09-21 09:40:29 +05:30
Neeraj Gupta
803195afdd [mob] Fix lint 2024-09-21 09:17:24 +05:30
Neeraj Gupta
f8b77f71b5 [mob] Add is mounted check 2024-09-20 17:47:45 +05:30
Neeraj Gupta
94513e8c8e [mob] Compute relevant position for magic search 2024-09-20 17:38:01 +05:30