1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fix pylint warnings

pylint 1.8.3
This commit is contained in:
Alexander Alekhin
2019-10-16 18:49:33 +03:00
parent d154fa4b4c
commit 0e40c8a031
26 changed files with 40 additions and 39 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def main():
points, _ = make_gaussians(cluster_n, img_size)
term_crit = (cv.TERM_CRITERIA_EPS, 30, 0.1)
ret, labels, centers = cv.kmeans(points, cluster_n, None, term_crit, 10, 0)
_ret, labels, _centers = cv.kmeans(points, cluster_n, None, term_crit, 10, 0)
img = np.zeros((img_size, img_size, 3), np.uint8)
for (x, y), label in zip(np.int32(points), labels.ravel()):