Re: Facial Recognition Module - Step by Step Guide
I have followed all the directives here, but pull two errors upon trying to train:
#1
pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting future (from -r requirements.txt (line 1))
Using cached https://www.piwheels.org/simple/future/future-0.17.1-py3-none-any.whl
Installing collected packages: future
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/libpasteurize'
Consider using the `--user` option or check the permissions.
#2
pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ python capture.py
Traceback (most recent call last):
File "capture.py", line 18, in <module>
import lib.capture as capture
File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/capture.py", line 21, in <module>
from . import config
File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/config.py", line 15, in <module>
(CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.__version__.split(".")
ValueError: need more than 3 values to unpack
Can you help???