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

Create node module #7

Open
bluenex opened this issue Dec 17, 2018 · 1 comment
Open

Create node module #7

bluenex opened this issue Dec 17, 2018 · 1 comment

Comments

@bluenex
Copy link
Member

bluenex commented Dec 17, 2018

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

  • what should be the module name?
  • what functions should be available?
  • should it be in a class?

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
Copy link
Member

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

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