nischi / MMM-Face-Reco-DNN

Face recognition with opencv and deep neural network
MIT License
91 stars 46 forks source link

Dataset #83

Closed JuhoJokine closed 3 years ago

JuhoJokine commented 3 years ago

Hi

I did all the steps till the dataset part but i dont find folder named "dataset" from anywhere, am I supposed to make it by myself or have I done something incorrectly?

-Juho

Bl4CkGuuN commented 3 years ago

Yes, you have to create the dataset folder manually and then create a subfolder with every user including their pictures.

JuhoJokine commented 3 years ago

I did those and then tried to run the encode.py but got this:

Traceback (most recent call last): File "/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/encode.py", line 5, in from imutils import paths File "/home/pi/.local/lib/python3.7/site-packages/imutils/init.py", line 8, in from .convenience import translate File "/home/pi/.local/lib/python3.7/site-packages/imutils/convenience.py", line 6, in import cv2 File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 89, in bootstrap() File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 79, in bootstrap import cv2 ImportError: libtesseract.so.4: cannot open shared object file: No such file or directory

nischi commented 3 years ago

This seems something is not correct installed. or maybe wrong python version?