There is a pip source that makes this very easy.
-
If you have another version of opencv-python installed use this command to remove it to avoid conflicts:
pip uninstall opencv-python
-
Then install the contrib version with this:
pip install opencv-contrib-python
-
SIFT usage:
import cv2 sift = cv2.xfeatures2d.SIFT_create()