@rvdgeer Thank you! All works perfectly now
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
A
Latest posts made by awarrington
-
RE: Facial Recognition - customize your mirror for every user!
-
RE: Facial Recognition - customize your mirror for every user!
@paviro thanks creating such a cool module!
I have followed the instructions to capture the training images and have successfully created a training.xml file :)When I add the MMM-Facial-Recognition module to my Magic Mirror config.js file I get “WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration” in the terminal and the Magic Mirror shows an error page saying config.js not found.
My config.js is:
var config = { port: 8080, language: 'en', timeFormat: 12, units: 'metric', modules: [ //------------------------------------------------- { module: 'clock', position: 'top_left' classes: 'everyone' }, //------------------------------------------------- { module: 'compliments', position: 'lower_third' classes: 'andy' }, //------------------------------------------------- { module: 'MMM-Facial-Recognition', config: { recognitionAlgorithm: 1, lbphThreshold: 50, fisherThreshold: 250, eigenThreshold: 3000, useUSBCam: false, trainingFile: '/home/pi/MagicMirror/modules/MMM-Facial-Recognition/training.xml', interval: 3, logoutDelay: 15, users: ['andy'], defaultClass: "default", everyoneClass: "everyone" } }, //------------------------------------------------- ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
If I comment out " classes: ‘everyone’ " and " classes: ‘andy’ " in the other modules the MagicMirror loads with no errors but blank black screen.
Any ideas what’s causing this ?
Thanks