Skip to content

Instantly share code, notes, and snippets.

View JaredSartin's full-sized avatar

Jared Sartin JaredSartin

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jaredsartin on github.
  • I am sartin (https://keybase.io/sartin) on keybase.
  • I have a public key whose fingerprint is 8606 F817 2BD8 001B E175 184C 9383 D799 BA1E E79A

To claim this, I am signing this object:

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results