Commit graph

89 commits

Author SHA1 Message Date
Neeraj Gupta fb3a77bf94 Merge branch 'main' of https://github.com/ente-io/auth into mobile_face 2024-04-03 13:57:39 +05:30
Neeraj Gupta a8b154b46e Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 17:39:19 +05:30
Neeraj Gupta 172678dc42 [mob] Lint fixes 2024-04-02 17:39:03 +05:30
laurenspriem 8fefc22180 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-02 17:30:50 +05:30
Neeraj Gupta 8e6617eed5 [mob] Speed up cluster avg calculation 2024-04-02 17:29:20 +05:30
Neeraj Gupta faa07a0704 [mob] compute suggestion in small batches 2024-04-02 16:56:55 +05:30
laurenspriem 57fec06d73 [mob] Bump minimum face score for clustering to 0.8 2024-04-02 16:44:34 +05:30
Neeraj Gupta e2ed836b16 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 14:07:18 +05:30
Neeraj Gupta bdb7ce2f03 [mob] Store image height and width 2024-04-02 14:07:02 +05:30
laurenspriem 255b566342 View faces with highest distance in cluster suggestion 2024-04-02 13:46:42 +05:30
Neeraj Gupta 226808aadb [mob] Use vector for cosine dist 2024-04-02 11:53:40 +05:30
ashilkn bc0a453cbc Merge branch 'main' into prepare_for_release_v0.8.73 2024-04-01 18:41:24 +05:30
ashilkn 166e9ad1bf Update change log 2024-04-01 18:41:21 +05:30
Vishnu Mohandas 769da989c4
[mobile][photos] Do not upload files if ACCESS_MEDIA_LOCATION is not granted (#1275)
## Tests

Tested with and without granting `ACCESS_MEDIA_LOCATION`.
2024-04-01 18:28:37 +05:30
Neeraj Gupta 51b51ff2b1 [mob] Use separate table for storing clusters 2024-04-01 17:34:35 +05:30
Ashil f8febe12df
[mobile][photos] Reupload files with missing GPS data (#1263)
## Description

- Fixes corrupt files (missing GPS data) that were uploaded due to [this
issue](https://github.com/ente-io/ente/pull/1261)
- Refactor

## Tests

Tested and working
- Uploaded two file from a build that has missing permission for
`ACCESS_MEDIA_LOCATION` and GPS data is missing.
- Created a new build with changes in this PR.
- Deleted the file from device. 
- Remote file has GPS data when checked from file info.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-01 16:41:33 +05:30
ashilkn 7b94c32bbf Do not upload files if ACCESS_MEDIA_LOCATION is not granted 2024-04-01 15:51:13 +05:30
Neeraj Gupta baec7a2af8 [mob] Remove unused column from facesTable 2024-04-01 15:49:15 +05:30
Neeraj Gupta 5b339fc30e Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-01 15:37:41 +05:30
laurenspriem 1af3d2d2db [mob] Big cleanup of old code 2024-04-01 15:34:45 +05:30
Neeraj Gupta a75c440dc2 [mob] sync person entity type 2024-04-01 15:10:19 +05:30
Neeraj Gupta 548721e415
[mob]Ignore souceFileMissing error for iOS (#1273)
## Description

## Tests
2024-04-01 14:32:18 +05:30
laurenspriem 768fa3d1ce [mob][wip] remove from cluster feedback 2024-03-30 18:35:46 +05:30
Ashil 7950f1ec26
[mobile][photos] Explicitly ask for media location (#1261)
## Description

On bumping up photo_manager version, it introduced a breaking change
where we need to explicitly ask for ACCESS_MEDIA_LOCATION permission.

## Tests

Tested on android 13 and 14 devices.
2024-03-30 16:48:15 +05:30
laurenspriem 7f66bd2ed0 [mob] constant increments in bucket clustering 2024-03-30 15:17:26 +05:30
laurenspriem f5ea834fad [mob] delete old file 2024-03-30 14:41:15 +05:30
Prateek Sunal d92fd25a78 fix: home widget count function 2024-03-29 19:46:13 +05:30
laurenspriem aa79c4ee24 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-29 18:27:32 +05:30
laurenspriem 8c6bb30578 Change faceID generation 2024-03-29 18:26:28 +05:30
laurenspriem b56b0c47d0 Show debug info for cluster suggestions 2024-03-29 17:26:58 +05:30
Neeraj Gupta 44a5b97de1 [mob] Storge cluster summary in batches 2024-03-29 15:39:12 +05:30
Neeraj Gupta ab875ea9a9 [mob] Use epochTime as clusterID 2024-03-29 14:33:11 +05:30
Neeraj Gupta 6c287775d4 [mob] Add logs for cluster feedback suggestions 2024-03-28 16:25:09 +05:30
Neeraj Gupta 9aafe137a1 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-03-28 16:13:25 +05:30
Neeraj Gupta d6db3de6b1 [mob] Log time to fetch in debugMode 2024-03-28 13:40:15 +05:30
Neeraj Gupta 03e5f06bf2 [mob][face] Add delay before starting faceIndexing 2024-03-28 13:27:16 +05:30
Neeraj Gupta aa58989299 [mob] Remove commented out code 2024-03-28 13:23:39 +05:30
Ashil 79f7fb9ad9
[mobile][photos] Update change log for v0.8.72 release (#1225)
## Description

![72 change
log](https://github.com/ente-io/ente/assets/77285023/1a903668-76be-40d3-b00a-a0a7c7dfb66a)
2024-03-27 17:40:25 +05:30
ashilkn 35a8a96898 pref: reduce GC events 2024-03-27 16:34:06 +05:30
laurenspriem b1b3bcc534 Support for clustering in buckets 2024-03-22 11:49:23 +05:30
laurenspriem f94aa400bf [mob] Minor changes to clustering 2024-03-21 18:07:12 +05:30
laurenspriem b5cff212bb Refactor of clustering 2024-03-21 16:59:55 +05:30
laurenspriem 212208ae01 Add debugPrint 2024-03-21 16:53:22 +05:30
laurenspriem fc8122b18e Add indexing debug cooldown 2024-03-21 16:52:52 +05:30
laurenspriem a2bca84b91 [mob] Sort clustering on fileCreationTime asc 2024-03-21 15:41:34 +05:30
laurenspriem a9fdee96a8 More debug options 2024-03-21 12:40:03 +05:30
laurenspriem 125a4de66a Deprecate function 2024-03-20 16:20:55 +05:30
laurenspriem a4582c0e55 Move FaceML inside Machine Learning directory 2024-03-20 15:51:57 +05:30
laurenspriem a443ac1680 Better use of constants 2024-03-20 14:42:42 +05:30
laurenspriem 39f16ff517 Only show high quality faces in file info 2024-03-20 14:34:12 +05:30