OK after lots and lots of trial and error I hope this helps people… these are the settings and results I had and as far as I can tell the everyone setting doesnt do what I would expect…
I don’t hink you have a way of identifying a stranger and do something specific for them?
defaultClass: "default", //Module set used for strangers and if no user is detected
It looks like when everyone is specified on its own then the logic doesnt seem to work. See classes: “everyone” below…
users: ['martin'], // Array with usernames (copy and paste from training script)
defaultClass: "default", //Module set used for strangers and if no user is detected
everyoneClass: "everyone", //Set of modules which should be shown for every user
welcomeMessage: false // Boolean to toggle welcomeMessage
}
},
{
module: "clock",
position: "top_left",
classes: "default" // displays with no face detection (OK) - not displayed when martin detected (OK) - displayed with no specific user detected (OK?)
},
{
module: "clock",
position: "top_right",
classes: "default everyone" // displays with no face detection (OK) - displayed with no specific user and martin (OK)
},
{
module: "clock",
position: "bottom_right",
classes: "default martin" // displays with no face detection (OK) - displayed with no specific user and martin (OK)
},
{
module: "clock",
position: "bottom_left",
classes: "everyone" // never displays (??? I would expect this to display when Martin is detected - or any other user)
},
{
module: "compliments",
position: "lower_third",
classes: "martin" // only displayed when martin detected (OK)
},