试了网上的许多方法都没有解决,在stackoverflow上找到了解决方案,亲测有效
Try this in the terminal pip install opencv-contrib-python --user
and then execute cv2.face.LBPHFaceRecognizer_create()
已经安装的 pip uninstall opencv-contrib-python 再安装就可以了
试了网上的许多方法都没有解决,在stackoverflow上找到了解决方案,亲测有效
Try this in the terminal pip install opencv-contrib-python --user
and then execute cv2.face.LBPHFaceRecognizer_create()
已经安装的 pip uninstall opencv-contrib-python 再安装就可以了