Running facial recognition and instagram?



  • Hi everyone!
    I have the facial recognition module working as well as the instagram module, but only separately. When I run my MM with both active, only the facerec is working and the instagram module isn’t showing anything at all.

    Wont they both work at the same time? Or is the computational demand too heavy to run them both (with some other minor stuff)?

    Here is my config.js
    /* Magic Mirror Config Sample

    var config = {
    port: 8080,
    language: ‘en’,
    timeFormat: 24,
    units: ‘metric’,
    //kioskmode: ‘true’,
    modules: [
    // {
    // module: ‘alert’,
    // },
    {
    module: ‘clock’,
    position: ‘top_left’,
    classes: ‘default everyone’

    	},	
    {
    	  module: 'MMM-Instagram',
        	  header: "x Instagram Feed",  
    	    position: 'top_right',
    	    classes: 'default everyone',
    	    config: {
    	        access_token: 'my_key',
    	        count: 20,  
    	        min_timestamp: 0,
    	        animationSpeed: 2500,
    	        updateInterval: 12500
    	    }
    },
    	{
    		module: 'faceemployee',
    		position: 'middle_center',
    		//shown for 
    		classes: 'Ella'
    	},
    	{
    		module: 'faceemployee',
    		position: 'middle_center',
    		//shown for Marcus
    		classes: 'Marcus'
    	},
    	{
    		module: 'faceemployee',
    		position: 'middle_center',			
    		classes: 'Christer'
    	},
    	{
    		module: 'compliments',
    		position: 'middle_center',
    		classes: 'default' //Replaced when a user is logged in!
    	},
    	{
        		module: "MMM-ResRobot",
        		position: "top_left",
        		header: "Ferry Departure Time ",  
      			classes: 'default everyone',
    		config: {           		
    		from: "740059355",//"740025697",// 0 will truncate direction name at first space after  characters. 0 = no truncation
            		apiKey: "my_key"
        		}
    		},
    {
    		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: 50,
    			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: 8,
    			// Array with usernames (copy and paste from training script)
    			users: ['Marcus', 'Josue ', 'Ella ', 'Christer '],
    			//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"
    		}
    	},	
    	{
    		module: 'newsfeed',
    		position: 'bottom_bar',
    		classes: 'default everyone',
    		config: {
    			feeds: [
    				{
    					title: "News",
    					url: "http://nyhetsbrev.viktoria.se/feed/"
    				}
    			],
    			showSourceTitle: true,
    			showPublishDate: true
    		}
    	},
    	
    ]
    

    };
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== ‘undefined’) {module.exports = config;}


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.