Commit Graph

963 Commits

Author SHA1 Message Date
96810fa1e3 can now do an AI search if we add refimg to new/existing person, cleaned up that dialog to look better with buttons for those options rather than a link. Noticed BUG-100, 2 x mich in one image 2022-07-28 18:16:10 +10:00
6135481395 I think the 0 choices 0 files-havent seen it in months, let it go 2022-07-28 17:29:52 +10:00
24bcfa0aab now have a NewJob used in pa_job_mgr and it does not set start_time until it starts, caters for BUG-97 (restarting jobs resetting start times) 2022-07-23 00:33:04 +10:00
750b903a9d using python unbuffered (-u) on job mgr to force output into log file 2022-07-21 22:56:50 +10:00
0c3da4741c update to allow ffmpeg-python 2022-07-21 22:40:56 +10:00
9164b2c9f6 use python-ffmpeg (run external ffmpeg) to generate video thumb as it also auto-rotates 2022-07-21 20:59:05 +10:00
0ea6a38269 remove debugs 2022-07-21 20:56:18 +10:00
8646b3b8c2 quick fix/hack for unmatched faces 2022-07-19 21:23:32 +10:00
fd79ee2cf4 fix BUG-98 (user cancel of a job not dealing with dependant jobs) & constrain the width of the chosen face in DBox for overrides/create refimg 2022-07-19 20:45:54 +10:00
382647a91b now can create a new person and refimg from viewer - all works 2022-07-17 23:03:46 +10:00
4f63e09946 removed debug 2022-07-17 23:03:12 +10:00
fc62bd274e video tag in browser not dealing with mpeg1/2 is not a bug, its a potential todo item 2022-07-17 18:31:59 +10:00
cf1851fe85 updated several BUGS/TODOs in previous commits 2022-07-17 16:46:35 +10:00
9f0dd2ba94 fix up extra debug / file_cnts on RunAIOn job -- when we fix logging, fix this properly 2022-07-17 16:45:56 +10:00
f62eaef1cd fixed BUG-96 (no longer wrapped name of file for image viewer) 2022-07-17 16:45:11 +10:00
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