Shailesh Pandit
7b06f5d8f8
imageSource not updated based on actual source
2021-12-23 23:59:49 +05:30
Shailesh Pandit
44f4362f0f
Store ml sync error count for a file, limit retry
...
Download original quality files for photos and live photos only
2021-12-23 23:40:21 +05:30
Shailesh Pandit
b4c31c5845
Store face crops, extract aligned faces from face crops
...
Align faces using center, size and rotation only, using this aligned faces can be extracted without whole image
2021-12-23 18:27:53 +05:30
Shailesh Pandit
4ebcddbb84
Provision to run ml sync on original images
...
To capture high resolution face images
Use ImageBitmap till tf models as tf manipulations on variable dimention images leads to gpu memory leak - https://github.com/tensorflow/tfjs/issues/604
2021-12-20 22:20:20 +05:30
Shailesh Pandit
0e366264a0
TF memory cleaned only with tf.dispose and tf.tidy
...
Remove usage of startScope and endScope, can be used for debugging
2021-12-15 17:20:07 +05:30
Shailesh Pandit
f5ca124fc9
Only sync updated ml methods for existing files
2021-12-14 19:44:13 +05:30
Shailesh Pandit
2d17dd30e9
For uploaded files use local files for ML Sync
...
Extract out ML work manager and sync job from worker
Start and stop ML Sync job on app start, login and logout
2021-12-12 23:12:18 +05:30
Shailesh Pandit
470f9fb931
Move machine learning types to types folder
2021-12-08 12:43:51 +05:30
Shailesh Pandit
4d89e7df96
Revert comented ffmpeg code
...
As not required after common upload types are extracted out
2021-12-08 12:22:12 +05:30
Shailesh Pandit
d65de21be5
Merge branch 'upload-types-refactor' into machine-learning
2021-12-08 11:59:07 +05:30
Shailesh Pandit
d5199acc43
Extract common types in upload service to upload types
...
Required for not including code required for upload service in other parts just requiring common types
e.g. ffmpegService is included in machine learning web worker while including downloadManager service
2021-12-08 11:53:34 +05:30
Shailesh Pandit
28b77bcf0a
Merge branch 'master' into machine-learning
2021-12-07 18:41:29 +05:30
Vishnu Mohandas
79046cc694
Enable batch edit of creation-time for 243
2021-12-03 10:08:54 +05:30
Shailesh Pandit
39386941f5
Sync people index only after new files are synced
...
Maintain files and people latest versions
2021-12-01 19:21:02 +05:30
Shailesh Pandit
498603eb34
Clear tf memory usage after each sync run
2021-12-01 19:00:57 +05:30
Abhinav
a0708ac3f8
log dateTime value on getUNIXTime fail
2021-11-30 11:15:36 +05:30
Abhinav
0e57c8830b
fail safe error handling
2021-11-30 11:14:33 +05:30
Abhinav
9454540175
update name to getCachedOriginalFile
2021-11-29 14:14:28 +05:30
Abhinav
3a0e6b2f98
renamed get preview to getThumbnail
2021-11-29 14:12:24 +05:30
Abhinav
a1672d3c2f
handle saving to cache in getPreview itself
2021-11-29 14:11:41 +05:30
Abhinav
1f3734b577
fix isFileHEIC check
2021-11-29 12:09:21 +05:30
Abhinav
9e3c294775
check in memory cache for thumbnail before hitting browser cache
2021-11-29 12:08:53 +05:30
Abhinav
f997c7457a
use converted suffix instead of forPreview to to avoid duplicate download of unconverted files
2021-11-29 11:18:28 +05:30
Abhinav
f688d620cc
prevent duplicate file download calls
2021-11-29 10:42:46 +05:30
Shailesh Pandit
1d41644ac8
Add people to search, filter photos by person
2021-11-28 21:45:44 +05:30
Shailesh Pandit
af130f803b
Set person face chip to one having max pixels
...
And detection probability score
2021-11-28 11:28:13 +05:30
Shailesh Pandit
e96e1a9ee4
Show people face chips in info panel of image
2021-11-28 11:17:56 +05:30
Shailesh Pandit
52b20c9783
Rename personId to id
2021-11-27 15:40:29 +05:30
Shailesh Pandit
320099df59
Sync people from generated clusters
...
Update personId in faces
2021-11-27 15:31:03 +05:30
Shailesh Pandit
83e21d7aab
Fix build, better naming, disable tsne
2021-11-27 11:34:26 +05:30
Shailesh Pandit
0d72fccd7a
Streamline clustering config and service
...
Fix tsne
MLDebug to have start and stop ml sync
2021-11-27 09:55:39 +05:30
Shailesh Pandit
8d6ec08d08
Run clustering on all faces in db
2021-11-26 20:31:34 +05:30
Shailesh Pandit
b4ad482431
Process new and outdated files in ml sync
2021-11-26 19:59:13 +05:30
Shailesh Pandit
1f0853debd
Run ml-worker batches continuously
...
Persist versioned faces in indexdb
2021-11-25 22:08:28 +05:30
abhinavkgrd
4c30c45724
Merge pull request #249 from ente-io/ffmpeg-load-fail-handling
...
ffmpeg load fail handling
2021-11-25 12:11:53 +05:30
abhinavkgrd
863b814d88
Merge pull request #237 from ente-io/fix-file-type-not-logged
...
missed a place where type info was not logged
2021-11-25 11:55:19 +05:30
Abhinav
7f8d2b84c8
clear failed ffmpeg instance..so new load is trigerred
2021-11-25 11:28:16 +05:30
Abhinav
62a761e5ca
handle missing key or token
2021-11-23 09:45:19 +05:30
Shailesh Pandit
9068b5643a
Limit tsne to 200 faces
...
As it takes exponential time and 200 faces is enough for analysis
2021-11-22 11:49:05 +05:30
Shailesh Pandit
d16837262d
Use arcface alignment for mobilefacenet
...
Use rotation alignment in blazeface to fapi flow
Extract aligned face images before embeddings calculations
2021-11-20 14:56:36 +05:30
Abhinav
e13787df7a
only pass non trashed file user files for search
2021-11-20 12:15:51 +05:30
Abhinav
8929f235e7
improve error handling
2021-11-20 12:06:25 +05:30
Abhinav
b928052165
make fix creation time visible to array of userIds
2021-11-19 00:25:11 +05:30
Abhinav
18c6edab2c
null check
2021-11-19 00:25:11 +05:30
Abhinav
b2162c4398
add options for fix creation time
2021-11-19 00:24:47 +05:30
Abhinav
2b7e5f2074
one more place with same issue
2021-11-18 10:12:19 +05:30
abhinavkgrd
e913615f57
Merge pull request #221 from ente-io/fix-creation-time
...
Fix creation time
2021-11-17 22:26:16 +05:30
Shailesh Pandit
eeec2d1012
Make TFJSFaceEmbeddingService api compatible
2021-11-17 16:42:55 +05:30
Shailesh Pandit
0380fb64e3
Create worker env for face-api without global patch
2021-11-17 16:41:45 +05:30
Abhinav
d62739e259
show fix creation for selected user
2021-11-17 15:10:09 +05:30