Ask Your Question

Revision history [back]

Features2d.KeyPoint object include field pt that is point position. You need create MatOfKeyPoint with the same size as MatOfPoint2f and set pt field to each element from MatOfPoint2f that you have got from FeatureDetector algorithm.