Last active
August 15, 2017 20:54
-
-
Save ktilcu/3ca617de699d895da318 to your computer and use it in GitHub Desktop.
kyle-Snippet: Process pic of whiteboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Usage ./whiteboard..sh path/to/picture path/to/new/better/picture | |
| convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment