ml: fix python test

pull/18445/head
Alexander Alekhin 4 years ago
parent b88ad7f2d9
commit 97bb91d5fa
  1. 2
      modules/ml/misc/python/test/test_goodfeatures.py

@ -11,7 +11,7 @@ from tests_common import NewOpenCVTests
class TestGoodFeaturesToTrack_test(NewOpenCVTests): class TestGoodFeaturesToTrack_test(NewOpenCVTests):
def test_goodFeaturesToTrack(self): def test_goodFeaturesToTrack(self):
arr = self.get_sample('samples/data/lena.jpg', 0) arr = self.get_sample('samples/data/lena.jpg', 0)
original = arr.copy(True) original = arr.copy()
threshes = [ x / 100. for x in range(1,10) ] threshes = [ x / 100. for x in range(1,10) ]
numPoints = 20000 numPoints = 20000

Loading…
Cancel
Save