BrandonJoffe / home_surveillance

Home surveillance system with facial recognition
1.22k stars 384 forks source link

got an error when i run webapp.py #74

Open rathinam8920 opened 4 years ago

rathinam8920 commented 4 years ago

(base) root@rcascl4-16:/home/administrator/Desktop/hms/system# python3 WebApp.py /usr/bin/env: ‘th’: No such file or directory Traceback (most recent call last): File "WebApp.py", line 39, in HomeSurveillance = SurveillanceSystem.SurveillanceSystem() File "/home/administrator/Desktop/hms/system/SurveillanceSystem.py", line 126, in init self.recogniser = FaceRecogniser.FaceRecogniser() File "/home/administrator/Desktop/hms/system/FaceRecogniser.py", line 91, in init (self.le, self.clf) = pickle.load(f) # Loads labels and classifier SVM or GMM TypeError: a bytes-like object is required, not 'str'

please help to solve