Merge pull request #3402 from vpisarev:fixed_python_tests
This commit is contained in:
commit
47838a4a22
@ -92,7 +92,7 @@ class Hackathon244Tests(NewOpenCVTests):
|
|||||||
|
|
||||||
def test_fast(self):
|
def test_fast(self):
|
||||||
fd = cv2.FastFeatureDetector_create(30, True)
|
fd = cv2.FastFeatureDetector_create(30, True)
|
||||||
img = self.get_sample("samples/cpp/right02.jpg", 0)
|
img = self.get_sample("samples/data/right02.jpg", 0)
|
||||||
img = cv2.medianBlur(img, 3)
|
img = cv2.medianBlur(img, 3)
|
||||||
imgc = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
|
imgc = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
|
||||||
keypoints = fd.detect(img)
|
keypoints = fd.detect(img)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user