说明书

This commit is contained in:
2024-12-15 20:45:13 +08:00
parent af5cfcb370
commit 7d0d76acbb
3 changed files with 56 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
wget https://github.com/davisking/dlib-models/raw/refs/heads/master/shape_predictor_68_face_landmarks_GTX.dat.bz2
wget https://github.com/davisking/dlib-models/raw/refs/heads/master/dlib_face_recognition_resnet_model_v1.dat.bz2
mkdir cache
mkdir models
mv dlib_face_recognition_resnet_model_v1.dat.bz2 models/
mv shape_predictor_68_face_landmarks_GTX.dat.bz2 models/
cd models
bzip2 -d dlib_face_recognition_resnet_model_v1.dat.bz2
bzip2 -d shape_predictor_68_face_landmarks_GTX.dat.bz2
echo initialized enviorment!