Files
face-detector/Makefile.toml
uttarayan21 4256c0af74
Some checks failed
build / checks-matrix (push) Successful in 19m22s
build / codecov (push) Failing after 19m22s
docs / docs (push) Failing after 28m50s
build / checks-build (push) Has been cancelled
feat(makefile): add conversion task and update model binaries
2025-08-28 13:43:23 +05:30

39 lines
606 B
TOML

[tasks.convert]
dependencies = ["convert_facenet", "convert_retinaface"]
workspace = false
[tasks.convert_facenet]
command = "MNNConvert"
args = [
"-f",
"ONNX",
"--modelFile",
"models/facenet.onnx",
"--MNNModel",
"models/facenet.mnn",
"--fp16",
"--bizCode",
"MNN",
]
workspace = false
[tasks.convert_retinaface]
command = "MNNConvert"
args = [
"-f",
"ONNX",
"--modelFile",
"models/retinaface.onnx",
"--MNNModel",
"models/retinaface.mnn",
"--fp16",
"--bizCode",
"MNN",
]
workspace = false
[tasks.gui]
command = "cargo"
args = ["run", "--bin", "gui"]
workspace = false