capture.py in MMM-Facial-Recognition-Tools error
Referring to the above link, I was following the guidelines. But while following the guide, an error occurred in the Python capture.py part.
I am trying to run capture.py but getting this Error. I am using a webcam…
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 12, in from builtins import input ImportError: No module named builtins
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: not enough values to unpack (expected 4, got 3)
Then im tring to sudo pip install future --upgrade,
I modified the code in config.py
from CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2 = cv2.version.split(".")
to CV_MAJOR_VER, CV_MINOR_VER, type = cv2.version.split(".")
I’m still worried. Is there anything wrong with it later?