Face detection Rust server 👤👤👤
Implementation of a fast face detection server using actix and ort. The model in use is the Ultra-Light-Fast-Generic-Face-Detector.
Architecture
Requirements
Model
You need to download the Ultra face detection model (version-RFB-640.onnx) and pass it through the environmental variable ULTRA_MODEL_PATH
.
Environmental variables
You need to pass the following environmental variables in an .env file.
Environmental variable | description |
---|---|
ULTRA_MODEL_PATH | path to the onnx model, ie. model/version-RFB-640.onnx |
ULTRA_THREADS | number of threads to use when running the ultra face detection neural net |