@sdetweil
mais dans dossier tools ne contient pas haarcascade_frontalface_default.xml et encodings.pickle
Read the statement by Michael Teeuw here.
Posts made by admin
-
RE: erreur : MMM-Face-Reco-DNN
-
RE: erreur : MMM-Face-Reco-DNN
@sdetweil merci pour votre réponse
alors Jai utilise https://github.com/nischi/MMM-Face-Reco-DNN -
erreur : MMM-Face-Reco-DNN
jai un problème dans module
MMM-Face-Reco-DNN ,
aide moi svp[2024-05-05 17:48:59.807] [LOG] [MMM-Face-Reco-DNN] loading encodings + face detector…
[2024-05-05 17:49:01.806] [ERROR] Whoops! There was an uncaught exception…
[2024-05-05 17:49:01.818] [ERROR] PythonShellError: FileNotFoundError: [Errno 2] No such file or directory: ‘modules/MMM-Face-Reco-DNN/tools/encodings.pickle’
at PythonShell.parseError (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:303:21)
at terminateIfNeeded (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:193:32)
at ChildProcess. (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:185:13)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
----- Python Traceback -----
File “/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/recognition.py”, line 29, in
data = pickle.loads(open(Arguments.get(“encodings”), “rb”).read())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ {
traceback: ‘Traceback (most recent call last):\n’ +
’ File “/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/recognition.py”, line 29, in \n’ +
’ data = pickle.loads(open(Arguments.get(“encodings”), “rb”).read())\n’ +
’ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n’ +
“FileNotFoundError: [Errno 2] No such file or directory: ‘modules/MMM-Face-Reco-DNN/tools/encodings.pickle’\n”,
executable: ‘python3’,
options: null,
script: ‘modules/MMM-Face-Reco-DNN/tools/recognition.py’,
args: [
‘–cascade=modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml’,
‘–encodings=modules/MMM-Face-Reco-DNN/tools/encodings.pickle’,
‘–rotateCamera=0’,
‘–method=dnn’,
‘–detectionMethod=hog’,
‘–interval=1000’,
‘–output=0’,
‘–outputmm=0’,
‘–extendDataset=False’,
‘–dataset=modules/MMM-Face-Reco-DNN/dataset/’,
‘–tolerance=0.6’,
‘–brightness=0’,
‘–contrast=0’,
‘–resolution=1920,1080’,
‘–processWidth=500’
],
exitCode: 1
}
[2024-05-05 17:49:01.820] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2024-05-05 17:49:01.821] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues