MCPcopy Create free account
hub / github.com/PyImageSearch/imutils / detect

Method detect

imutils/feature/gftt.py:16–21  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

14 self.k = k
15
16 def detect(self, img):
17 cnrs = cv2.goodFeaturesToTrack(img, self.maxCorners, self.qualityLevel, self.minDistance,
18 mask=self.mask, blockSize=self.blockSize,
19 useHarrisDetector=self.useHarrisDetector, k=self.k)
20
21 return corners_to_keypoints(cnrs)
22

Callers

nothing calls this directly

Calls 1

corners_to_keypointsFunction · 0.85

Tested by

no test coverage detected