92 lines
4.2 KiB
Plaintext
92 lines
4.2 KiB
Plaintext
## GENERAL
|
|
* viewer:
|
|
- buttons need tootltips to show shortcut key
|
|
- if DrawImg runs into a video, deal with it :)
|
|
|
|
* files.py cleanup:
|
|
class Option for dot-notation, or namespace???
|
|
|
|
* remove dirs after the duplicate cleanup removes all its content
|
|
|
|
* Face matching:
|
|
- upgrade to face distance per face per file [DONE]
|
|
- face locations:
|
|
START FORM SCRATCH for prod so all images have face_locn data
|
|
|
|
* could look to remove the hand fixing of json.loads of array data --> seems you can make your own datatype in the ORM, and it can do the conversion every time you use it
|
|
- https://stackoverflow.com/questions/28143557/sqlalchemy-convert-column-value-back-and-forth-between-internal-and-database-fo
|
|
|
|
* fix up logging in general
|
|
* comment your code
|
|
* js files
|
|
* html files?
|
|
* more OO goodness :)
|
|
* viewer needs to allow toggle to scan_model (and prob. right-click on file... AI (with CNN) AI (with hog)
|
|
- make the form-select AI_Model actually do the change (but need more mem on mara really)
|
|
|
|
## DB
|
|
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view
|
|
|
|
### BACKEND
|
|
* revisit SymlinkName() and make it simpler (see comment in shared.py)
|
|
* if you change paths in settings, then re-run Initialisation checks (for symlinks to new path names)
|
|
- this actively is crashing, added a file in storage2/ (no symlink), so job mgr crashed, and DB doesnt have the content until you make the symlink (via re-running job mgr)
|
|
-- started on some basic optimisations (commit logs every 100 logs, not each log)
|
|
- with debugs: import = 04:11, getfiledetails== 0:35:35
|
|
- without debugs: import == 04:03, getfiledetails == 0:35:36 -- not a sig diff
|
|
- with exifread & debug: import == 04:26
|
|
|
|
*** Need to use thread-safe sessions per Thread, half-assed version did not work
|
|
|
|
need a manual button to restart a job in the GUI,
|
|
(based on file-level optims, just run the job as new and it will optim over already done parts and continue)
|
|
|
|
Admin
|
|
-> delete old jobs / auto delete jobs older than ???
|
|
-> do I want to have admin roles/users?
|
|
|
|
### AI
|
|
* faces per file (need a threshold for too many? OR
|
|
* consider size of bbox of face / 'high-quality' faces -- if face is too small in image, dont match it
|
|
* if we have a high-qual face, we could show this on a page and have UI to create ref img / person for it
|
|
|
|
### UI
|
|
??? ipads can't do selections and contextMenus, do I want to re-factor to cater for this?
|
|
- partial fix, double-click / tap allows viewing (most useful context-menu feature)
|
|
|
|
For AI / rescan:
|
|
way to override per file:
|
|
the model used
|
|
the threshold used?
|
|
maybe on the per file you could select an unknown face and add it as a ref img to a existing person, or make a new person and attach?
|
|
|
|
file details is sort of crap - only works on import path
|
|
- probably better to have a different 'view', e.g. folders/flat/detailed
|
|
|
|
job management:
|
|
joblog needs to show only say 25 log lines (last?) by default and allow see start/end, page by page, and search
|
|
clear all jobs (via GUI)
|
|
clear old jobs? (via b/end?)
|
|
clear FE messages (at least dup ones on File data deletion) -- in backend
|
|
need to copy into here the jquery/fa files so we don't need internet to function
|
|
- for that matter run lightspeed against all this
|
|
|
|
timelineview? (I think maybe sunburst for large amounts of files, then maybe something more timeline-series for drilling in?)
|
|
(vertical timeline, date has thumbnails (small) horizontally along
|
|
a page, etc.?
|
|
https://www.highcharts.com/docs/chart-and-series-types/timeline-series
|
|
https://www.highcharts.com/demo/sunburst
|
|
https://www.highcharts.com/demo/heatmap
|
|
https://www.highcharts.com/demo/packed-bubble-split
|
|
|
|
|
|
### SORTER
|
|
* exif processing?
|
|
* location stuff - test a new photo from my camera out
|
|
-- image is in dir, need to look at exifread output
|
|
|
|
### FUTURE:
|
|
* can emby use nfo for images (for AI/tags?)
|
|
-NO sadly
|
|
|