Read the statement by Michael Teeuw here.
Facial Recognition Module - Step by Step Guide
-
@aniketdongare07 @SdeGeata the newer version of python only provide 3 version info strings. So that code needs to drop the 4th parm from the parse request
(CV_MAJOR_VER, CV_MINOR_VER, mv1) = cv2.
-
@sdetweil I tried to do what you said and in turn I got the following error:```
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) = cv2
TypeError: ‘module’ object is not iterable -
@aniketdongare07 you need the rest of the line cv2… I am on my phone, so cut/paste is a pain
(CV_MAJOR_VER, CV_MINOR_VER, mv1) = cv2.__version__.split(".")
-
@konradwalsh
I’m using Raspberry pi CSI camera.
How to do with it.
Please help me. -
@sdetweil Hey, buddy… I’m not sure what it is you’re telling me to do here. I wrote what you sent into the terminal but it didn’t do anything. In fact, it’s treating the = sign as a syntax error… what am I doing wrong?
-
@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