tupleblog / face-classification-js

Face classification on JavaScript
https://tupleblog.github.io/face-classification-js/
MIT License
35 stars 5 forks source link

Create node module #7

Open bluenex opened 5 years ago

bluenex commented 5 years ago

We should create node module out of this project. Let's discuss how we should make it.

For example, the simplest function could be:

import { FaceDetector as fd } from 'face-classification-js';

const result = fd.classifyFace('image-of-face.png');

console.log(result.emotion);

Let's gather more information about this @kittinan @titipata @bachkukkik!

kittinan commented 5 years ago

Face image input must have size 64x64 px, see this file for preprocessing util.js