Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created September 20, 2021 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letthedataconfess/6549bca08eef3b7f1d2935a773ead375 to your computer and use it in GitHub Desktop.
Save letthedataconfess/6549bca08eef3b7f1d2935a773ead375 to your computer and use it in GitHub Desktop.
ret, thresh3 = cv2.threshold(img, 60, 255, cv2.THRESH_BINARY_INV) ##inverted_binary_threshold=60
cv2.imshow('zebra',thresh3)
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment