Freenove / Freenove_Robot_Dog_Kit_for_Raspberry_Pi

Apply to FNK0050
Other
134 stars 90 forks source link

CV module error #9

Closed Drakelive closed 3 years ago

Drakelive commented 3 years ago

Compiling on Ubuntu 20.10 and Python Python 3.8.6 I get this error:

File "/home/drake/Sviluppo/Freenove_Robot_Dog_Kit_for_Raspberry_Pi/Code/Client/Face.py", line 8, in init self.recognizer.read('Face/face.yml') cv2.error: OpenCV(4.2.0) ../contrib/modules/face/src/facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'read'

It only works with absolute paths. This is a big problem!

DenzelChen commented 3 years ago

Dear customer, It may be related to openCv. Please reinstall to try. And as you can see, in our tutorial, we only recommend use the client in windows, mac or Raspberry Pi OS. If you have more concerns, please contact support@freenove.com Sincerely, Denzel Freenove