Read the statement by Michael Teeuw here.
Facial Recognition - customize your mirror for every user!
-
@benkej oke, please update on your progress. Good luck. Im very close to giving up.
-
@PointPubMedia Well sure but you could also write your own module listening for the notifications from my module :)
@bhepler said in Facial Recognition - customize your mirror for every user!:
@YourhighnessLeender Check your capitalization. Your training script output was ‘Johannes’ and your
config.js
has ‘johannes’.This does not make any difference :)
@benkej said in Facial Recognition - customize your mirror for every user!:
@YourhighnessLeender only for trial but I changed everything back to the default. I’m using raspberry pi 3 model b, here is part of my config:
Read 3 positive images and 400 negative images.
You should definitely use more than 3 pictures! I use around 200 :D
-
@paviro 200 pictures - aha! Maybe my 13 isnt enough. I can’t use the capture script since i’m on webcam so I took em with my phone and transferred them to the pi. I’ll add more and cross my fingers.
-
Well that could also be a cause. You should use the same camera for best results!
Why shouldn’t you be able to use a webcam with the capture script? I never used it with anything else to be honest :D -
@paviro hmm. Just can’t get it working for some reason… will try again. It complaind about no picam. Maybe I have to change something in the script? I’ll du another try.
-
Well the capture script does not have an enforce webcam option. Try to uninstall the picam python module, it will fallback to webcam then.
To minimize recognition errors the MagicMirror module requires two identical recognitions to be accepted as current user. If your training data is not good enough it could happen that you are never recognized twice in two directly following images -> Always unknown user.
-
-
Nooo! Don’t mess with the module code! I just added an option to force webcam use, checkout the updated code on GitHub :)
-
@paviro thanks paviro! Will do!
-
@paviro Thanks! I’ll add more images and try to recognize my face.
But It’s very interesting that facerecognition_tester can identify me only from this three images