Read the statement by Michael Teeuw here.
MMM-Face-Reco-DNN + ProfileSwitcher
-
@stardyze yes, facereco uses the ‘classes’ field of the module to organize module display by ‘person’
u set modules for me (sam) by adding a classname ‘sam’
u can have multiple people share the same one, classes:‘sam bob sue’
-
This post is deleted! -
@sdetweil I have all the modules selected with the class name I want for them do I set the class name in the config.js or MMM-Face-Reco-DNN.js?
-
@stardyze in config.js, on each module set the classes per person
module: “clock:,
classes:” fred sue",
config: {
}same for every module
u have to set allowed users in facreco of course
-
@sdetweil Yeah I set all the classes for each module in the config.js but for so that it knows the allowed users is that in the MMM-Face-Reco-DNN.js? Like the first declaration of the classname.
-
@stardyze there is no ‘actual’ class… Facereco just looks at the classes field to match against user names
-
@sdetweil So I can’t have specific classes or layouts for each person?
-
@stardyze https://github.com/nischi/MMM-Face-Reco-DNN
Yes, and you can share…
layout is a challenge… like profile u need multiple instances of the same module,
for different users…MM can only show or hide modules… so, you have one instance for sam, and another for bob
-
@sdetweil I do have classes set in each module but it doesn’t switch the profiles when a face is recognized. In the terminal, it says that the right user is recognized and is logged in but the layout doesn’t change.
-
@stardyze see
https://github.com/nischi/MMM-Face-Reco-DNN#classescase of the names matters… Sam does not equal sam