14 Commits

Author SHA1 Message Date
ab6c91d540 use new face_top, etc. rather than tmp_locn, partial fix for BUG-108 2022-12-23 13:20:45 +11:00
8921e5dbcd Fixed BUG-89 -- face_locn -> tmp_locn 2022-07-10 20:28:58 +10:00
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +11:00
bf04c862d6 first pass of allowing to scan for all files in import and storage paths <- works, and showing all unknown faces to handle them somehow - very rudimentary 2022-01-10 01:20:20 +11:00
59c72f9aee moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path 2021-08-15 00:26:27 +10:00
b7d346c206 model_used is now per file, not per face, implemented split of default_model to default_refimg_model and default_scan_model in settings, and default_refimg_model actualy works when creating refimgs in person.py. The model_used in face_file_link is based on default settings model and will scan with cnn if chosen and store that in DB as needed. Need viewer to allow changing per file / not just default for future scans 2021-07-27 17:14:03 +10:00
07408278b1 more bootstrap 5 fixes 2021-07-22 19:53:09 +10:00
7e360270a7 make use of row / col consistent to fix up odd title/buttons wrong left-hand margin / sizing 2021-07-19 18:45:57 +10:00
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
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
2776fdc5b3 fixed bug with creating a person and seeing if they have a refimg yet, also tweaked formatting so when we have more than 5 refimages, they will look right in person.html 2021-01-15 17:22:22 +11:00
Cam
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
Cam
7cda51c89b starting on doing AI with people and refimgs 2021-01-15 15:33:56 +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