Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1234

Python • Face recognition problem with model training

$
0
0
So i have been trying to get face recognition running on my Raspberry pi model 3 b+. I'm also using pi cam.

I solved most of the problems just by looking on the web, but i can't find a solution for this.

When in try to run

Code:

python train_model.py
I get the following error code:
Traceback (most recent call last):
File "/home/pi/facial_recognition/train_model.py", line 5, in <module>
import face_recognition
File "/usr/local/lib/python3.9/dist-packages/face_recognition/__init__.py", line 7, in <module>
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "/usr/local/lib/python3.9/dist-packages/face_recognition/api.py", line 4, in <module>
import dlib
File "/home/pi/.local/lib/python3.9/site-packages/dlib/__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
I've been following https://www.tomshardware.com/how-to/ras ... ecognition for installation.

Does anyone know how to get this working?

Statistics: Posted by oto51 — Wed Jun 12, 2024 8:08 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles