{"id":163,"date":"2014-04-01T04:52:24","date_gmt":"2014-04-01T02:52:24","guid":{"rendered":"http:\/\/blog.teleranek.org\/?p=163"},"modified":"2025-06-29T12:29:13","modified_gmt":"2025-06-29T10:29:13","slug":"automatic-drawing-recognition-in-javascript","status":"publish","type":"post","link":"https:\/\/blog.teleranek.org\/?p=163","title":{"rendered":"Automatic drawing recognition in javascript"},"content":{"rendered":"<p>When working on the <a href=\"http:\/\/blog.teleranek.org\/?p=148\">android recognition app<\/a>, I&#8217;ve also made version in JavaScript. Its around 60 megabytes site, so its quite unusable. And it loads so long that you can start doubting that it&#8217;s going to load at all.<br \/>\nTo see it, better turn off AdBlock (it has a bug which prevents some sources from loading) and use chrome.<br \/>\nTo make it harder and less usable (and lighter for my dropbox), to see this site you must first go to my experimental domain <a href=\"http:\/\/timmott-twerten.com\">timmott-twerten.com<\/a>, click and type &#8220;drawings&#8221;:<br \/>\n<a href=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-02.09.21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-170\" title=\"timmott-twerten with drawings\" src=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-02.09.21-1024x501.png\" alt=\"\" width=\"801\" height=\"392\" srcset=\"https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-02.09.21-1024x501.png 1024w, https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-02.09.21-300x146.png 300w, https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-02.09.21.png 1903w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/a>. This isn&#8217;t user friendly at all, so if you type something else in the box, or delete a letter, then the site will close itself and you will loose time that you wasted waiting for it.<\/p>\n<p>It could be much more compact in flash\/actionscript, but I wanted to check how fast is JS. It appears to be pretty fast ; )<\/p>\n<p><a href=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-164\" title=\"The automatic drawing recognition in js\" src=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.12-1024x545.png\" alt=\"\" width=\"800\" height=\"426\" srcset=\"https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.12-1024x545.png 1024w, https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.12-300x159.png 300w, https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.12.png 1688w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>The &#8220;save&#8221; button<br \/>\n<a href=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-165\" title=\"Save button uploads your image to imgur\" src=\"http:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.23.png\" alt=\"\" width=\"367\" height=\"47\" srcset=\"https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.23.png 367w, https:\/\/blog.teleranek.org\/wp-content\/uploads\/2013\/12\/Zrzut-ekranu-2013-12-03-01.47.23-300x38.png 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><br \/>\n&#8230; uploads your creation to imgur.<\/p>\n<p>It is hosted on my dropbox, so when the transfer is exhausted, it won&#8217;t shutdown my blog ; )<\/p>\n<p>ps. the javascript isn&#8217;t compressed or uglified, so you can see how it is all made.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When working on the android recognition app, I&#8217;ve also made version in JavaScript. Its around 60 megabytes site, so its quite unusable. And it loads so long that you can start doubting that it&#8217;s going to load at all. To see it, better turn off AdBlock (it has a bug which prevents some sources from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[76,75],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-flash-experiments","tag-computer-vision","tag-drawing-recognition"],"_links":{"self":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=163"}],"version-history":[{"count":12,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions\/273"}],"wp:attachment":[{"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.teleranek.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}