ay, that might be a point, so i will have a Terminator on my wall :D
Read the statement by Michael Teeuw here.
Posts
-
RE: Face Recognition with inferred light
-
RE: Face Recognition with inferred light
hm? :D
no only the console says logged in.
-
RE: Introduce yourself!
Hi! Im Marvin Rühl :) I’m 23 Years old and studying my Master in Electronical Engineering @ TU-Dortmund. I started with this project in the last year, getting some rPI skills for work later.
With MMMv2 this project becomes more huge than i thought, so im trying my best giving good input for it :)
-
RE: Face Recognition with inferred light
yes he shows me
User Marvin with confidence 48.63… logged in and after 15 secs User Marvin logged out.
This was recorded in completely Darkness, only IR Light. The mirror will be positioned in a tiny corridor, so the lightment is enough. Otherwise i could raise the recording time or going into night mode.
-
Face Recognition with inferred light
Is it possible to train the TrainingFile in the dark? I got some IR-Lights @ the mirror, but while i was trying he couldnt find a face.
The second problem is, that he loggs me in but doesnt show the calendar & travel module, when im logged in.
In my the config of the Module stands
users: ['Marvin']
.I added
classes: 'default for_all'
to the standard modules andclasses: 'Marvin'
to my specific modules; but he doesnt show my modules when im logged in.
Note from admin: Please use the Markdown code feature instead of quotes for code snippets, looks a lot better! :)
-
RE: Face Recognition - File can't be opened for writing
well i rewrote the destination of the file @ the config again and now it works.
seems like there was an error anywhere :D
thanks :)
-
RE: Face Recognition - File can't be opened for writing
So, my internet is back after a day :D
I reinstalled the module with deleting & cloning it again.
The training.xml is located in
/home/pi/MagicMirror/modules/MMM-Facial-Recognition
I installed open cv with
sudo apt-get install libopencv-dev python-opencv
after this, i went into the folder
MMM-Facial-Recognition
and typed
sudo npm install
I still get the same error MSG :(
i also changed the rights on the training.xml to Anyone/Anyone/Anyone
please help <3
-
RE: Face Recognition - File can't be opened for writing
The XML file is located in the module path mmm-facial-recognition.
I will answer more precisely when I’m back hat home -
Face Recognition - File can't be opened for writing
Well the Mirror and the modules are working for now.
The next step is to seperate modules to specific users so i use the FaceRec lib.
I trained 10 images first for a quick test.
When im trying to start MMv2 with this module he pushes this error message:[MMM-Facial-Recognition] Facerecognition started... [MMM-Facial-Recognition] Loading training data... [MMM-Facial-Recognition] ALGORITHM: LBPH Whoops! There was an uncaught exception... { [Error: OpenCV Error: Unspecified error (File can't be opened for writing!) in load, file /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp, line 325 Traceback (most recent call last): File "modules/MMM-Facial-Recognition/facerecognition/facerecognition.py", line 59, in <module> model.load(json.loads(sys.argv[1])["trainingFile"]) cv2.error: /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp:325: error: (-2) File can't be opened for writing! in function load >] executable: 'python', options: null, script: 'modules/MMM-Facial-Recognition/facerecognition/facerecognition.py', args: [ '{"recognitionAlgorithm":1,"lbphThreshold":50,"fisherThreshold":250,"eigenThreshold":3000,"useUSBCam":false,"trainingFile":"~/MagicMirror/modules/MMM-Facial-Recognition/training.xml","interval":1,"logoutDelay":15,"users":["Marvin"],"defaultClass":"default","forAllClass":"for_all"}' ], exitCode: 1 } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
RE: Starting MagicMirror v2 beta
i tried this first, but didnt work for me either.
i even tried reinstalling jessie image + using installer and it didn’t worked. :D