Commit Graph

271 Commits

Author SHA1 Message Date
56f3853bfc removed unneeded ref to font-awesome, added compression, ttl for static files, several small cleanups on labels, etc. for lighthouse improvements 2021-09-14 17:22:42 +10:00
444b206c64 use better face distance sorting/matching algo 2021-09-12 18:35:04 +10:00
ae067b81ce not worth fixing json* invocations, only 2, and the fix is either forcing a mutable pickle type or TypeDecorator -- both a bit complex than its worth 2021-09-06 18:12:26 +10:00
a64b651118 use new base_path Setting, but have not tested use of absolute paths instead of relative paths, also need better tooltips for the paths -- AND, still have odd trailing slash due to SymLinkName, etc. being too complex 2021-09-05 21:58:54 +10:00
eb0145467f fixed bugs 47, 48, 49 and reduced complexity of dup counting as well. Now removes dirs than become empty due to duplicate removals 2021-09-04 19:50:49 +10:00
dc4ff64600 viewer hotkeys are in tooltip now 2021-08-30 17:47:33 +10:00
78170cace7 fixed bug in viewer where video needs to be resized after prev/next move, also updated TODO 2021-08-30 17:42:58 +10:00
c38929d884 viewer now deals with videos and images when next/prev, AND, fullscreen is maintained on videos and handles when escape gets you out as well... 2021-08-28 13:26:07 +10:00
1d3caf17de complete rewrite of viewer, videos need to be fixed. Otherwise, viewer now loads entry data for all "how_many" images on the screen, and allows prev/next movement between images without a DB load for the current page of images, then as required, it will retrieve the prev/next "how_many" from the database via /viewlist route, and go back into view/<id> of the appropriate new image of the new list. Also prevents going below 0 and beyond end of DB for the first time. 2021-08-27 23:38:31 +10:00
652a89161d include the js form the internal dir and viewer now has tooltips on buttons, and all buttons work, call the right javascript, send jobs to the pa_job_manager, and make image go gray with throbber, and on job completion, hide throbber, redraw the image in color and with the newly transformed image 2021-08-15 21:26:43 +10:00
40c0e3631c no need for one-off copy of icons.svg, its now in internal/ 2021-08-15 00:33:50 +10:00
59c72f9aee moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path 2021-08-15 00:26:27 +10:00
10b2c5cc34 more work on viewer 2021-07-29 21:45:11 +10:00
b7d346c206 model_used is now per file, not per face, implemented split of default_model to default_refimg_model and default_scan_model in settings, and default_refimg_model actualy works when creating refimgs in person.py. The model_used in face_file_link is based on default settings model and will scan with cnn if chosen and store that in DB as needed. Need viewer to allow changing per file / not just default for future scans 2021-07-27 17:14:03 +10:00
cd51ea21bf quick add of default_{model|threshold} to settings, face_refimg_link now stores model_used and face_distance AND working implementation of own face_distance algorithm rather than compareAI(), removed older AI code it would no longer work with DB structures anyway, tweaked viewer to remove coords of unmatched faces for now 2021-07-26 18:39:36 +10:00
555ce70577 renamed AI_Model to AIModel for consistency, added it as a functioning drop-down select on settings page, added face_distance to db and code, put face_distance model_used into all classes ready for use 2021-07-25 15:13:39 +10:00
04fa819a9a bootstrap 5 done 2021-07-22 21:29:09 +10:00
915063a7a7 semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome 2021-07-22 00:50:45 +10:00
6355cff98e quick update 2021-07-19 18:46:13 +10:00
d4964948e1 add todo for being smarter with json.loads column types 2021-07-17 16:35:29 +10:00
bba68dfb36 reminder to show faces in viewer once we redo scanning 2021-07-16 22:30:22 +10:00
e1a3ad388c added small spaces before first row of images to stop squishing into navbar, added flipping / made that work, and now show thumbnail after rotation/flip is finished - all works, and removed debugs 2021-07-16 22:28:44 +10:00
f30ca16552 added viewnext and viewprev routes and plumbed these in to the file viewer code. Viewer code now works has a prev/next button, and handles videos 2021-07-15 20:23:02 +10:00
f394e39c2f refimgs now contain face, orig_w, orig_h and face_locns. This is done via json.* to allow arrays to be saved/loaded back into face_locn - not useful for refimg as there has to be only 1, but tested for images where there will be many faces. This commit has a fair few changes. So overall, no more refimg menus/creation. You now create a person (the add button is hidden until you save), when you save you go back to the person you created rather than the list of persons. From there you can click add ref img, and it will create a thumbnail, and draw a green box around the face locations based on the data. Persons can have many refimgs, and they will all work the same, be formatted prettily no matter how many you have. Each refimg "tab" not only has the thumbnail, but also a red X click to delete button that will remove all refimg data and connection to the person table too. This all works/is tested. 2021-07-11 22:35:59 +10:00
3dbcf68dad force session commit in AddLogForJob() if no recent commit - 5 seconds 2021-07-07 18:05:24 +10:00
fbd9e72f28 updated TODO to remove AI job count issues, and added optimised AI searching code to reduce DB queries on recursion into dirs 2021-07-07 17:42:00 +10:00
95303fafac fixed BUG-41 and 43, via new refimg -> person code changes 2021-07-05 16:53:00 +10:00
aabf4b2c8f more thoughts 2021-07-04 20:22:27 +10:00
65d781c1d6 use r.face now, instead of r.encodings - prep for big cutover to new refimg DB and thumb/face creation 2021-07-04 20:20:20 +10:00
518df7ee10 removed all remnants of FILE_REFIMG_LINK 2021-07-03 12:43:25 +10:00
a916fb8192 minor update 2021-07-03 12:30:01 +10:00
aa826f6933 if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:19 +10:00
ff2feaf7ae fixed TODO for ProcessRecycleBinDir, added thoughts on rewrite of refimg 2021-07-03 12:02:25 +10:00
d7e74ec53a removed todo on doing AI, and added new ones 2021-07-01 21:55:17 +10:00
dcee8c96dd minor updates 2021-06-29 00:43:51 +10:00
4cb10c4a6b started hooking up right-click menu for Dir and Files all the way through to calling the new ScanFileForPerson() - which is still incomplete but does use the new Faces DB linkages and functions 2021-06-28 18:52:05 +10:00
126b17aa33 make prod pa_job_manager have FLASK_ENV of production and use localhost for job mgr host 2021-06-27 14:37:53 +10:00
0c4da6e4af updated TODO for set of next steps to start on AI for real 2021-06-26 17:33:21 +10:00
848c2b61cd fixed login code 2021-06-26 16:47:28 +10:00
d1ed80bd35 finished move file work, updated change path / settings and symlink issues, and added user management todo 2021-06-24 17:34:59 +10:00
2543e6e935 fxied -BUG-35: when restarting paweb, symlinks not in static/, also moved longer-term piece into TODO 2021-06-22 19:50:54 +10:00
9eb82bf1c3 added comment & TODO to recode SymlinkName one day 2021-06-22 18:42:03 +10:00
2d4f63212c added new TODOs while cleaning up / Bug-fixing 2021-06-22 18:34:14 +10:00
3f4ae567fb added section for iPad 2021-06-19 17:17:17 +10:00
b09d19570f improved DBox images/html, improved look of MoveDBox, started plumbing for pa_job_manager to do actual moves, all the data is there, just havent performed the FS or DB move. cleaned up duplicated DEBUGS that are straight before AddLogForJob... tweaked TODO appropriately 2021-06-14 18:30:52 +10:00
7c3c8977d6 refined right-click seln. If you have one or more highlights, dont mess with them. If you have none, then select the one you are over. Also finished TODO for view details menu option 2021-06-13 22:14:35 +10:00
630b455bc0 removed del/restore TODOs its working, moved order of some TODOs too 2021-06-11 23:41:35 +10:00
8b5633ea23 good spot to stop, some TODOs left, but really delete/restore now works 2021-06-11 20:26:56 +10:00
b63d349c9f update for next steps 2021-06-09 21:42:40 +10:00
823eeeb18e updated partial progress on undelete 2021-06-08 21:17:52 +10:00