Read the statement by Michael Teeuw here.
Facial Recognition Module - Step by Step Guide
-
@ogelijah u have to edit the failing py script
and change the failing line -
@sdetweil I get you! I was being an idiot and I went into the wrong script. But now I’ve reached the point where it says “no module named cv2”
-
@ogelijah no idea. that’s a python lib, which should have been installed from the prior setup steps
-
@sdetweil Ah, okay. I’ll keep on working on this. Cheers
-
@ogelijah because you replaced a line that used cv2, with another line that used cv2
-
@sdetweil
This fix worked! Thank you.My error message:
python capture.py
Traceback (most recent call last):
File “capture.py”, line 18, in
import lib.capture as capture
File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/capture.py”, line 21, in
from . import config
File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/config.py”, line 15, in
(CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.version.split(“.”)
ValueError: need more than 3 values to unpackSteps to fix:
cd ~/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/
nano config.pygo to line 15 … I commented out the original line and added a line with ‘,mv2’ removed.
#(CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.version.split(“.”)
(CV_MAJOR_VER, CV_MINOR_VER, mv1) = cv2.version.split(“.”) -
I can’t get the .xml file no matter how hard I try… I keep running the train.py file and wait, but nothing happens
-
@ogelijah how many images do you have for different people,?
what pi is this?