24 Commits

Author SHA1 Message Date
Neeraj Gupta
8c81a377c0 Lint fixes 2025-02-18 14:08:10 +05:30
Neeraj Gupta
7621041ce0 Revert "[mob] Fix exif time parsing (#4985)"
This reverts commit 5b17711b55e9e8995454121e3a209ee5e8c9b3c1, reversing
changes made to 85bf3eebcb5ac197ce6a5901cbc8db1d03be0113.
2025-02-11 18:27:17 +05:30
laurenspriem
3a8ec51674 [mob][photos] Revert onnx preprocessing 2024-10-23 17:05:13 +05:30
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
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
4ee96637de [mob][photos] logs 2024-09-03 13:27:30 +02:00
Neeraj Gupta
3a0d6e808b [mob] Fix tensor size for clip image 2024-08-20 12:54:26 +05:30
laurenspriem
16e611b948 [mob][photos] Release implementation in PlatformPlugin 2024-07-25 21:45:41 +02:00
Neeraj Gupta
227877bd07 [mob] Add support for Clip text in custom plugin 2024-07-18 16:43:31 +05:30
Neeraj Gupta
6f98a79cb0 [mob] Clean up 2024-07-11 14:23:04 +05:30
Neeraj Gupta
2eea98a4df [mob] Lint fixed 2024-07-11 14:15:50 +05:30
Neeraj Gupta
08f846c315 [mob] Use custom plugin for clip image encoding 2024-07-10 18:22:04 +05:30
Neeraj Gupta
756954ae45 [mob] Catch unexpected error in custom plugin 2024-07-10 14:24:53 +05:30
Neeraj Gupta
1033f26a81 [mob] Switch to custom plugin for face embedding 2024-07-10 14:24:23 +05:30
Neeraj Gupta
68e3a36e8e [mob][onnx] remove unused code 2024-07-10 13:05:13 +05:30
Neeraj Gupta
6b78ce715f [mob][onnx] inline const 2024-07-10 13:04:10 +05:30
Neeraj Gupta
234efb63b2 [mob] Refactor 2024-07-10 12:55:13 +05:30
Neeraj Gupta
02ca6342d2 [mob][droid] Perform detection using ente plugin 2024-07-09 18:29:24 +05:30
Neeraj Gupta
111972e0e6 [mob][droid] Return FloatArray instead of List<double> 2024-07-09 18:07:17 +05:30
Neeraj Gupta
69923baedd [mob][droid] Clean up 2024-07-09 15:15:41 +05:30
Neeraj Gupta
f422dea00e [mob][onnx] Clean up 2024-07-09 14:31:03 +05:30
Neeraj Gupta
bc04a3f87f [mob][onnx] Specify return type 2024-07-09 13:29:28 +05:30
Neeraj Gupta
273e5b88eb [mob][droid] Use custom dart plugin for face detection 2024-07-08 17:45:18 +05:30