mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
python(test): tests filtering
This commit is contained in:
@@ -77,4 +77,8 @@ class houghcircles_test(NewOpenCVTests):
|
||||
matches_counter += 1
|
||||
|
||||
self.assertGreater(float(matches_counter) / len(testCircles), .5)
|
||||
self.assertLess(float(len(circles) - matches_counter) / len(circles), .75)
|
||||
self.assertLess(float(len(circles) - matches_counter) / len(circles), .75)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
NewOpenCVTests.bootstrap()
|
||||
|
||||
Reference in New Issue
Block a user