emotion-detector.js
Emotion recognition in Node.js, using TensorFlow.js and OpenCV.
Some Examples
Installation
npm i emotion-detector -g
How To Use It
Examples
)
Draw The Result On Given Image (Like emotion-detector draw -i /images/inputjpg -o /outputjpg -c white
Output The Result To Terminal
emotion-detector info -i /images/inputjpg// Output:// [ { face: { x: 251, y: 58, height: 82, width: 82 },// emotion: 'happy' },// { face: { x: 478, y: 73, height: 88, width: 88 },// emotion: 'happy' },// { face: { x: 24, y: 80, height: 100, width: 100 },// emotion: 'happy' },// { face: { x: 112, y: 97, height: 87, width: 87 },// emotion: 'happy' } ]