Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ret, thresh1 = cv2.threshold(img, 60, 255, cv2.THRESH_BINARY) ##threshold=60
cv2.imshow('zebra',thresh1)
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment