@benkej Oh, its really strange. Did you manage to work around it?
Read the statement by Michael Teeuw here.
Latest posts made by s1084836
-
RE: Facial Recognition - customize your mirror for every user!
-
RE: Facial Recognition - customize your mirror for every user!
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;}
-
RE: Facial Recognition - customize your mirror for every user!
Hello, First of all thanks a lot for building this great module!
I am trying to get it to work, I’ve installed the module and it looks like It doens’t start:
Output when I start the NPM:
`pi@raspberrypi:~/MagicMirror $ npm start magicmirror@2.0.0 start /home/pi/MagicMirror electron js/electron.js Loading config ... Loading module helpers ... Initializing new module helper ... Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: camera camera helper started ... Connecting socket for: MMM-Facial-Recognition Staring module helper: MMM-Facial-Recognition Sockets connected & modules started ... Launching application. initializing nodemailer ` It looks like its installed fine, because of the starting module helper: MMM-Facial-Recognition. But I am not getting the normal output like I see by other people: [MMM-Facial-Recognition] Facerecognition started... [MMM-Facial-Recognition] Loading training data... My Config.json file: `/* Magic Mirror Config Sample * By Tom & Joey MIT Licensed. */ var config = { port: 8080, language: 'nl', timeFormat: 24, units: 'metric', modules: [ { module: 'camera', position: 'top_center', config: { selfieInterval: 3, // Time interval in seconds before the photo will be taken. emailConfig: { service: 'Hotmail', // Email provider to use to send email with a photo. auth: { user: '<s1084836@hotmail.com>', // Your email account pass: '<test12345>' // Your password for email account } } } }, { module: 'MMM-Facial-Recognition', position: 'top_left', 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: ['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" } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
Is there anything I’m doing wrong ? :D
Note from admin: Please use Markdown on code snippets for easier reading!