We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b3ddc0 + 70104ed commit 6437f18Copy full SHA for 6437f18
modules/ml/misc/python/test/test_goodfeatures.py
@@ -17,7 +17,7 @@ def test_goodFeaturesToTrack(self):
17
18
results = dict([(t, cv.goodFeaturesToTrack(arr, numPoints, t, 2, useHarrisDetector=True)) for t in threshes])
19
# Check that GoodFeaturesToTrack has not modified input image
20
- self.assertTrue(arr.tostring() == original.tostring())
+ self.assertTrue(arr.tobytes() == original.tobytes())
21
# Check for repeatability
22
for i in range(1):
23
results2 = dict([(t, cv.goodFeaturesToTrack(arr, numPoints, t, 2, useHarrisDetector=True)) for t in threshes])
0 commit comments