I am trying to implement image stitching using opencv. specifically, I'm following this tutorial.
The problem I have is that the sift algorithm is not accessible. After looking around on the web, I found that the algorithm was patented or something and now it is not anymore and it was moved in the repo, and now I can't seem to find any useful tutorial for installing the correct things for using this algorithm.
Can anyone please explain what should be installed so that this line passes without errors? (line 54)
descriptor = cv2.xfeatures2d.SIFT_create()
Note: tried opencv 4 with opencv-contrib 4, working on windows.
Note 2: Other answers on stack overflow are not updated to the change that is mentioned above.