Commit Graph

1172 Commits

Author SHA1 Message Date
8d406c889f back to DEV for settings insert 2022-08-03 17:54:31 +10:00
d833f724f1 formatting 2022-08-03 17:54:16 +10:00
70521501ab make pa_exifautotran be more specific - only "skip" the known SOS error, and dont touch file if the output of the rotate is 0 bytes -- JUST IN CASE 2022-08-03 17:54:00 +10:00
7ad75830e2 fixed up pa_metadata content to be docker ignored on copy from Dockerfile 2022-08-03 17:52:05 +10:00
8575423a7e BUG-103 thumbnails not rotating, fixed (was a Samsung dodgy photo, and over-caution util to rotate, fixed by tweaking my own verson of that util 2022-08-02 18:50:50 +10:00
91b5e1b6d2 created own version of exifautotran (placed into utils), and call it from ./ in non PROD and explciti /code in PROD - it deals with the Samsung created images with invalid SOS which dont autorotate 2022-08-02 18:47:24 +10:00
5221e330c1 Fixed BUG-102 cant switch to folder view 2022-08-02 17:55:10 +10:00
a8af00fe66 big change to get metadata working fully in DB and on Filesystem, and recover from most common scenarios, improved GUI as well for allowing an immediate search after adding refimg as well 2022-08-01 23:44:38 +10:00
391b61f3c4 first pass at keeping overrides on face delete - should at least stop code crashing if you try to delete faces from DB and they still had a matching override 2022-07-28 21:23:34 +10:00
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