reordered, cleaned up, also closed off some AI ones

This commit is contained in:
2021-01-22 21:13:48 +11:00
parent 71dd213636
commit ea48900564

25
TODO
View File

@@ -1,17 +1,4 @@
### DB ### DB
### BACKEND
*** Need to use thread-safe sessions per Thread, half-assed version did not work
* need a "batch" processing system that uses ionice to minimise load on mara and is threaded and used DB to interact with gunicorn'd pa
* pa_job_manager, needs ai code
* needs broad jobs to:
DONE: find files in {import_dir & storage_dir}
DONE: calc thumbs/hashes { " }
run AI against { " }
move files from import_dir to appropriate sub_dir in storage_dir (list will come from pa web)
NEW_FILE -> add, has_unidentified_face NEW_FILE -> add, has_unidentified_face
?has_face?, ?has_face?,
@@ -24,8 +11,13 @@
id to link to AI_scan id to link to AI_scan
refimg used/found refimg used/found
When AI kicks in, it processes per person per DIR, only compares to an image if it has_unidentified_face ### BACKEND
*** Need to use thread-safe sessions per Thread, half-assed version did not work
* ProcessFilesInDir (should take a path, and do the first for loop so that no one sees the recursive func)
* Handle file deletions from file system (remove dangling DIR/FILE combos) -- also when moving to storage_dir, need to reset DIR, but keep FILE data
Future:
Admin Admin
-> reset face_flag -> reset face_flag
@@ -35,9 +27,6 @@
thresholds on AI, or we get a new/better one some day, then it can thresholds on AI, or we get a new/better one some day, then it can
all images with faces, or if we 'reset face_flag' rescan all images all images with faces, or if we 'reset face_flag' rescan all images
TODO: Handle file deletions from file system (remove dangling DIR/FILE combos) -- also when moving to storage_dir, need to reset DIR, but keep FILE data
### UI ### UI
### AI ### AI
@@ -45,6 +34,8 @@
* check images * check images
* allow for threshold/settings to be tweaked from the GUI * allow for threshold/settings to be tweaked from the GUI
- it would be good to then say, just run the scanner against this image or maybe this DIR, to see how it IDs ppl - it would be good to then say, just run the scanner against this image or maybe this DIR, to see how it IDs ppl
When AI kicks in, it processes per person per DIR, only compares to an image if it has_unidentified_face
### SORTER ### SORTER
* date stuff * date stuff