Achieve NPM compatibility#236
Conversation
|
In the check of Travis CI, an error occurs: /home/travis/build/eduardolundgren/tracking.js/node_modules/runsequence/node_modules/chalk/index.js:2 Maybe the version of Node.js need to be upgraded on Travis CI? Could anyone help me to check it? I have just sent a new PR trying to solve the problem. #237 |
|
That's awesome! We definitely need to be more npm-friendly. |
| var height; | ||
|
|
||
|
|
||
| // FIXME here the video display size of the analysed size |
There was a problem hiding this comment.
@JoshuaTang please drop these comments fro this PR.
|
Hi everyone, I'm @JoshuaTang's Google Summer of Code mentor, and we are in the process of using your library for face detection in Jitsi Meet. Here is his work so far, for the curious: jitsi/jitsi-meet#1666 He also made several other improvements which he'll be making PRs for shortly. Thanks a lot for making the library available and I hope our contributions can be incorporated in the project. Cheers! |
|
@JoshuaTang Please make a commit updating the travis file, using Node 6 as the runtime, since that's the current LTS version. |
Hi,
The original tracking.js library does not support NPM modules well, and it's difficult to directly use it in Node.js or front-end ES6 development. I added some code to export tracking, eye, face, and mouth (three object classifiers) objects in CommonJS modules. In this case, tracking.js will be totally NPM compatible.
The original examples are kept intact, and all tests pass.
Any ideas about the PR? Thank you.