Skip to content

Darksecond/libsnout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libsnout

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.

Building libsnout

Make sure you have onnxruntime and opencv installed.

On fedora it's:

dnf install onnxruntime onnxruntime-devel opencv opencv-devel llvm llvm-devel

Compiling

export ORT_PREFER_DYNAMIC_LINK=1
cargo build -F ffi

Generating snout.h

cargo install --force cbindgen
cbindgen --config cbindgen.toml --output snout.h

Building and running frontend

Make 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-frontend

License

Right now it's licensed under the same license as Baballonia from Project Babble is, considering this is a derivative work.

About

Rust library for face and eye tracking based on project babble

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages