Friday 10 January 2020

404 page not found for face-api.js

I am trying to implement the face-api.js in a simple project hosted on a local IIS but I am getting the following issue

enter image description here

here is my javascript code

Promise.all([
faceapi.nets.faceRecognitionNet.loadFromUri('/models'),
faceapi.nets.faceLandmark68Net.loadFromUri('/models'),
faceapi.nets.ssdMobilenetv1.loadFromUri('/models')
]).then(start)

I added my website on IIS as follow and add a custom domain in the host file and I am browsing the website as follow: http://facelocal/index.html

enter image description here

Also my hierarchy looks like the following

enter image description here

The response is the following:

enter image description here

Can anyone help me figure out this issue?



from 404 page not found for face-api.js

No comments:

Post a Comment