不需要编译或其他操作,只需一句话安装第三方库利用sift等特征提取算法:
sudo pip3 install opencv-contrib-python
附网站:https://pypi.python.org/pypi/opencv-contrib-python