Skip to content

Instantly share code, notes, and snippets.

@mongolian-it
Created July 6, 2012 13:38
contour = cv.FindContours(blobImage, cv.CreateMemStorage())
while contour != None:
if cv.ContourArea(contour) > 10*10:
rect = cv.BoundingRect(contour)
if abs(rect[2] - rect[3]) < 4:
# бөмбөг олдов
contour = contour.h_next()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment