fix origin glitch
This commit is contained in:
parent
8d2c3601d5
commit
dc5fba2e5a
1 changed files with 4 additions and 4 deletions
8
dist/static/assets/webcam.js
vendored
8
dist/static/assets/webcam.js
vendored
|
@ -93,10 +93,10 @@ const detection_options = {
|
||||||
withLandmarks: true,
|
withLandmarks: true,
|
||||||
withDescriptors: false,
|
withDescriptors: false,
|
||||||
minConfidence: 0.5,
|
minConfidence: 0.5,
|
||||||
Mobilenetv1Model: location.origin + '/assets/faceapi',
|
Mobilenetv1Model: '/assets/faceapi',
|
||||||
FaceLandmarkModel: location.origin + '/assets/faceapi',
|
FaceLandmarkModel: '/assets/faceapi',
|
||||||
FaceLandmark68TinyNet: location.origin + '/assets/faceapi',
|
FaceLandmark68TinyNet: '/assets/faceapi',
|
||||||
FaceRecognitionModel: location.origin + '/assets/faceapi',
|
FaceRecognitionModel: '/assets/faceapi',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue