I have been playing around with image recognition on opencv and I understand Surf/sift have been moved to xfeature2d in the 3.X.X versions of opencv. I have tried to compile the contrib files through Cmake but it always shows errors. I am wondering if there was another way to obtain xfeature2d, maybe through purchasing the license?