MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. awarrington
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 0

    awarrington

    @awarrington

    0
    Reputation
    393
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    awarrington Unfollow Follow

    Latest posts made by awarrington

    • RE: Facial Recognition - customize your mirror for every user!

      @rvdgeer Thank you! All works perfectly now

      posted in Troubleshooting
      A
      awarrington
    • 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

      posted in Troubleshooting
      A
      awarrington