GithubHelp home page GithubHelp logo

Comments (10)

HorstBaerbel avatar HorstBaerbel commented on August 25, 2024

I don't notice that behavior on my machine...

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Really? I can’t be the only one. I keep having to dig into the folder and delete the ones that are added... hmmm, i should just set up a cron job to dump ‘em i guess.

from mmm-face-reco-dnn.

HorstBaerbel avatar HorstBaerbel commented on August 25, 2024

Are your sure it's "extendDataset: false," not "extendDataset: 'false'," something like that? Maybe posting your config will help. I copy-pasted mine straight from the README. Try that and work from there. Also be aware of ending differences between Linux / Windows so use a proper editor.

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Hello again Horst;

Definitely certain that its not a typo, as you can see - mine too is copied straight from the readme. Also not a windows issue, I'm driving a mac. Here's that config...

{ module: 'MMM-Face-Reco-DNN', config: { // Logout 10 seconds after user is not detected anymore, if they are detected between this 15 Seconds, they delay will start again logoutDelay: 15000, // How many time the recognition starts, with a RasPi 3+ it would be good every 2 seconds checkInterval: 2000, // 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', // XML to recognize with haarcascae cascade: 'modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml', // Pre encoded pickle with the faces encodings: 'modules/MMM-Face-Reco-DNN/tools/encodings.pickle', // You wanna use pi camera or usb / builtin (1 = raspi camera, 0 = other camera) usePiCamera: 1, // Method of face detection (dnn = deep neural network, haar = haarcascade) method: 'haar', // Which face detection model to use. "hog" is less accurate but faster on CPUs. "cnn" is a more accurate deep-learning model which is GPU/CUDA accelerated (if available). detectionMethod: 'hog', // How fast in ms should the modules hide and show (face effect) animationSpeed: 1000, // Path to Python to run the face recognition (null / '' means default path) pythonPath: null, // Should shown welcome message over alert module from MagicMirror welcomeMessage: true, // Save some pictures from recognized people, if unknown we save it in folder "unknown" // So you can extend your dataset and retrain it afterwards for better recognitions extendDataset: false, // if extenDataset is set, you need to set the full path of the dataset dataset: 'modules/MMM-Face-Reco-DNN/dataset/' } },

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Woah, it doesn't look all crappy like that normally. Lemme try again...

{
module: 'MMM-Face-Reco-DNN',
config: {
// Logout 10 seconds after user is not detected anymore, if they are detected between this 15 Seconds, they delay will start again
logoutDelay: 15000,
// How many time the recognition starts, with a RasPi 3+ it would be good every 2 seconds
checkInterval: 2000,
// 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',
// XML to recognize with haarcascae
cascade: 'modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml',
// Pre encoded pickle with the faces
encodings: 'modules/MMM-Face-Reco-DNN/tools/encodings.pickle',
// You wanna use pi camera or usb / builtin (1 = raspi camera, 0 = other camera)
usePiCamera: 1,
// Method of face detection (dnn = deep neural network, haar = haarcascade)
method: 'haar',
// Which face detection model to use. "hog" is less accurate but faster on CPUs. "cnn" is a more accurate deep-learning model which is GPU/CUDA accelerated (if available).
detectionMethod: 'hog',
// How fast in ms should the modules hide and show (face effect)
animationSpeed: 1000,
// Path to Python to run the face recognition (null / '' means default path)
pythonPath: null,
// Should shown welcome message over alert module from MagicMirror
welcomeMessage: true,
// Save some pictures from recognized people, if unknown we save it in folder "unknown"
// So you can extend your dataset and retrain it afterwards for better recognitions
extendDataset: false,
// if extenDataset is set, you need to set the full path of the dataset
dataset: 'modules/MMM-Face-Reco-DNN/dataset/'
}
},

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Well thats more legible!

Here's a screen grab of the datasets from the last couple days (since last I emptied them)... for any sceptics. ;-p

Screen Shot 2020-01-26 at 3 43 33 PM

from mmm-face-reco-dnn.

HorstBaerbel avatar HorstBaerbel commented on August 25, 2024

You were right. It happens for me too. Try my fix.

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Pardon my newbie question... how do I implement that? git pull... and to where?

from mmm-face-reco-dnn.

nischi avatar nischi commented on August 25, 2024

it is on my master now, you can use git pull

from mmm-face-reco-dnn.

SdeGeata avatar SdeGeata commented on August 25, 2024

Ah, thanks Thierry! ...and thanks Horst for solving that lingering problem for me! You guys are awesome!

from mmm-face-reco-dnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.