1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

python(test): tests filtering

This commit is contained in:
Alexander Alekhin
2017-09-03 12:01:25 +00:00
parent 2f94637899
commit 7791839f22
29 changed files with 140 additions and 58 deletions
+5 -1
View File
@@ -67,4 +67,8 @@ class kmeans_test(NewOpenCVTests):
for i in range(cluster_n):
confidence = getMainLabelConfidence(labels[offset : (offset + clusterSizes[i])], cluster_n)
offset += clusterSizes[i]
self.assertGreater(confidence, 0.9)
self.assertGreater(confidence, 0.9)
if __name__ == '__main__':
NewOpenCVTests.bootstrap()