unmatched faces now sorts size of face desc, and is slightly prettier -- still slow and only takes you to the file anyway, might optimise that later. still no code to auto deal with unmatched face, but will add some capabilities next. Also, remembered last dir when file_ip/sp/bin. Also throw error if try to find unknown person - happened since I allowed the back/forward.
This commit is contained in:
29
TODO
29
TODO
@@ -1,19 +1,17 @@
|
||||
## GENERAL
|
||||
*** Need to double-check scheduled jobs running in PROD (can use new pa_job_manager.log)
|
||||
|
||||
* remember last import dir, so you can just go straight back to it
|
||||
|
||||
* when hitting back button to a search, it doesnt handle the post, etc.
|
||||
$(document).ready(function() {
|
||||
window.onpopstate = function() {
|
||||
# this seems to work, but feels like no protection at all???
|
||||
# (what about back when it goes onto a POST of deleting a file!)
|
||||
window.history.back()
|
||||
};
|
||||
});
|
||||
-- maybe window.history.replace() is needed on unsafe URLs?
|
||||
* optimise run_ai_on (and for that matter getfiledetails, etc.)...
|
||||
- e.g. with last scan*, STORE: new files?
|
||||
- if last scan no new files, dont getfiledetails, don't re-run ai job
|
||||
|
||||
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
|
||||
* [DONE] order/ find face with largest size and at least show that as unmatched
|
||||
- could also try to check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person
|
||||
* on viewer: allow face to be used to create person, add to existing person, and allow 'ignore', mark as 'not a face', etc. -> all into DB
|
||||
- so need face 'treatment' -> could be matched via face_refimg_link, but also could be 'ignore' or 'not a face', in each case we could exclude those faces from
|
||||
matching for the future, and reporting on matches, etc.
|
||||
- context-menu with rects on a canvas
|
||||
https://stackoverflow.com/questions/31601393/create-context-menu-using-jquery-with-html-5-canvas
|
||||
- also allow joblog search from the viewer for that file...
|
||||
|
||||
* delete folder
|
||||
|
||||
@@ -46,14 +44,15 @@
|
||||
|
||||
* comment your code -> only html files remaining
|
||||
|
||||
* from menu, we could try to get smart/fancy... say find face with largest size, check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person
|
||||
- read that guys face matching / clustering / nearest neighbour examples, for a whole new AI capability
|
||||
* read that guys face matching / clustering / nearest neighbour examples, for a whole new AI capability
|
||||
https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/
|
||||
|
||||
* fix up logging in general
|
||||
|
||||
* support animated gifs in html5 canvas
|
||||
|
||||
* think about security - in job_mgr anywhere I can os.replace/remove NEED to protect, etc
|
||||
|
||||
## DB
|
||||
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view
|
||||
|
||||
|
||||
Reference in New Issue
Block a user