Commit Graph

19 Commits

Author SHA1 Message Date
ee1c9b5494 all override add and remove now use new datastructures, close to be able to test / augment as per TODO 2025-10-09 23:56:27 +11:00
efaec00127 OMG, face_distance is float not int, how has this ever worked 2025-10-03 21:10:04 +10:00
b636ac08b8 update file to use new pylint settings, added types and using docstrings in goolge format with partial openapi spec 2023-06-18 22:02:33 +10:00
2a1e2d7d5d cleaned up code around json, *locn -> transitioned to top, right, bottom, left to finally fix ORM replacing [ with { <- FIXES BUG-108 2022-12-23 16:18:27 +11:00
46c0f3a06f remove temporary code to fix faces (move coords from locn to top, right, etc.) 2022-12-23 16:04:46 +11:00
120cb9bd94 remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix 2022-12-23 13:41:20 +11:00
4f80ea947a use PA class for face classes, added comments 2022-12-23 12:01:19 +11: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
a53d4896b0 now have functional add/remove manual override to existing person 2022-06-11 22:41:31 +10:00
8c78d9e633 progress towards allowing overrides. dbox can now allow finding a person and clicking them to post to back-end.. More work to make this real, for now it goes through the routes but does not update the DB, see bottom of face.py for next steps 2022-06-10 16:53:13 +10:00
de81db9412 unmatched faces now sorts size of face desc, and is slightly prettier -- still slow and only takes you to the file anyway, might optimise that later. still no code to auto deal with unmatched face, but will add some capabilities next. Also, remembered last dir when file_ip/sp/bin. Also throw error if try to find unknown person - happened since I allowed the back/forward. 2022-01-18 20:59:39 +11:00
03a2b4a9d9 updated comments 2021-08-10 21:31:09 +10:00
566985a477 put face file link here so we can see model in viewer 2021-07-29 21:41:42 +10:00
6fb0a0b5db fix up __repr__ for classes to cover model_used, face_distance fields, and viewonly used for refimg_link so we can print face_distance in viewer 2021-07-28 21:34:56 +10:00
50e28ed27c model_used is not per face, but really per file - well that is how the UI will allow this... for now 2021-07-27 17:11:45 +10:00
555ce70577 renamed AI_Model to AIModel for consistency, added it as a functioning drop-down select on settings page, added face_distance to db and code, put face_distance model_used into all classes ready for use 2021-07-25 15:13:39 +10:00
46d79ddc6a added location and refimg connections face class 2021-07-17 16:30:58 +10:00
ea663926f2 created face.py so search / ai .py can use new face linking tables 2021-06-30 14:28:43 +10:00