{"id":15337,"date":"2016-07-25T13:35:01","date_gmt":"2016-07-25T17:35:01","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=15337"},"modified":"2016-07-25T13:35:01","modified_gmt":"2016-07-25T17:35:01","slug":"reversing-the-wwdc-wall","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/07\/25\/reversing-the-wwdc-wall\/","title":{"rendered":"Reversing the WWDC Wall"},"content":{"rendered":"<p><a href=\"https:\/\/medium.com\/@fz\/reversing-the-wall-92f22a2ad538\">Martin Conte Mac Donell<\/a>:<\/p>\n<blockquote cite=\"https:\/\/medium.com\/@fz\/reversing-the-wall-92f22a2ad538\">\n<p>I took ~50 (rather sloppy) photos of the wall and wrote a program to do image stitching using a cylindrical projection.<\/p>\n<p>[&#8230;]<\/p>\n<p>With the flat image and using OpenCV again I detected all the contours (letters) and created a (inverse) mask to remove the blue-ish background and only keep the letters.<\/p>\n<p>[&#8230;]<\/p>\n<p>This image was already good enough to run tesseract. In order to get the best results I trained tesseract with the San Francisco Mono font before running it.<\/p>\n<p>[&#8230;]<\/p>\n<p>Go find your app phrase here: <a href=\"http:\/\/wwdcwall.com\" data-href=\"http:\/\/wwdcwall.com\" class=\"markup--anchor markup--p-anchor\" rel=\"nofollow\">http:\/\/wwdcwall.com<\/a> you can also get the JSON representation of the wall <a href=\"http:\/\/wwdcwall.com\/media\/ajax\/hello.json\" data-href=\"http:\/\/wwdcwall.com\/media\/ajax\/hello.json\" class=\"markup--anchor markup--p-anchor\" rel=\"nofollow\">from here<\/a>.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Martin Conte Mac Donell: I took ~50 (rather sloppy) photos of the wall and wrote a program to do image stitching using a cylindrical projection. [&#8230;] With the flat image and using OpenCV again I detected all the contours (letters) and created a (inverse) mask to remove the blue-ish background and only keep the letters. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[619,31,507,30,74,622,232,1221],"class_list":["post-15337","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-graphics","tag-ios","tag-json","tag-mac","tag-opensource","tag-ocr","tag-python","tag-wwdc"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/15337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=15337"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/15337\/revisions"}],"predecessor-version":[{"id":15338,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/15337\/revisions\/15338"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=15337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=15337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=15337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}