Closed remklov closed 4 years ago
I got it fixed myself.
Problems were visible in the pm2 logs --lines=100
.
Error: AttributeError: 'module' object has no attribute 'LBPHFaceRecognizer_create'
and
Error: AttributeError: 'cv2.face_LBPHFaceRecognizer' object has no attribute 'read'
I changed in the lib/mm/facerecognition.py
line 41 to
model = cv2.face.createLBPHFaceRecognizer(threshold=MMConfig.getThreshold())
and in line 44 to
model.load(MMConfig.getTrainingFile())
I have the same issue like described here: https://github.com/paviro/MMM-Facial-Recognition/issues/62
The PiCam is not opening, and the red light is not active. Anyone had this problem and has a fix? The tools.facialrecognition.py works fine.
In the MMM-Console i can see that "Module is hidden". It doesn't say which module, but i only defined one to be not shown to everyone. But it seems the recognition is never triggered.