MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Module Swapping very slow

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 1 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      loginname
      last edited by loginname

      I’m working with the Face-recognition module of paviro and it’s working well except all modules are shown in the beginning even tough i didn’t mark them with the default or everyone classes. And secondly when it recognizes me it takes around 10-15sec untill the modules disappear. Is that normal?

      1 Reply Last reply Reply Quote 0
      • L Offline
        loginname
        last edited by loginname

        I’m sorry i got that wrong the time delay was because it waited till it logged out. But I still have a problem: When i start the Magicmirror all modules are shown eventough i didn’t mark them as default or everyone. It recognizes me (Hello User 1) but all modules appear wether they are marked for User 1 or User 2. so it seems it can not differ between the Users. Anyone familiar or does anybody knows where to troubleshoot?

        Snippet from config file:

        modules: [
        		{
        			module: "alert",
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},		
        
        
        		{
        			module: "clock",
        			position: "top_right",
        			
        		},
        		
        
        		
        		 {
        		module: 'MMM-germanwordclock',
        		position: 'bottom_left',
        		classes: 'User1',
        	},
        
        
        
        		{
          		  module: 'MMM-ethereum',
           		 position: 'top_right',
        		classes: 'User2',
           		 config: {
             		 updateInterval: 30000,
            		  exchange: "kraken",
        		
           		 }
          		},
        
        
        
        		{
        	module: 'MMM-Facial-Recognition',
        	config: {
        		// 1=LBPH | 2=Fisher | 3=Eigen
        		recognitionAlgorithm: 1,
        		// Threshold for the confidence of a recognized face before it's considered a
        		// positive match.  Confidence values below this threshold will be considered
        		// a positive match because the lower the confidence value, or distance, the
        		// more confident the algorithm is that the face was correctly detected.
        		lbphThreshold: 110,
        		fisherThreshold: 250,
        		eigenThreshold: 3000,
        		// force the use of a usb webcam on raspberry pi (on other platforms this is always true automatically)
        		useUSBCam: false,
        		// Path to your training xml
        		trainingFile: 'modules/MMM-Facial-Recognition/training.xml',
        		// recognition intervall in seconds (smaller number = faster but CPU intens!)
        		interval: 3,
        		// Logout delay after last recognition so that a user does not get instantly logged out if he turns away from the mirror for a few seconds
        		logoutDelay: 5,
        		// Array with usernames (copy and paste from training script)
        		users: ['User1', 'User2'],
        		//Module set used for strangers and if no user is detected
        		defaultClass: "default",
        		//Set of modules which should be shown for every user
        		everyoneClass: "everyone",
        		// Boolean to toggle welcomeMessage
        		welcomeMessage: true
        	}
        },
        
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy