|
|
f394e39c2f
|
refimgs now contain face, orig_w, orig_h and face_locns. This is done via json.* to allow arrays to be saved/loaded back into face_locn - not useful for refimg as there has to be only 1, but tested for images where there will be many faces. This commit has a fair few changes. So overall, no more refimg menus/creation. You now create a person (the add button is hidden until you save), when you save you go back to the person you created rather than the list of persons. From there you can click add ref img, and it will create a thumbnail, and draw a green box around the face locations based on the data. Persons can have many refimgs, and they will all work the same, be formatted prettily no matter how many you have. Each refimg "tab" not only has the thumbnail, but also a red X click to delete button that will remove all refimg data and connection to the person table too. This all works/is tested.
|
2021-07-11 22:35:59 +10:00 |
|
|
|
17180d9f24
|
removed debugs
|
2021-07-06 17:44:26 +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 |
|
|
|
6f95260ce2
|
remove new from fname, doh!
|
2021-07-04 20:18:58 +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 |
|
|
|
371e2af64b
|
added python ldap / login pages
|
2021-06-26 09:20:11 +10:00 |
|
|
|
6d071f14dd
|
fixed up a few issues found from linter
|
2021-03-19 18:03:00 +11:00 |
|
|
|
18b8a30140
|
Fixed BUG-11: we have changed to file_refimg_link table (from file_person_link), this means we now have some optimisations, and can definitely re-run AI jobs without crashing. Several optims could still be done - see TODO
|
2021-01-25 01:05:30 +11:00 |
|
|
|
c976858c27
|
fix file_eid->file_id to match db
|
2021-01-22 21:15:15 +11:00 |
|
|
|
01d0663e16
|
fix bug with id not eid
|
2021-01-22 18:41:46 +11:00 |
|
|
|
45c06dd218
|
remove unnecessary import
|
2021-01-19 17:30:13 +11:00 |
|
|
|
e138ab22aa
|
git commit, converted over to base.html pulling Status*, rather than every render_template calling it. Tightened up naming for job manager, fixed a few bugs in there with items like div by zero, created the active jobs link/badge in navbar, have it invoked each time by base.html template and it gets active jobs from DB, pa_job_manager now initiliases from an empty DB and can work out where it is at, no loop/thread/or actual job code yet. jobs.py has basics of a NewJob(), so next step is to force that job to be executed in pa_job_manager, but its tea time
|
2021-01-16 17:51:16 +11:00 |
|
|
|
588980a260
|
Added the ability to add a reference image to a person, and connect the two in the db
|
2021-01-15 16:55:12 +11:00 |
|
|
|
7cda51c89b
|
starting on doing AI with people and refimgs
|
2021-01-15 15:33:56 +11:00 |
|
|
|
a93f9e1da8
|
changed files table to file to be consistent with other tables in the db
|
2021-01-14 21:58:20 +11:00 |
|
|
|
ed3a85b8f0
|
added reference image class, also tweaked DB classes to have foreign keys, so you cant delete a person connected to a file (tested). Also made refimg class do some quirky bootstrap/jquery to get file dialogs not looking like crap
|
2021-01-12 23:58:12 +11:00 |
|
|
|
a3a95f636e
|
now have a Person class & associated CReate/Update/Delete functions, and menu in base.html
|
2021-01-12 21:51:33 +11:00 |
|