<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can't get MMM-Facial-Recognition working]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I’m running Magic Mirror on a Pi 3B+, and I’m using the Pi V2 camera module.<br />
I’ve installed the module MMM-Facial-Recognition and the required training tools. After training the model, and verified it positively identifies me using the supplied test tooling, I’ve configured and enabled the module within Magic Mirror.<br />
The module seems active, as only default classes appear on the mirror, however, if I’m in front of the camera, nothing changes.<br />
I’ve basically used the config as supplied followed the instructions.<br />
Anyone a clue on where I can check what’s going wrong here?</p>
<p dir="auto">Kind regards,</p>
<p dir="auto">Jorg</p>
]]></description><link>https://forum.magicmirror.builders/topic/10220/can-t-get-mmm-facial-recognition-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 17:21:04 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10220.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2019 16:48:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can't get MMM-Facial-Recognition working on Sun, 07 Apr 2019 19:14:36 GMT]]></title><description><![CDATA[<p dir="auto">Got it working by changing two lines in node_helper.js (changes in <strong>bold</strong>).</p>
<p dir="auto">Line 4:<br />
const <strong>{<strong>PythonShell</strong>}</strong> = require(‘python-shell’);<br />
Line 11:<br />
const pyshell = new PythonShell(‘modules/’ + <a href="http://this.name" target="_blank" rel="noopener noreferrer nofollow ugc">this.name</a> + ‘/facerecognition/facerecognition.py’, { <strong>pythonPath: ‘python’,</strong> mode: ‘json’, args: [JSON.stringify(this.config)]});</p>
]]></description><link>https://forum.magicmirror.builders/post/55555</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55555</guid><dc:creator><![CDATA[jorgh6]]></dc:creator><pubDate>Sun, 07 Apr 2019 19:14:36 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get MMM-Facial-Recognition working on Sun, 07 Apr 2019 11:08:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jorgh6" aria-label="Profile: jorgh6">@<bdi>jorgh6</bdi></a> said in <a href="/post/55521">Can't get MMM-Facial-Recognition working</a>:</p>
<blockquote>
<p dir="auto">TypeError: PythonShell is not a constructor</p>
</blockquote>
<p dir="auto">This issue is discussed at <a href="https://github.com/paviro/MMM-Facial-Recognition/issues/58" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/paviro/MMM-Facial-Recognition/issues/58</a> . So I’ll pick it up from there. Apparently some api changes on recent PythonShell updates, there are more modules suffering from the same issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/55529</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55529</guid><dc:creator><![CDATA[jorgh6]]></dc:creator><pubDate>Sun, 07 Apr 2019 11:08:03 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get MMM-Facial-Recognition working on Sun, 07 Apr 2019 10:35:28 GMT]]></title><description><![CDATA[<p dir="auto">did you run npm install in the MMM-Facial-Recognition folder?</p>
]]></description><link>https://forum.magicmirror.builders/post/55526</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55526</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Apr 2019 10:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get MMM-Facial-Recognition working on Sun, 07 Apr 2019 09:32:59 GMT]]></title><description><![CDATA[<p dir="auto">Ok, thanks for the info. I’ve found that the magicmodule is supspended as a result of it crashing. Error in the log:<br />
0|MagicMir | TypeError: PythonShell is not a constructor<br />
0|MagicMir |     at Class.python_start (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)<br />
0|MagicMir |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)<br />
0|MagicMir |     at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)<br />
0|MagicMir |     at Socket.emit (events.js:182:13)<br />
0|MagicMir |     at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12<br />
0|MagicMir |     at process._tickCallback (internal/process/next_tick.js:61:11)</p>
<p dir="auto">I’ve seen other reports of this issue, at least now I’ve got a lead where to look.</p>
<p dir="auto">Kind regards,</p>
]]></description><link>https://forum.magicmirror.builders/post/55521</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55521</guid><dc:creator><![CDATA[jorgh6]]></dc:creator><pubDate>Sun, 07 Apr 2019 09:32:59 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get MMM-Facial-Recognition working on Fri, 05 Apr 2019 17:07:12 GMT]]></title><description><![CDATA[<p dir="auto">turn on the developers window with ctrl-shift-i<br />
then select the console tab, and look for messages as you move about</p>
<p dir="auto">also, how are you starting MM? with pm2? or your own command (npm start)</p>
<p dir="auto">the pm2.log file might show something</p>
]]></description><link>https://forum.magicmirror.builders/post/55465</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55465</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 05 Apr 2019 17:07:12 GMT</pubDate></item></channel></rss>