Node JS - Oxford Emotion
Small library that incorporates Microsoft's project Oxford Emotion Recognition
Installation
npm install node-oxford-emotion --save
Usage
URL:
var oxfordEemotion = api-key var emotion = oxfordEmotion;
Local Image:
var oxfordEemotion = api-key var emotion = oxfordEmotion;
You need to read the file as binary data. You can use this function:
{ var bitmap = fs; return bitmap'binary';}
You also need to parse the response using JSON.parse() if you input binary file.
TODOS
Nothing.
Project Oxford Documentation
Release History
- 1.0.0 Initial Release
- 1.0.1 Add callback
- 1.0.2 Add support for local images
- 1.0.4 Fix typo in README