Commit graph

2867 commits

Author SHA1 Message Date
Shailesh Pandit 5b7c8a2cf7 Handle indexeddb termination
Also reset and reopen mldata db after clearing
2022-01-31 12:53:37 +05:30
Shailesh Pandit 0fe22bd591 Show indexing status on people suggestions 2022-01-31 12:50:42 +05:30
Shailesh Pandit fa2c518e40 Only show Ml Debug option when Ml Search is enabled 2022-01-30 11:47:52 +05:30
Shailesh Pandit 8d6fb780b4 Add compatibility check before enabling Ml Search 2022-01-30 11:46:17 +05:30
Shailesh Pandit 988b87629e Run tensorflow.js only on webgl 2022-01-30 11:03:02 +05:30
Abhinav f42f6447d3 fix search count by updating it when filteredData changes 2022-01-29 18:26:32 +05:30
Shailesh Pandit e3ee397774 Load people suggestions on search bar click
hack as AsyncSelect does not support default options reloading on focus/click
unwanted side effect: placeholder is not shown on focus/click
2022-01-26 09:20:39 +05:30
Shailesh Pandit b9c70d086d Run index update after bunch of files are synced
around after every 1000 files synced
2022-01-25 16:58:36 +05:30
Shailesh Pandit 2e3765aa77 Add warning dialog before enabling ml search 2022-01-24 20:02:50 +05:30
Shailesh Pandit 8c0c3c5c94 Add ml search config to enable or disable ml search
Show ml search ui elements when enabled
2022-01-24 19:11:40 +05:30
Shailesh Pandit b21e5608bd Use published similarity-transformation 2022-01-24 12:43:42 +05:30
Shailesh Pandit aab8351b23 Use published blazeface-back model 2022-01-24 10:53:37 +05:30
Shailesh Pandit 868d19b3d0 Remove unused face-api files 2022-01-24 09:08:41 +05:30
Shailesh Pandit bce97ce579 Reduce clusterSelectionEpsilon 2022-01-20 16:47:32 +05:30
Shailesh Pandit ac57f25f76 Fix build 2022-01-18 11:41:27 +05:30
Shailesh Pandit 94a7ec4796 Use new local sync context every batchSize sync
Maintain local sync context in ml service
Sync context to only store counts of files and faces synced
2022-01-18 08:07:18 +05:30
Shailesh Pandit eed5497da8 More logging for queue stats and worker
Temporarily add timeout to livesync queue
2022-01-16 20:30:20 +05:30
Shailesh Pandit 1fa4a8cf66 Update hdbscan to use iterative implementation
to avoid js stack limits
2022-01-16 16:34:40 +05:30
Shailesh Pandit 4999f8b4e0 Extract MAX_FACE_DISTANCE_PERCENT as constant 2022-01-16 13:08:49 +05:30
Shailesh Pandit 43c792e46d Fix local env needing refresh to login
by loading tfjs-tflite as dynamic import
2022-01-16 13:01:29 +05:30
Shailesh Pandit 18db6f44dc Fix SimpleJob to set correct state after stopped 2022-01-16 11:47:04 +05:30
Shailesh Pandit d1bab5ec84 Fix build
Revisit todos
2022-01-15 09:39:27 +05:30
Shailesh Pandit 4845c1d605 Convert not compatible local images before sync
Only sync image types locally
2022-01-15 09:05:56 +05:30
Shailesh Pandit f7a05fcb39 Use pqueue addAll instead of Promise.all
Add timeout to downloads during ml sync
2022-01-14 19:45:39 +05:30
Shailesh Pandit f7f40bf5ec Include actual store in increment version tx 2022-01-14 19:10:42 +05:30
Shailesh Pandit ec0108dda6 Start and stop sync job from debug page
using ml work manager
2022-01-14 15:51:37 +05:30
Shailesh Pandit c454c50341 Select nearest pass2 detection in blazeface
Remove duplicates after 2nd pass
Updated min face detection probability based on results
2022-01-14 12:28:11 +05:30
Shailesh Pandit f5e45a8b73 Show filtered faces based on detection probability
Some styling changes of debug page
2022-01-13 13:39:13 +05:30
Shailesh Pandit 255219f778 Fix idb upgrades
Use oldVersion to apply all required upgrades
2022-01-13 12:03:11 +05:30
Shailesh Pandit 5f6e617f68 Show upto 200 people in search box
Make people list in search box scrollable
2022-01-13 09:28:01 +05:30
Shailesh Pandit 09c9deda5e Disabling large mst binary tree display on ml debug
Fix wrong assumptions in faceId comment
2022-01-13 07:16:54 +05:30
Shailesh Pandit 4cd781d201 Update hdbscan to remove mst tree from storage 2022-01-12 20:35:04 +05:30
Shailesh Pandit c14f8cc90f Display face of person only based on detection probability
Fix comparator of findFirstIfSorted
2022-01-12 14:15:22 +05:30
Shailesh Pandit fbe6e5f8cf Check if old faces are in same order before using
Keep old ml version if present
2022-01-12 12:05:31 +05:30
Shailesh Pandit ef6c564d62 Only set fields related to each ml sync step
Reset error fields on successful sync of file
2022-01-12 10:53:06 +05:30
Shailesh Pandit 7ac252aca8 Handle some non file related errors in ml sync
Handles network error and session expired errors
2022-01-11 19:08:26 +05:30
Shailesh Pandit 864885d586 Update default face clustering parameters 2022-01-11 09:53:19 +05:30
Shailesh Pandit 0c1db302c1 Extract ConfigEditor as component 2022-01-11 09:42:31 +05:30
Shailesh Pandit 2ceca69514 Move ml react components to a folder 2022-01-11 08:44:33 +05:30
Shailesh Pandit bd7be81acf Fix build 2022-01-11 07:08:42 +05:30
Shailesh Pandit aa6b40b724 Make ml sync configs editable on debug page 2022-01-10 22:28:09 +05:30
Shailesh Pandit b90cd62fa8 Store configs in db 2022-01-10 20:20:06 +05:30
Shailesh Pandit 52078b3e5e Ad Dbscan clustering method 2022-01-10 17:38:51 +05:30
Shailesh Pandit cc7d2355f7 Update hdbscan to use cluser selection method and epsilon 2022-01-10 14:56:00 +05:30
Shailesh Pandit 4237b9cfc7 Display clusters and mst in treeview on ml debug
from last clustering run
2022-01-09 22:40:55 +05:30
Shailesh Pandit bb000c0c69 ML Debug refresh for all identified people
Clear people index button
2022-01-09 18:32:25 +05:30
Shailesh Pandit 8eebdb226e Fix: clear old person id in face before reclustering 2022-01-09 17:41:52 +05:30
Shailesh Pandit 90bf35b05d Make minSamples of hdbscan configurable 2022-01-09 10:06:38 +05:30
Shailesh Pandit 0d9d79e979 Display all peope on ml debug 2022-01-09 10:05:13 +05:30
Shailesh Pandit aac2318513 Moving default ml sync configs to constants
Limit sync job max interval to around 15 mins
2022-01-09 07:43:21 +05:30