normyx / MMM-Facial-Recognition-OCV3

MIT License
51 stars 18 forks source link

Could not create config file #18

Open jakelevato opened 5 years ago

jakelevato commented 5 years ago

I have captured and trained the module using terminal on my mac, but when adding to the config file and adding classes to each other module, I continue to get errors in the config. Before adding the facial recognition module, the magicmirror would start up without a problem, now adding the single module creates a config problem. I am very new to this and just wondering if i am missing something simple, thanks!

jakelevato commented 5 years ago

Update, no longer getting config errors, instead getting this...

screen shot 2018-11-28 at 12 29 38 pm
Ohiekkar commented 5 years ago

Seems like OpenCV can't find training.xml from the path you give in MagicMirror configs.js

trainingFile: "/jacoblevato/MagicMirror/modules/MMM-Facial-Recognition-OCV3/training.xml" Should this be trainingFile: "/Users/jacoblevato/MagicMirror/modules/MMM-Facial-Recognition-OCV3/training.xml"

Also it seems like the users field in you config is empty. When you train the face models with the python script it should give you the list of trained users that you should put in this field.