I try to compare two points in two different images, so I want to convert the coordinates to Keypoints to compute with them the description and matching results later.
I found the method:
keypoint = cv2.KeyPoint(x, y, 0)
vec = [keypoint]
and it works but as result I get everytime:
>>>akaze.compute(image, vec)
([], None)
Even when I take detected keypoints, convert them to coordinates and back to keypoints (using the structure above) I get the same result.
So, how can I convert the given coordinates to keypoints (for example KAZE keypoints)? Thank you a lot!
Regards, Leo