Read the statement by Michael Teeuw here.
Facial Recognition - customize your mirror for every user!
-
Hey :D
little UP - im becoming crazy.
i read and read an read again - add… inside config.js (mirror module) or config.py (model tester)
so users : [‘kevin’]… and the config.py is needed if i want to test with the recognition-toolsright ?
i see if the MMM-Facial use “everyone” or “kevin” that doesnt work -
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?
-
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" } },*/ //-------------------------------------------------------------- ] };
-
This post is deleted! -
-
-
@tidus5 No i don’t use this module :/
-
@Aly
could you try to found the module who make the bug by active one by one ?i found like that
-
@tidus5 So it looks like that i have problems with the module itself - not with other modules.
-
@Aly if you use the option “DISPLAY=:0 npm start dev”
do you see the error ?