Skip to content

Instantly share code, notes, and snippets.

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