This is a rust implementation of Project Babble's baballonia face tracking sofware. It's designed to be a library; easy to integrate in a variety of frontend projects.
Make sure you have onnxruntime and opencv installed.
On fedora it's:
dnf install onnxruntime onnxruntime-devel opencv opencv-devel llvm llvm-develexport ORT_PREFER_DYNAMIC_LINK=1
cargo build -F fficargo install --force cbindgen
cbindgen --config cbindgen.toml --output snout.hMake sure to grab the faceModel.onnx file from the baballonia repo.
export ORT_LIB_PATH=/usr/lib64/
export ORT_PREFER_DYNAMIC_LINK=1
cargo run -p snout-frontendRight now it's licensed under the same license as Baballonia from Project Babble is, considering this is a derivative work.