Skip to content

Instantly share code, notes, and snippets.

@fartagaintuxedo
Last active August 11, 2016 16:11
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 fartagaintuxedo/b683fc2b98181b4a6a5f169f6081c584 to your computer and use it in GitHub Desktop.
Save fartagaintuxedo/b683fc2b98181b4a6a5f169f6081c584 to your computer and use it in GitHub Desktop.
import cv2
img = cv2.imread('/path/to/file/line_02.jpg', 0)
edges = cv2.Canny(img, 100, 200)
cv2.imwrite('mycanny.jpg', edges)
@fartagaintuxedo
Copy link
Author

Example of Canny edge detection using open computer vision library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment