Read the statement by Michael Teeuw here.
Facial Recognition - customize your mirror for every user!
-
Hey :)
I received this error :
Thank you in advance! tidus5 & paviro
Great module paviro :)Happy and peaceful christmas holidays!!
App threw an error during load Error: Cannot find module 'python-shell' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:4:21) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) Whoops! There was an uncaught exception... { Error: Cannot find module 'python-shell' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:4:21) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' } 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 Launching application.
-
@Aly sounds like you didn’t install the dependencies with
npm install
in the MMM-Facial-Recognition directory -
@strawberry-3.141
Thank you :) - I think i have forgotten it -
@paviro Did anything ever happen with this? This module would be even more amazing if it could shut down and restart the monitor :)
-
@jspike how this should work? when you shut down the mirror it wouldn’t restart if you enter the room because you completely turned off the raspberry
EDIT: I’m sorry read mirror instead of monitor
-
Hi. Has anybody been successful in implementing an ip-cam with paviro´s module? I really would like to “misuse” this module to watch my frontdoor and inform me if someone “unknown” shows up.
I did a quick look into the “OpenCV” - Framework, but I´m at a loss on how to
bend the module to accept an jpg from my foscam ip cam. -
@desq I successfully integrated the Raspberry Pi & Motion together. It would be pretty simple to adapt it to inform you of when someone shows up at your door. It won’t have recognition capabilities, but it will be able to trigger an alert if someone is at your doorstep. Motion has integrated IP cam support.
-
@desq that is exaclty what i want too :) and save the video file for later… but how? ^^
-
@schlachtkreuzer6 Check out the tutorial I wrote for Motion & the mirror. Pretty much the part you’ll have to figure out is how to get a script to update the mirror. Motion can be configured to run a script, save a file, stream a video, etc. from an IP camera. There’s also a streaming server integrated into it, so you could probably put the contents of the IP camera into the stream from motion, and then use an IFRAME to display the stream’s output.
In my research, I found a lot of information on the Motion software, including a couple that were specifically about running Motion on a Raspberry Pi as a security system. Once you have that configured, the next part is just figuring out how to send an alert to your mirror and how you want to display it.
-
@bhepler great thanks! I will check this soon :D