Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser performance problems with new versión. #76

Open
unesco-iesalc opened this issue Oct 14, 2022 · 2 comments
Open

Browser performance problems with new versión. #76

unesco-iesalc opened this issue Oct 14, 2022 · 2 comments
Assignees

Comments

@unesco-iesalc
Copy link

unesco-iesalc commented Oct 14, 2022

I just check the new version, and implements a new feature that detect if there is a face in the camera. This is a great feature.
I checked this feature, with a quiz, configured with one question per page,and when loading the page with a new question, the browser freezes many seconds.
I check the code, and it seem uses, face-api.js for face detection. I think it's loading and configuring the face detection model in each page.
I think the problem are using ssdMobilenetv1, that its a very heavy model.
I just checking change the detector to tinyFaceDetector, that it's a simpler model and the performance it's much better.
If you wish i can send yo a patch with this change, but it's a very simple change.

Thanks in advance.

@solanye
Copy link

solanye commented Sep 25, 2023

Hi,
I'm having the same problem, and I have no idea what to do, how do you change the detector or would you send me the patch?. Thank you in advance.

@AhnafMuttaki
Copy link
Collaborator

We have used the model because of the accuracy. We will shortly give an update to this plugin with a fix. Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants