-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Im guessing as part of the library install error, when running Main.py, it returns the following error:
[ERROR:[email protected]] global persistence.cpp:566 open Can't open file: 'Face/face.yml' in read mode
Traceback (most recent call last):
File "/Users/simonedgley/Downloads/Freenove_Robot_Dog_Kit_for_Raspberry_Pi-master-2/Code/Client/Main.py", line 1072, in
myshow=MyWindow()
File "/Users/simonedgley/Downloads/Freenove_Robot_Dog_Kit_for_Raspberry_Pi-master-2/Code/Client/Main.py", line 27, in init
self.client=Client()
~~~~~~^^
File "/Users/simonedgley/Downloads/Freenove_Robot_Dog_Kit_for_Raspberry_Pi-master-2/Code/Client/Client.py", line 16, in init
self.face = Face()
~~~~^^
File "/Users/simonedgley/Downloads/Freenove_Robot_Dog_Kit_for_Raspberry_Pi-master-2/Code/Client/Face.py", line 8, in init
self.recognizer.read('Face/face.yml')
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.12.0) /Users/xperience/GHA-Actions-OpenCV/_work/opencv-python/opencv-python/opencv_contrib/modules/face/src/facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'read'
I did go and check the permissions and made sure that it was set to read/write