Before building, you need to get the onnx file.
curl "https://raw.githubusercontent.com/Star-Clouds/CenterFace/master/models/onnx/centerface.onnx" \
-o centerface.onnx --create-dirs
cargo run --package wasabi --bin detect image.jpg
https://hayashikun.github.io/wasabi/
cd web
npm run dev
cd proxy-wasm
cargo build --release -p proxy-wasm --target wasm32-unknown-unknown
docker-compose up
curl -X POST -H 'Content-Type: image/jpeg' \
--data-binary @resource/image.jpg http://localhost:10000
Only JPEG image (640x480 px) is supported.