• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Facial Recognition - customize your mirror for every user!

Scheduled Pinned Locked Moved Troubleshooting
215 Posts 55 Posters 460.9k Views 57 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.
  • E Offline
    Escenda
    last edited by Nov 25, 2016, 10:50 AM

    I got this problem as well. I had it working but just got a spy cam and had to rpi-update today. Now only “everyone” and “default” classes work. Starting a module with a custom class doesnt work anymore for some reason?

    1 Reply Last reply Reply Quote 0
    • A Offline
      Aly
      last edited by Aly Nov 29, 2016, 10:14 AM Nov 29, 2016, 10:10 AM

      Hey everyone,

      I have also followed the instructions referring taking pics and creating the training file.

      If I “start” the MagicMirror nothing happened - only white screen.
      If I “start” it without the MMM module (commented it out) everything is working.

      Here my config.js:

      var config = {
      	port: 8080,
      
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      //--------------------------------------------------------------------
      		{
      			module: 'clock',
      			position: 'top_left',
      			classes: 'everyone'
      		},
      //---------------------------------------------------------------------
      		{
      			module: 'calendar',
      			header: 'Österreich Feiertage',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.calendarlabs.com/templates/ical/Germany-Holidays.ics'
      					}
      				]
      			}
      		},
      //------------------------------------------------------------------------
      		{
      			module: 'compliments',
      			position: 'lower_third',
      			classes: 'Markus'
      		},
      //-------------------------------------------------------------------------
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Braunau am Inn',
      				locationID: '2781520',  //ID from http://www.openweathermap.org
      				appid: '021e48dc7c378757c1fb021bf373d56c'
      			}
      		},
      //------------------------------------------------------------------------
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      	            location: 'Braunau am Inn',
      				locationID: '2781520',  //ID from http://www.openweathermap.org
      	            appid: '021e48dc7c378757c1fb021bf373d56c'
      			}
      		},
      //-------------------------------------------------------------------------
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "Tagesschau",
      						url: "http://www.tagesschau.de/xml/rss2"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      //-------------------------------------------------------------------------
      		/*{
      	    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: true,
      			// Path to your training xml
      			trainingFile: 'modules/MMM-Facial-Recognition/training.xml',
      			// recognition intervall in seconds (smaller number = faster but CPU intens!)
      			interval: 2,
      			// 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: 15,
      			// Array with usernames (copy and paste from training script)
      			users: ['Markus'],
      			//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"
                              }
      				},*/
      //--------------------------------------------------------------	
      	
      	]
      
      };
      
      B T 2 Replies Last reply Nov 29, 2016, 4:58 PM Reply Quote 0
      • B Offline
        bhepler Module Developer @Aly
        last edited by Nov 29, 2016, 4:58 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • T Offline
          tidus5 @Aly
          last edited by Nov 29, 2016, 5:13 PM

          @Aly
          try with classes : ‘default’

          You have the same problem as me and @Escenda

          custom’s classes doesnt work and everyone’s classes neither
          im on it since 6 days and… it cant found the solution

          T 1 Reply Last reply Nov 30, 2016, 6:54 PM Reply Quote 0
          • T Offline
            tidus5 @tidus5
            last edited by Nov 30, 2016, 6:54 PM

            @Aly @Escenda
            i found the problem - the localtransport module :-)

            do you use this module too ? if you remove the module on the config.js its work :D

            A 1 Reply Last reply Dec 13, 2016, 9:07 AM Reply Quote 0
            • A Offline
              Aly @tidus5
              last edited by Dec 13, 2016, 9:07 AM

              @tidus5 No i don’t use this module :/

              T 1 Reply Last reply Dec 13, 2016, 9:40 AM Reply Quote 0
              • T Offline
                tidus5 @Aly
                last edited by Dec 13, 2016, 9:40 AM

                @Aly
                could you try to found the module who make the bug by active one by one ?

                i found like that

                A 1 Reply Last reply Dec 13, 2016, 9:46 AM Reply Quote 0
                • A Offline
                  Aly @tidus5
                  last edited by Dec 13, 2016, 9:46 AM

                  @tidus5 So it looks like that i have problems with the module itself - not with other modules.

                  T 1 Reply Last reply Dec 13, 2016, 10:04 AM Reply Quote 0
                  • T Offline
                    tidus5 @Aly
                    last edited by Dec 13, 2016, 10:04 AM

                    @Aly if you use the option “DISPLAY=:0 npm start dev”

                    do you see the error ?

                    A 1 Reply Last reply Dec 25, 2016, 8:43 PM Reply Quote 0
                    • paviroP Offline
                      paviro Admin
                      last edited by paviro Dec 18, 2016, 1:40 PM Dec 18, 2016, 1:11 PM

                      I will have a look at that.

                      Update: I just tried to recent version of my module with the current MM version and everything seems to work as expected even custom classes. Please try to use the training tool again and update your users:[] config with the output provided :) Also make sure you use the latest version from GitHub.
                      In case this does not help please try to install the module from scratch and let me now how it goes.

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 21
                      • 22
                      • 9 / 22
                      • 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