mirror of
https://github.com/opencv/opencv.git
synced 2025-06-28 07:23:30 +08:00
Merge pull request #18445 from alalek:fix_test_python_ml
This commit is contained in:
commit
ecb6d03ccd
@ -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…
Reference in New Issue
Block a user