Skip to content

Commit 6fb484c

Browse files
committed
adding python smoke test for MSDDetector
1 parent f9d92f2 commit 6fb484c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xfeatures2d/misc/python/test/test_descriptors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_create(self):
1717
self.assertFalse(msd is None)
1818

1919
img1 = np.zeros((100, 100, 3), dtype=np.uint8)
20-
kp1_, des1_ = msd.detectAndCompute(img1, None)
20+
kp1_ = msd.detect(img1, None)
2121

2222

2323
if __name__ == '__main__':

0 commit comments

Comments
 (0)