MINI
C:
/
xampp
/
htdocs
/
absensi-face
/
Upload File:
files >> C:/xampp/htdocs/absensi-face/download-models.bat
@echo off REM Download face-api.js models to the "models" folder (Windows) REM Requires PowerShell and internet access. setlocal if not exist models mkdir models echo Downloading models... powershell -Command ^ "$urls = @('https://github.com/justadudewhohacks/face-api.js/raw/master/weights/face_recognition_model-weights_manifest.json','https://github.com/justadudewhohacks/face-api.js/raw/master/weights/face_recognition_model-shard1','https://github.com/justadudewhohacks/face-api.js/raw/master/weights/face_landmark_68_model-weights_manifest.json','https://github.com/justadudewhohacks/face-api.js/raw/master/weights/face_landmark_68_model-shard1','https://github.com/justadudewhohacks/face-api.js/raw/master/weights/tiny_face_detector_model-weights_manifest.json','https://github.com/justadudewhohacks/face-api.js/raw/master/weights/tiny_face_detector_model-shard1'); foreach($u in $urls){ $n = Split-Path $u -Leaf; Write-Host 'Downloading ' $n; Invoke-WebRequest -Uri $u -OutFile (Join-Path 'models' $n) }" echo Done. Check models\ folder. pause
Copyright ©2021 || Defacer Indonesia