Command line method for digitizing photos of whiteboards
Command line method for digitizing photos of whiteboards
About a month ago, after searching for an existing solution, I built a little script to take photo's of whiteboards and clean them up/make them into near perfect digital representations. Here's the script: #!/bin/bash convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2 Example Input: Input 1: http://i.imgur.com/CTSIPwm.jpg Input 2: http://i.imgur.com/37GXrwo.jpg Example Output: Output 1: http://i.imgur.com/Qf3jkBW.png Output 2: http://i.imgur.com/oNueb0L.png The basic procedure was outlined in this excellent post for cleaning up whiteboard photos using GIMP: http://matthew.mceachen.us/blog/how-to-clean-up-photos-of-whiteboards-with-gimp-403.html I just replicated the procedure using Imagemagick. Since I do a ton of work on whiteboards nearly every day, I found this really helpful for managing photos of my whiteboard work. I figured I should share this with you guys, since the HN community seems like the kind of people who'd make use of it.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Digitizing photos of whiteboards using the command line
The last command line from Krypton
Banners from the command line
Yawn - Sleepyti.me for the command line
DuckDuckGo at your command-line
Flappy Bird in the command line
Hacked together command-line "Spritz"
Joe – a .gitignore magician in your command line
Speedtest command line
Scoop – A command-line installer for locked down PCs with Powershell 2