Commit Graph

708 Commits

Author SHA1 Message Date
ce81898a07 another useful sql for finding usable list of filenames that equate to a search 2021-07-11 22:32:03 +10:00
e622774c0f made GenThumb return thumb and orig_w, orig_h - not sure this stays, but for optimising it prob. will -- its not being used in pa_job_mgr yet, and that will see the final version of this 2021-07-11 22:31:37 +10:00
955df598ee remove encodings, add face, orig_w, orig_h, face_locn to refimg table AND remove DEV refimg data, it needs to be done in the UI now 2021-07-11 22:30:57 +10:00
32209d9ba6 added tiny thumbnails to person list 2021-07-11 22:30:01 +10:00
cd6a42088d remove old refimg.encodings generation, we now do this when we make a person/refimg, so its always done before an AI job needs to use it 2021-07-11 22:29:38 +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
8b857bf994 Fixed: BUG-40: RunAI file counts broken 2021-07-06 17:45:15 +10:00
17180d9f24 removed debugs 2021-07-06 17:44:26 +10:00
3c56cac1ef fix up selections to work with ctrl/shift and right-click -- its a bit clunky but works, redid numbering to make that work and condensed down to 1 common code block for context menu for figures and dirs now 2021-07-06 17:40:53 +10:00
95303fafac fixed BUG-41 and 43, via new refimg -> person code changes 2021-07-05 16:53:00 +10:00
2e06c0b285 moved class Refimg to person, and ditched all other routes/direct access to ref images, they are only a part of Person in UI now 2021-07-05 16:51:44 +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
95b8b4e17b 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:02 +10:00
9fe8289239 make this at least work with new DB structures, remove dead code - BUT prob. delete routes? 2021-07-04 20:19:27 +10:00
6f95260ce2 remove new from fname, doh! 2021-07-04 20:18:58 +10:00
9e3612578c use new shared version of GenThumb, add face / thumb into refimg class - still need much more to optimise refimg usage/creation in AI jobs, but it works 2021-07-04 20:08:18 +10:00
e26c992c0f make it clear if we are on DEV or PROD -> pass env thru app.config to base.html 2021-07-04 20:06:53 +10:00
d608531cab reference images are now added in person.py (and removed) as buttons on person page. Will need to re-think the whole of refimg.py 2021-07-04 20:06:17 +10:00
d3df3ad754 make it clear if we are on DEV or PROD 2021-07-04 20:06:04 +10:00
ddc9b18e3e reference images now create thumb and face on first association, so have DB for that 2021-07-04 20:05:47 +10:00
388c3eed9b reference images are now added in person.py (and removed) as buttons on person page. Will need to re-think the whole of refimg.py 2021-07-04 20:05:15 +10:00
b811f8710e moved GenFace and GenThumb common code into shared, and hook it in both f/e and b/e where needed 2021-07-04 20:04:25 +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
c1177b7c0f if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:01 +10:00
91322d438c dont chown -R the whole of static, as the build process will follow symlinks -- we dont want that, so just do the top-level of static 2021-07-03 12:03:56 +10:00
120c2f3a77 several BUGs on refimgs/AI now we are using it in anger 2021-07-03 12:03:00 +10:00
ff2feaf7ae fixed TODO for ProcessRecycleBinDir, added thoughts on rewrite of refimg 2021-07-03 12:02:25 +10:00
8818888596 make sure force delete removes face links too. removed extra job debug logs. rewrite of ProcessRecycleBinDir to never import content, just call AddPath appropriately 2021-07-03 12:01:51 +10:00
f66552bf81 BUG-42 is actually because there was bin remnants on restart of pa_job... need to fix that 2021-07-02 17:37:31 +10:00
a7e6530750 new bugs 2021-07-01 21:57:11 +10:00
f6a92d749f added really large amounts to dups to process at once, so we can still get them all on a page if we really want 2021-07-01 21:56:59 +10:00
848cdeacc5 added some handy SQLs/commands for AI when logs suck 2021-07-01 21:55:35 +10:00
d7e74ec53a removed todo on doing AI, and added new ones 2021-07-01 21:55:17 +10:00
afee300471 quick hack to allow one time AI: at start of search to only call AI 2021-07-01 21:54:52 +10:00
1cfb07903b slightly improve ai stats 2021-07-01 21:54:26 +10:00
2b20160deb search now uses new face linking tables 2021-06-30 14:31:12 +10:00
b084f5d951 copy ref images over to make it easier for rebuilds 2021-06-30 14:31:00 +10:00
d74df55e58 now using new face linking code, and working, removed many debugs, needs work (around log commits). Also put a quick hack to create Bin path on init, but need to rethink this bit 2021-06-30 14:29:28 +10:00
ea663926f2 created face.py so search / ai .py can use new face linking tables 2021-06-30 14:28:43 +10:00
78713a6767 updated stats to use new face tables and be more useful now amount of matches is in the thousands 2021-06-30 14:28:15 +10:00
c-d-p
f2bb87c424 Merge branch 'master' of mara.ddp.net:photoassistant 2021-06-29 15:46:07 +10:00
c-d-p
818fdaa685 updated job manager to (theoretically) work for ai, but i havent tested the comparison code yet 2021-06-29 15:46:04 +10:00
61b7a3e457 updated DEV for Cams paths 2021-06-29 15:46:02 +10:00
c-d-p
643208f35f fixed the import path to be able to select all of the people under the ai context menu 2021-06-29 15:43:28 +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