Face prediction CLI using rust ORT library, Ultraface and Arcface. Iterates image folder [image_folder]
and compares faces found to [test_case_path]
.
- download the Ultra face 640 onnx model and put it in
[ultra_model_path]
- download the Arc face arcfaceresnet100-11-int8.onnx model and put it in
[arc_model_path]
- add images to
[image_folder]
- run
cargo build --release
- run
./target/release/face-prediction [ultra_model_path] [arc_model_path] [image_folder] [output_dir] [test_case_path]