Commit Graph

948 Commits

Author SHA1 Message Date
3193b86f9f general clean up of lazy dt/dd tag use, also added estimate remainging in the dd for run time, rather than elsewhere 2022-07-17 15:57:22 +10:00
d08d10a3ae if restarting a job, reset file numbering/current_file 2022-07-17 15:56:50 +10:00
a1245151d3 when restart JobRunAIOnPath, dont add the path again, move a couple of debug lines to an actual debug 2022-07-17 15:32:59 +10:00
4f01125bcc improved login page to be responsive, also made pretty fname remove paths now we have only 1 imp/sto/bin path -- reduces fname size which is a small help to BUG-96 2022-07-16 17:10:05 +10:00
cb4082fd04 also, already fixed BUG-85 - clean out data pa_user_state is cleaned out 2022-07-15 22:58:46 +10:00
cfb222e3d1 fix BUG-95 (next button at top doesnt work in flat view) 2022-07-15 22:52:02 +10:00
b2dd6a3de0 table.sql now does not pre-set the users, and it connects the sequences for person and refimg - should do the rest, but those allowed me to pg_dump out 3 tables (person, refimg, person_refimg_link), so now on new DB load the person and their ref imgs are in at the start - the sequence connection was needed for the dump to reset the seq on load 2022-07-15 22:51:18 +10:00
34c759b7a0 fix up video thumbnailing issue, seems I repalce cv2 with cv2.cv2 in a couple of spots 2022-07-15 22:50:11 +10:00
fa713d76b4 new bug 2022-07-15 22:49:40 +10:00
1cfd4d1713 BUG-60 no longer relevant as we only support 1 path 2022-07-15 18:06:18 +10:00
3cd1bf056a added ability to auto-rotate jpegs as we import them. The auto-rotation uses /usr/bin/exifautotran which rotates losslessly, and we optimised to then not also re-rotate the thumbmail. This address a few bugs in the 90s, including the one where Mandys photos were not getting faces (they were rotated), and without really doing anything the odd one where we sometimes lost tmp_locn on first load after db recreation - I cant reproduce so ignoring it 2022-07-15 18:01:54 +10:00
84a4cf7cf8 added ability to auto-rotate jpegs as we import them. The auto-rotation uses /usr/bin/exifautotran which rotates losslessly, and we optimised to then not also re-rotate the thumbmail. This address a few bugs in the 90s, including the one where Mandys photos were not getting faces (they were rotated), and without really doing anything the odd one where we sometimes lost tmp_locn on first load after db recreation - I cant reproduce so ignoring it 2022-07-15 17:18:31 +10:00
6d1801dce9 remove debug 2022-07-15 17:15:15 +10:00
3710b573ea added auto-rotate to settings, not used in job mgr yet 2022-07-13 00:26:24 +10:00
713d9d96a1 BUG-60 no longer relevant as we only support 1 path 2022-07-10 20:33:02 +10:00
7145d178a1 I think BUG-87 was a data hangover, removing it now we have not seen it again for months 2022-07-10 20:29:47 +10:00
8921e5dbcd Fixed BUG-89 -- face_locn -> tmp_locn 2022-07-10 20:28:58 +10:00
37bea367f5 fixed BUG-90 (not finding best match, but last match) 2022-07-10 20:09:22 +10:00
b9359b4680 improve usability on face dbox for search/overrides, etc. 2022-07-10 19:25:35 +10:00
9f2ecb1901 just in case, if location or encoding is null when GenFace is run then return None, and catch this in person and show error on GUI -- for now uploading from a phone does odd things to the image format and fails to work in face_recognition.load_image() 2022-07-10 16:22:35 +10:00
6b7694f382 first pass of consolidating search in DBox for existing person, and then using the results to add override force match to that person, and WORKING version of adding refimg to existing person too. Still does not kick off new AI scan at this point, and still need to re-format dbox to be easier to use and code for resetting DB contents, rescaning files from scratch and matching overrides back 2022-07-10 15:21:31 +10:00
1507addf38 quick add of row/container-fluid for margins - prob. should remove table too one day 2022-07-10 15:19:59 +10:00
b9465d6f8b spacing 2022-06-19 23:04:04 +10:00
ba6fbbca70 added <Enter> convenience binding for search person in add manual override 2022-06-13 18:53:07 +10:00
b935aa8ab8 can now add/remove overrides (manual or no matchx3) in any sequence of load/reload, or back-to-back and it all works 2022-06-13 18:30:13 +10:00
83819a0cb3 minor clean-ups, link-primary now has cursor set via role=button (go figure?) and face distance is not undefined on override, its deliberately set to N/A 2022-06-12 17:09:45 +10:00
a53d4896b0 now have functional add/remove manual override to existing person 2022-06-11 22:41:31 +10:00
8c78d9e633 progress towards allowing overrides. dbox can now allow finding a person and clicking them to post to back-end.. More work to make this real, for now it goes through the routes but does not update the DB, see bottom of face.py for next steps 2022-06-10 16:53:13 +10:00
b0779c2704 reorder scans/db rebuild (affects dev only), also removed unmatched faces from prod until it works - newer view pref code broke it 2022-06-10 16:50:34 +10:00
6b67488afe putting face bytea into override to allow use post face id reordering, also committing to allow once-off overrides 2022-06-10 16:49:50 +10:00
18ec0f87f5 fixed BUG-86 - last places changed from locn to tmp_locn 2022-06-10 16:49:03 +10:00
3d30d21763 adding wrong person to menu, no code to process, just the item 2022-05-28 09:25:58 +10:00
cc478cb722 new BUG-87 - faces with empty locn and no formal connection between file and face? Quick hack added to files as well to at least prevent a 500 server fault, and show it to us if it happens again 2022-04-30 19:38:08 +10:00
4a5bde559d still have a BUG with locn data format being munged in the ORM/DB 2022-03-19 11:39:54 +11:00
60c2357921 spacing 2022-03-12 22:24:04 +11:00
faeec228ca get output from gunicorn into some logs for now 2022-03-12 22:23:41 +11:00
226f6fdb3e remove old/wrong faces binary from FILE in DB 2022-02-27 00:40:06 +11:00
3f39a5d8c6 new BUG for clearing out pa_user_state in DEV rebuild data 2022-02-27 00:39:39 +11:00
e9ab49c60a with viewer, unmatched face now has img data / thumbnail, so we know what it really looks like when we choose to override - still major WIP, tables.sql also has some override types, but not convinced I have design yet 2022-02-06 23:21:23 +11:00
8625b1d217 order joblogsearch by log_date 2022-02-06 16:16:09 +11:00
3fe5f1438e quick switch off of context menu so we can push log viewing to prod 2022-02-06 16:13:12 +11:00
66eab072ce polished log button and content of dbox 2022-02-06 16:11:41 +11:00
645d419748 moved JoblogSearch to internal/js/ as it does not need any jinja processing, added button and hotkey to show logs, and brief logs into dbox - it works, but needs prettying up 2022-02-06 11:36:25 +11:00
83eff02910 added plumbing for viewer to have a joblog search for the current file 2022-02-05 23:23:10 +11:00
10cbee450f framework for a left-click menu per face that calls up a DBox with basics -- needs much more love 2022-02-04 22:33:11 +11:00
694aef038b if we use run_ai_on_path, then we remove all existing matches on the path, then go again -- allows us to change threshold and reset 2022-02-04 22:03:04 +11:00
8ef3a97eb7 use run_ai_on_path as job type, rather than find ent and pass it to run_ai_on 2022-02-04 21:57:13 +11:00
e16f7dbc30 fixed bug when get of a view is for a non-search, now that I have added search to pa_user_state ORM query 2022-02-03 21:16:51 +11:00
e1a6348967 face_size_limit added so we ignore faces that are too small 2022-02-02 21:12:14 +11:00
8b3844d882 formatting 2022-02-02 21:11:29 +11:00