- 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
16 lines
410 B
Python
16 lines
410 B
Python
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("这是一条严重错误信息") |