fix origin glitch

This commit is contained in:
Ruben van de Ven 2020-09-07 15:00:21 +02:00
parent 8d2c3601d5
commit dc5fba2e5a

View file

@ -93,10 +93,10 @@ const detection_options = {
withLandmarks: true,
withDescriptors: false,
minConfidence: 0.5,
Mobilenetv1Model: location.origin + '/assets/faceapi',
FaceLandmarkModel: location.origin + '/assets/faceapi',
FaceLandmark68TinyNet: location.origin + '/assets/faceapi',
FaceRecognitionModel: location.origin + '/assets/faceapi',
Mobilenetv1Model: '/assets/faceapi',
FaceLandmarkModel: '/assets/faceapi',
FaceLandmark68TinyNet: '/assets/faceapi',
FaceRecognitionModel: '/assets/faceapi',
}