vladmandic / face-api

FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS
https://vladmandic.github.io/face-api/demo/webcam.html
MIT License
824 stars 149 forks source link

Slowlinees loading models #156

Closed nazzour closed 1 year ago

nazzour commented 1 year ago

Issue Description First of all, thank you for your great work. I made some tests on mobile phones and it works well. The only problem is that it takes time to load the models when we first launch the web page. IT takes about 10 seconds. Steps to Reproduce npm run dev open the web page on mobile phone Expected Behavior Loading could be faster maybe **Environment ubuntu for server and iphone 11 for client

Additional I dont know if it is possible but maybe there is a way to load the models faster. I tested both webgl and wasm backends. Thank you

vladmandic commented 1 year ago

loading is already heavily optimized and without specific issue, not much i can do. i'm closing the issue for now - if there is anything specific that should be looked at, i can reopen it.