[{"data":1,"prerenderedAt":159},["ShallowReactive",2],{"project-7519093":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":9,"stance_mix":28,"scored_comments":29,"aspects":31,"strip":35,"post_text":37,"what":38,"said":72,"maker_in_thread":102,"shape":108,"grid":111,"attempts":120,"same_week":121,"maker_shows":14,"maker_hidden":151,"reader_version":152,"card":153},"7519093","cleanWhiteboardImage","Command line method for digitizing photos of whiteboards","title","Show HN – Command line method for digitizing photos of whiteboards",null,"lelandbatey",1396473429,2014,34,4,903,2272,40,"shown","dev_tools","command line image script","cli",[23,24,25,26],"whiteboard photo","imagemagick","command line","image cleanup","quiet",{"positive":29,"neutral":30,"mixed":30,"critical":30},2,0,{"idea":32,"performance":34},{"positive":33,"critical":30},1,{"positive":33,"critical":30},[36,30,36,30],5,"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\u002Fmake them into near perfect digital representations. Here's the script:\n\n\n```\n    #!\u002Fbin\u002Fbash\n    convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2\n\n```\n\nExample Input:\n\n\n```\n    Input 1: http:\u002F\u002Fi.imgur.com\u002FCTSIPwm.jpg\n    Input 2: http:\u002F\u002Fi.imgur.com\u002F37GXrwo.jpg\n\n```\n\nExample Output:\n\n\n```\n    Output 1: http:\u002F\u002Fi.imgur.com\u002FQf3jkBW.png\n    Output 2: http:\u002F\u002Fi.imgur.com\u002FoNueb0L.png\n\n```\n\nThe basic procedure ",{"problem":39,"audience":45,"pricing":9,"motivation":49,"time_to_build":56,"stack":60,"openness":69,"stage":70,"team_size":71},{"value":40,"source":41,"evidence":42},"Photos of whiteboards are hard to use; the script turns them into clean digital images","maker",[43],{"id":44},"post",{"value":46,"source":41,"evidence":47},"People who do a lot of work on whiteboards and want to digitize their notes",[48],{"id":44},{"value":50,"source":41,"evidence":51},"Maker does a lot of whiteboard work and wanted to automate managing photos of it",[52,53],{"id":44},{"id":54,"by":10,"text":55},"7519870","That invocation is precisely right. On my system, it's a shell script called `cleanWhiteboardImage`; this is an actual command I've run, taken from my bash history: ```…",{"value":57,"source":41,"evidence":58},"about a month",[59],{"id":44},[61,65],{"value":62,"source":41,"evidence":63},"Bash shell script",[64],{"id":44},{"value":66,"source":41,"evidence":67},"ImageMagick",[68],{"id":44},"unknown","launched","solo",{"praise":73,"objections":86,"requests":91,"questions":96,"alternatives":97},[74],{"value":75,"source":76,"evidence":77},"Useful idea, a good fit for HN","commenter",[78,82],{"id":79,"by":80,"text":81},"7519869","dang","First, bravo! This post is made for HN. Second, posts without urls (i.e. Ask HNs) have an automatic rank penalty applied to them. Could you please put it up at an external…",{"id":83,"by":84,"text":85},"7519805","tekknolagi","Brilliant. I really love this. So basically: `command input_whiteboard.jpg output_cleanedup.jpg` I think the only problem I can see with this is the time it takes to convert; on…",[87],{"value":88,"source":76,"evidence":89},"Takes several seconds to convert an image on older hardware",[90],{"id":83,"by":84,"text":85},[92],{"value":93,"source":76,"evidence":94},"Post with a URL rather than as a text post",[95],{"id":79,"by":80,"text":81},[],[98],{"value":99,"source":41,"evidence":100},"GIMP whiteboard cleanup procedure",[101],{"id":44},{"comments":29,"answered":33,"key":103},[104,107],{"id":105,"text":106},"7520227","I took your advice and posted a gist: https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=7520216 I actually made this gist a couple months ago when I first came up with this, I can't believe…",{"id":54,"text":55},{"commenters":109,"max_depth":29,"maker_replies":29,"first_comment_mins":110,"lifespan_hours":14},3,132,[112,114,116,118],[79,30,36,113,80,30],"maker\u002Fpositive\u002Fidea",[105,30,30,115,10,33],"maker\u002Fneutral\u002Fnone",[83,33,36,117,84,30],"project\u002Fpositive\u002Fperformance",[54,33,30,119,10,33],"project\u002Fneutral\u002Fperformance",[],[122,127,132,137,142,146],{"id":123,"name":124,"points":125,"category":126},"7487935","VoxelQuest",435,"games",{"id":128,"name":129,"points":130,"category":131},"7501516","SlideRule",368,"learning_science",{"id":133,"name":134,"points":135,"category":136},"7508443","Deafalarm",170,"consumer_social",{"id":138,"name":139,"points":140,"category":141},"7518564","Notifon",129,"hardware",{"id":143,"name":144,"points":145,"category":19},"7502999","GridList",92,{"id":147,"name":148,"points":149,"category":150},"7501891","ffjson",83,"languages",false,"v2",{"id":154,"name":5,"line":6,"ai":151,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":9,"top":17,"kw":155,"maker":10,"domain":156,"tier":18,"attempts":30,"strip":157,"url":-1,"mix":158,"praise":75,"objection":88,"sub":20},7519093,[23,24,25,26],"","5050",[29,30,30,30],1793990904256]