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

Function FeatureDetector_create

imutils/feature/factories.py:9–17  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

7
8if is_cv2():
9 def FeatureDetector_create(method):
10 method = method.upper()
11 if method == "DENSE":
12 return DENSE()
13 elif method == "GFTT":
14 return GFTT()
15 elif method == "HARRIS":
16 return HARRIS()
17 return cv2.FeatureDetector_create(method)
18
19 def DescriptorExtractor_create(method):
20 method = method.upper()

Callers 1

feature_demo.pyFile · 0.90

Calls 3

DENSEClass · 0.85
GFTTClass · 0.85
HARRISClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…