feat: basic function for management of people

- recognize people info by input text or image
- create a people and save into relational database and vector database and object storage
- delete a people by people id
- get peoples with pagination and fitlers by gender, age and height
- get peoples with topN and searching by nature language
This commit is contained in:
2025-10-09 22:07:03 +08:00
parent 7cea2eb8a5
commit 52d1bc5cf4
19 changed files with 1327 additions and 0 deletions

16
test/test_logger.py Normal file
View File

@@ -0,0 +1,16 @@
import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__), '../src'))
from utils.logger import init
import logging
# 初始化日志
init()
# 测试不同级别的日志
logging.debug("这是一条调试信息")
logging.info("这是一条普通信息")
logging.warning("这是一条警告信息")
logging.error("这是一条错误信息")
logging.critical("这是一条严重错误信息")