學習opencv過程中遇到錯誤:
1 cv2.cv2 has no attribute 'face'
經過一頓查,,,各種走彎路 最后一下子就解決了:
pip install opencv-python
pip install opencv0-contrib-python
這倆裝完了就行了
2 'cv2.face' has no attribute 'createEigenFaceRecognizer'
這個錯誤 查完了人家讓你看文檔,很無聊,
opencv改接口了 現在用
cv2.face.EigenFaceRecognizer_create()
來獲取對象