From 7507d4c14a14f1952ce99fc253e48f3d0909e078 Mon Sep 17 00:00:00 2001 From: sairate Date: Thu, 6 Feb 2025 15:26:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(photo):=20=E4=BC=98=E5=8C=96=E7=85=A7?= =?UTF-8?q?=E7=89=87=E5=88=86=E7=B1=BB=E5=92=8C=E6=9F=A5=E8=AF=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重构了照片分类逻辑,提高了分类效率和准确性 - 新增照片查询功能,支持按姓名和日期筛选 - 优化了用户管理界面,增加了用户头像显示 -调整了照片上传和分类的前端展示效果 --- .idea/material_theme_project_new.xml | 12 + .idea/misc.xml | 3 + .idea/photo.iml | 2 +- .idea/vcs.xml | 6 + README.md | 227 ++++++----- app.py | 40 +- functions.py | 363 ++++++++---------- instance/database.db | Bin 16384 -> 0 bytes models.py | 3 +- static/styles.css | 86 +++-- static/uploads/temp/IMG_20250119_120604.jpg | Bin 3459082 -> 0 bytes .../uploads/temp/IMG_20250119_120604_face.jpg | Bin 9597 -> 0 bytes static/uploads/users/张庭嘉/photo.jpg | Bin 3459082 -> 0 bytes static/uploads/users/张庭嘉/photo_cropped.jpg | Bin 9597 -> 0 bytes templates/search.html | 5 +- templates/upload.html | 8 +- templates/user_management.html | 4 +- test.py | 2 - 18 files changed, 388 insertions(+), 373 deletions(-) create mode 100644 .idea/material_theme_project_new.xml create mode 100644 .idea/vcs.xml delete mode 100644 instance/database.db delete mode 100644 static/uploads/temp/IMG_20250119_120604.jpg delete mode 100644 static/uploads/temp/IMG_20250119_120604_face.jpg delete mode 100644 static/uploads/users/张庭嘉/photo.jpg delete mode 100644 static/uploads/users/张庭嘉/photo_cropped.jpg delete mode 100644 test.py diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml new file mode 100644 index 0000000..ef4c87e --- /dev/null +++ b/.idea/material_theme_project_new.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index e1582d9..018fcf4 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,4 +4,7 @@