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

face_recognition_model.bin #101

Closed
perfixel opened this issue Apr 8, 2022 Discussed in #100 · 1 comment
Closed

face_recognition_model.bin #101

perfixel opened this issue Apr 8, 2022 Discussed in #100 · 1 comment

Comments

@perfixel
Copy link

perfixel commented Apr 8, 2022

Discussed in #100

Originally posted by perfixel April 8, 2022
Hello, I've come across a problem where "sometimes" my browser "chrome" fails to load the "face_recognition_model.bin" file giving me the "net::ERR_BLOCKED_BY_CLIENT" error for that file. I noticed that it's a 6 MB+ file.
In my project I only use the face detection method. I don't use anything else but detecting the faces .. is there a way to minimize this file size or the whole package to suit only my needs? like only detecting faces. no expressions or age or etc
download (8)
?

@vladmandic
Copy link
Owner

net::ERR_BLOCKED_BY_CLIENT error is almost always issue with your browser - do you have some extension installed that is misbehaving? for example, ad-blocker.

anyhow, face-api only loads models YOU specified - it does not load everything by default.
you're asking how to load only detection, but check your code - you are yourself loading different models that you say you don't need.

This issue was closed.
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

2 participants