【问题标题】:cv2.face.LBPHFaceRecognizer_create() is not working even though i have installed the library of it in pycharm window. what to do?cv2.face.LBPHFaceRecognizer_create() 不起作用,即使我已经在 pycharm 窗口中安装了它的库。该怎么办?
【发布时间】:2021-06-20 03:31:45
【问题描述】:

我正在尝试在我的程序中使用 '''cv2.face.LBPHFaceRecognizer_create()''' 但出现此错误 AttributeError: module 'cv2.cv2' has no attribute 'face' on pycharm。我已经安装了此功能所需的所有以下库,但仍然没有解决方案。我是pycharm windows 10上的这个程序。

【问题讨论】:

    标签: face-recognition face lbph-algorithm


    【解决方案1】:

    做:

    pip install opencv-contrib-python
    

    然后再试一次。这对我有用

    【讨论】:

      猜你喜欢
      • 2017-04-30
      • 2017-04-26
      • 1970-01-01
      • 2019-05-09
      • 1970-01-01
      • 1970-01-01
      • 2016-03-08
      • 1970-01-01
      • 2021-08-18
      相关资源
      最近更新 更多