Commit Graph

744 Commits

Author SHA1 Message Date
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
ef3cb3fb6f added in DB tables for new face DB structures/links 2021-06-28 17:05:52 +10:00
31db4fcca1 added in DB tables for new face DB structures/links 2021-06-28 17:03:13 +10:00
a6782c24ff if you dont pass an FLASK_ENV, we now assume development 2021-06-28 17:02:41 +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
76d278c37a instructions for upstream bootstrap improved, to note font awesome needs work as I think only I can download 2021-06-27 14:31:26 +10:00
f12b48f38d Merge branch 'master' of 192.168.0.2:photoassistant 2021-06-27 14:30:39 +10:00
68d1fcac60 fix BUG with non-existant path causing re-render of previous path 2021-06-27 14:30:33 +10:00
c-d-p
26ba27cc0d updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works 2021-06-27 14:27:46 +10:00
c-d-p
ade3745024 spacing 2021-06-27 14:26:51 +10:00
4bda64ca17 hide prod DB inside docker network so only paweb can get to prod, created a new DEV DB on port 65432 and if FLASK_ENV is development you get that one 2021-06-27 13:12:42 +10:00
1c2612e2cb spacing 2021-06-27 13:11:49 +10:00
0c4da6e4af updated TODO for set of next steps to start on AI for real 2021-06-26 17:33:21 +10:00
ce296426ab login code 2021-06-26 16:48:15 +10:00
798d548ee9 Made saved users be in the DB 2021-06-26 16:48:05 +10:00