Skip to content

Instantly share code, notes, and snippets.

View dboshardy's full-sized avatar

Drew Boshardy dboshardy

View GitHub Profile
@dboshardy
dboshardy / keybase.md
Created September 22, 2014 15:13
I am me.

Keybase proof

I hereby claim:

  • I am dboshardy on github.
  • I am dboshardy (https://keybase.io/dboshardy) on keybase.
  • I have a public key whose fingerprint is 1D93 20D9 DF3E 616D B9EA 3730 A35B 68BD 4000 597D

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