Read the statement by Michael Teeuw here.
Facial Recognition - customize your mirror for every user!
-
@PointPubMedia The welcome message means that it shows a notification when changing to a different user.
@reaper81 if you are in the right folder you dont have to give the link, justgit pull
should be enough -
@tosti007 said in Facial Recognition - customize your mirror for every user!:
@PointPubMedia The welcome message means that it shows a notification when changing to a different user.
@reaper81 if you are in the right folder you dont have to give the link, justgit pull
should be enoughYeah know that, but since the last update it’s not working even with the welcomeMessage: true
-
@PointPubMedia I gave a look at his code and noticed he made an small mistake. I will send him a message so the problem should be solved as soon as he sees it. For the time being (which, again, probably won’t be long) you just won’t see a message :)
-
Sorry guys :D Has been a while since I last coded MM modules… It’s fixed now :)
@benkej Could you provide me a zip containing your complete MM directory? -
@paviro sure, thank you!
here are my MMM-Facial-Recognition-Tools and MMM-Facial-Recognition folders in tar.bz2 format. My config is included in the second archive. -
@paviro You think it would be possible to display somewhere in MM2 the output from the camera at the same time as your module with a “debug” option?
It would be easier to place the camera at the right location while working on MM!
-
Hello,
Thanks for building this great module. When I run the “npm start” I keep getting the following message:
[MMM-Facial-Recognition] Webcam Found... [MMM-Facial-Recognition] User undefined with confidence null logged in. [MMM-Facial-Recognition] User undefined logged out. [MMM-Facial-Recognition] User undefined with confidence null logged in. [MMM-Facial-Recognition] User undefined logged out. [MMM-Facial-Recognition] User undefined with confidence null logged in.
Sometimes it regoonizes my face, but it is like a 1/1000 change. I’m wondering why, when I run the test script my it recognizes my face really fast and always. I uploaded like 350 photo’s. I’ve tryed diffrend back grounds, with enough light.
I just dont understand why it won’t see my face while the test script is 95% of the time right.
My config File:
`/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'clock', position: 'top_left', classes: 'default', }, { module: 'MMM-Facial-Recognition', classes: 'default', 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: '/home/pi/Desktop/MagicMirror/modules/MMM-Facial-Recognition/training.xml', // recognition intervall in seconds (smaller number = faster but CPU intens!) interval: 1, // 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: ['test', 'tom', 'Tom'], //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: 'helloworld', position: 'lower_third', // This can be any of the regions. classes: 'default', config: { // See 'Configuration options' for more information. text: 'OMG, look at you!' } }, { module: 'compliments', position: 'upper_third', classes: 'Tom', }, { module: 'newsfeed', position: 'bottom_left', classes: 'Tom', config: { feeds: [ { title: "Nu Algemeen nieuws!", url: "http://www.nu.nl/rss/Algemeen" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
@s1084836 like my mirror. I have the same problem
-
@benkej Oh, its really strange. Did you manage to work around it?
-
@s1084836 unfortunately not. I switched off the facial recognition