attributeerror-module-object-has-no-attribute-xfeatures2d-python-opencv-2 使用pip install opencv-contrib-python或者pip install opencv-python==3.3.0.10 opencv-contrib-python==3.3.0.10命令进行重新安装。