Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to use the dense sampling detector to image with OpenCV3_python?

$
0
0
I am using python2.7, OpenCV3 with opencv-contrib to image processing. So I can use SIFT and get features as follows, sift = cv2.xfeatures2d.SIFT_create() kp = sift.detect(gray,None) des = sift.compute(gray,kp) This is good. Now "kp" is the keypoint that result computed by SIFT's feature detector. But I want to change this detector to dense(grid) sampling detector like this. https://www.safaribooksonline.com/library/view/opencv-with-python/9781785283932/ch10s02.html and I want to compute descriptors with "sift.compute(gray,kp)" please help me. Note: previously, it seems this is available "dense = cv2.FeatureDetector_create("Dense")"

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>