A backend service built using the FastAPI framework, providing API interfaces for "Is It There" and incorporating algorithm modules.
In the main project directory, main.py
serves as the main entry file, which will automatically download the model upon startup.
The app
folder contains the core FastAPI code files, including:
config.py
: Configuration filerouters.py
: Routing fileutils.py
: Utility filemodels.py
: Request body created primarily for token exchange with Flutterdatabase.py
: Database file
The face
folder houses facial recognition-related code, containing the DeepFace for facial recognition and 6DRepNet for head pose estimation.
The library
folder stores resource files, including video and image files.
The model
folder stores model files, including the head pose model and YOLO face detection model. Download links are as follows: