@nischi said in MMM-Face-Reco-DNN - All new Face Recognition:
@ChrizZz
Sound a little bit long to me, for me it works faster. But it took a while until they are startet. Do you use default settings?
My logs file is also a bit weird:
[MMM-Face-Reco-DNN] Users ChrizZz logged in.
CECControl received (current, new): off on
CECControl received (current, new): on off
CECControl received (current, new): off on
CECControl received (current, new): on off
CECControl received (current, new): off on
CECControl received (current, new): on off
[MMM-Face-Reco-DNN] Users ChrizZz logged out.
CECControl received (current, new): off on
CECControl received (current, new): on off
CECControl received (current, new): off on
CECControl received (current, new): on off
[MMM-Face-Reco-DNN] Users ChrizZz logged in.
CECControl received (current, new): off on
CECControl received (current, new): on off
[MMM-Face-Reco-DNN] Users ChrizZz logged out.
[MMM-Face-Reco-DNN] Users ChrizZz logged in.
CECControl received (current, new): off on
CECControl received (current, new): on off
CECControl received (current, new): off on
CECControl received (current, new): on off
[MMM-Face-Reco-DNN] Users ChrizZz logged out.
CECControl received (current, new): off on
CECControl received (current, new): on off
CECControl received (current, new): off on
CECControl received (current, new): on off
This is a 3min part of the logs and the 1st time I was in front of the mirror and recognized by the module this evening.
My settings are:
{
module: 'MMM-CECControl',
config: {
// Comport of your Raspberry Pi
comport: 'RPI',
// Turn the TV off if the Mirror start
offOnStartup: true
}
},
{
module: 'MMM-MotionControl',
config: {
// Delay to turn the TV off
delay: 60000,
// Interval to check modules
interval: 5000,
// Use the module MMM-Facial-Recognition-OCV3
useFacialRecognitionOCV3: false,
// Use the module MMM-Face-Reco-DNN
useMMMFaceRecoDNN: true,
// Array where tv should be on
ontime: []
}
},
{
module: 'MMM-Face-Reco-DNN',
config: {
// Logout 15 seconds after user was not detecte anymore, if they will be detected between this 15 Seconds, they delay will start again
logoutDelay: 30000,
// 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: 'dnn',
// 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: 0,
// 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
}
},