Ask Your Question

Revision history [back]

parameters in cv2.kmeans()

Python: cv2.kmeans(data, K, criteria, attempts, flags[, bestLabels[, centers]])

what does the parameters specified in bold signify. I didn't find any documentation relating to them clear on doc.opencv.org. Also how does the KMEANS_USE_INITIAL_LABELS work. It seems like its connected to those parameters but am not able to figure it out.