Попробуйте этот стартовый код, чтобы ознакомиться с соответствием функций и узнать больше об обнаружении функций здесь
import cv2
from matplotlib import pyplot as plt
im1 = cv2.imread('Feature1.png')
im2 = cv2.imread('Image.png')
gray1 = cv2.cvtColor(im1, cv2.COLOR_BGR2GRAY)
gray2 = cv2.cvtColor(im2, cv2.COLOR_BGR2GRAY)
# initialize the AKAZE descriptor, then detect keypoints and extract
# local invariant descriptors from the image
detector = cv2.AKAZE_create()
(kps1, descs1) = detector.detectAndCompute(gray1, None)
(kps2, descs2) = detector.detectAndCompute(gray2, None)
# Match the features
bf = cv2.BFMatcher(cv2.NORM_HAMMING)
matches = bf.knnMatch(descs1,descs2, k=2)