@stacywebb Hi, I have completed the training and also I done with the face recognition trial. But this error comes in between, sometime it works but often this error shows. Any luck??
Read the statement by Michael Teeuw here.
Posts
-
RE: I'm also getting an error while running the final magic mirror script after installing and adding all the face recognition module.
-
RE: I'm also getting an error while running the final magic mirror script after installing and adding all the face recognition module.
@sdetweil Thanks!! that worked for me… !! but now another error is showing
crop = face.crop(image, x, y, w, h)
File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/face.py”, line 93, in crop
return image[y1:y2, x:x + w]
TypeError: slice indices must be integers or None or have an index methodHardware using:
Pi Camera
Raspberry pi 3 model b+Software details:
Phython version - 3.7.3
OpenCV version - 4.4.0
Numpy - 1.20.3 -
I'm also getting an error while running the final magic mirror script after installing and adding all the face recognition module.
Re: Facial Recognition Module - Step by Step Guide
Can anyone help me to sort out this issue ?
[ERROR] Whoops! There was an uncaught exception…
[05.06.2021 13:32.51.510] [ERROR] TypeError: PythonShell is not a constructor
at Class.python_start (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)
at Socket. (/home/pi/MagicMirror/js/node_helper.js:109:11)
at Socket.emit (events.js:315:20)
at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:428:39
at processTicksAndRejections (internal/process/task_queues.js:79:11)
[05.06.2021 13:32.51.524] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[05.06.2021 13:32.51.525] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues@paulGu Hi, were you able to resolve it?