face-api.js-models's People
Forkers
sikrinick amirunpri2018 matthewalner johnayeni aid-learning-team aidlearning xiaomao136 nisapaypay dhernz razerpride maltahs betterdevmaster johnnytal madangselvaraj mosaab-emam juliahardy kais3rp haouiha dev2820 fti-dshelke bngo42 jensen-thh takeroll aghilasclipher webstorage119 kuanyshm akshayanvekar 0xori hendras1722 rebser podeionut imatheus-lucas alivedise maravilhosinga sweetgoombaface-api.js-models's Issues
Age and Gender
Please add age and gender models and weights?
From here - https://github.com/justadudewhohacks/face-api.js/tree/master/weights
May I know how these models are generated?
I would like to know how these models are generated? I understand that face.api supports dlib for face recognition. Is there any relation between these models and dlib models.
Thanks in advance.
Always getting error, ENOENT,
Always getting error,
{
"message": "ENOENT: no such file or directory, open '../weights/tiny_face_detector_model-weights_manifest.json'",
"error": {
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "../weights/tiny_face_detector_model-weights_manifest.json"
}
}
Even if I use other models, I still get same error
Read models weight as string
Hello!,
I have saved the uncompressed model as a string in my code, with raw-loader:
Now I would like to read and get the indexes of the model string like Float32Array.
If making a fecth to a public folder works correctly:
const res = await fetch ('/ models / tiny_face_detector_model.weights');
const abuffer = await res.arrayBuffer ();
console.info ("abuffer", new Float32Array (abuffer));
But if I try to read the var string I can't decode it to get the array correctly, something like this:
import tiny_face_detector_weights from './models/tiny_face_detector_model.weights';
const abuffer = Buffer.from (tiny_face_detector_weights , 'utf-8');
console.info ("abuffer", new Float32Array (abuffer));
What encoding is the file, and how should I do it to read it correctly?
Thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.