# Revision history [back]

### Combining KAZE keypoints with SIFT descriptors?

Hello everyone,

is it valid to do the following?

I detect keypoints using KAZE: kaze = cv.KAZE_create() kp = kaze.detect(img, None)

Now I use my Kaze keypoints and create SIFT descriptors for the given keypoints in the following way: sift = cv.xfeatures2d.SIFT_create() kp, des = sift.compute(img, kp)

Finally, I get the keypoints that I first detected with KAZE and have my additional SIFT descriptors. So does the "kp, des = sift.compute(img, kp)" compute an orientation for the given keypoint in a SIFT-manner using it for the descriptor to obtain rotation invariance? Or how is the code working?

Additionally, is the same way of computation valid for the combination of MSER keypoints and SIFT descriptors?

### Combining KAZE keypoints with SIFT descriptors?

Hello everyone,

is it valid to do the following?

I detect keypoints using KAZE: KAZE:

kaze = cv.KAZE_create()
kp = kaze.detect(img, None)None)


Now I use my Kaze keypoints and create SIFT descriptors for the given keypoints in the following way: way:

sift = cv.xfeatures2d.SIFT_create()
kp, des = sift.compute(img, kp)kp)


Finally, I get the keypoints that I first detected with KAZE and have my additional SIFT descriptors. So does the "kp, des = sift.compute(img, kp)" compute an orientation for the given keypoint in a SIFT-manner using it for the descriptor to obtain rotation invariance? Or how is the code working?

Additionally, is the same way of computation valid for the combination of MSER keypoints and SIFT descriptors?

### Combining KAZE keypoints with SIFT descriptors?

Hello everyone,

is it valid to do the following?following? (opencv and python)

I detect keypoints using KAZE:

import cv2 as cv
kaze = cv.KAZE_create()
kp = kaze.detect(img, None)


Now I use my Kaze keypoints and create SIFT descriptors for the given keypoints in the following way:

sift = cv.xfeatures2d.SIFT_create()
kp, des = sift.compute(img, kp)


Finally, I get the keypoints that I first detected with KAZE and have my additional SIFT descriptors. So does the "kp, des = sift.compute(img, kp)" compute an orientation for the given keypoint in a SIFT-manner using it for the descriptor to obtain rotation invariance? Or how is the code working?

Additionally, is the same way of computation valid for the combination of MSER keypoints and SIFT descriptors?

### Combining KAZE keypoints with SIFT descriptors?

Hello everyone,

is it valid to do the following? (opencv and python)

I detect keypoints using KAZE:

import cv2 as cv
kaze = cv.KAZE_create()
kp = kaze.detect(img, None)


Now I use my Kaze keypoints and create SIFT descriptors for the given keypoints in the following way:

sift = cv.xfeatures2d.SIFT_create()
kp, des = sift.compute(img, kp)


Finally, I get the keypoints that I first detected with KAZE and have my additional SIFT descriptors. So does the "kp, des = sift.compute(img, kp)" compute an orientation for the given keypoint in a SIFT-manner using it for the descriptor to obtain rotation invariance? Or how is it using the code working?orientation of the KAZE-keypoint data type?

Additionally, is the same way of computation valid for the combination of MSER keypoints and SIFT descriptors?