File "face_train_eigen.py", line 104, in
trainer = TrainEigenFaces()
File "face_train_eigen.py", line 19, in init
self.model = cv2.createEigenFaceRecognizer()
AttributeError: 'module' object has no attribute 'createEigenFaceRecognizer'
Which cv2 version do I need? I have version 3.4.0 and this error comes out
File "face_train_eigen.py", line 104, in
trainer = TrainEigenFaces()
File "face_train_eigen.py", line 19, in init
self.model = cv2.createEigenFaceRecognizer()
AttributeError: 'module' object has no attribute 'createEigenFaceRecognizer'
Which cv2 version do I need? I have version 3.4.0 and this error comes out