mood-monitor

Making an open-source and relatively lightweight face-mood monitoring tool for various live input

Goals

Example

For instance:

from mood-monitor import face;

let variables = { 
	"width":100,
	"height":100,
	"mouth": "1.0", // a float between -1 and 1
	"eyes": "0.5", // a float between 0 and 1
	"eyebrowFactor": "0.75", // a float between -1 and 1 (can extend for emphasis)
	"eye-bags": "0.5", // a float between 0 and 1
	"cheeks": "0.5" // a float between 0 and 1
	};

$("that-div").html(face(variables));

Or

from mood-monitor import expression;

let variables = {
	"width":100,
	"height":100,
	"stressed":"0.5",
	"happy":"0.3"
	};

$("that-div").html(expression(variables));

Other variables or characteristics could be implemented as well.

License

This should be considered open source. Beer code license applies.

References

Azure Facial Detection example

Some other face readers

This Readme on github pages

The example implementation

TODO:

Switch to using template literals Template Literals