Files
open-cv-experiment/实验八/init_enviorment.ps1
T
2024-12-15 20:45:13 +08:00

11 lines
540 B
PowerShell

mkdir models
mkdir cache
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
Move-Item dlib_face_recognition_resnet_model_v1.dat.bz2 models/
Move-Item shape_predictor_68_face_landmarks_GTX.dat.bz2 models/
Set-Location models
7z x dlib_face_recognition_resnet_model_v1.dat.bz2
7z x shape_predictor_68_face_landmarks_GTX.dat.bz2
Write-Output initialized enviorment!