Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Last active Sep 20, 2021
Embed
What would you like to do?
ret, thresh9 = cv2.threshold(img1,100 , 255, cv2.THRESH_BINARY + cv2.THRESH_OTSU)
cv2.imshow('otsu',thresh8)
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment