init commit
This commit is contained in:
commit
0423d83311
16 changed files with 2581 additions and 0 deletions
10
models/fetch.sh
Executable file
10
models/fetch.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# Downloads the tier-1 presence face detector (UltraFace-RFB-320, ~1.2MB, MIT-licensed)
|
||||
# from the upstream Ultra-Light-Fast-Generic-Face-Detector-1MB repo.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
curl -fsSL -o ultraface-rfb-320.onnx \
|
||||
"https://raw.githubusercontent.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB/master/models/onnx/version-RFB-320.onnx"
|
||||
mkdir -p ~/.local/share/crustd/models
|
||||
cp ultraface-rfb-320.onnx ~/.local/share/crustd/models/ultraface-rfb-320.onnx
|
||||
echo "installed to ~/.local/share/crustd/models/ultraface-rfb-320.onnx"
|
||||
Loading…
Add table
Add a link
Reference in a new issue