{"id":8528,"date":"2019-04-16T08:50:36","date_gmt":"2019-04-16T15:50:36","guid":{"rendered":"http:\/\/jnack.com\/blog\/?p=8528"},"modified":"2019-04-16T09:18:11","modified_gmt":"2019-04-16T16:18:11","slug":"etch-a-snap-a-raspberry-pi-powered-etch-a-sketch-camera","status":"publish","type":"post","link":"http:\/\/jnack.com\/blog\/2019\/04\/16\/etch-a-snap-a-raspberry-pi-powered-etch-a-sketch-camera\/","title":{"rendered":"\u201cEtch-A-Snap,\u201d a Raspberry Pi-powered Etch A Sketch camera"},"content":{"rendered":"<p>Rad!<\/p>\n<p><iframe loading=\"lazy\" width=\"604\" height=\"340\" src=\"https:\/\/www.youtube.com\/embed\/wFrpxqqJUbc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>As <a href=\"https:\/\/petapixel.com\/2019\/04\/15\/the-worlds-first-etch-a-sketch-digital-camera\/?mc_cid=8eb5502377&amp;mc_eid=53d8d48922\">PetaPixel explains<\/a>,<\/p>\n<blockquote><p>The camera is powered by Raspberry Pi Zero. After a digital photo is captured, they\u2019re processed down to a 240\u00d7144 pixel 1-bit black-and-white line drawing using&nbsp;Pillow&nbsp;and&nbsp;OpenCV. The drawing is then translated into plotter commands by creating a network graph representation with&nbsp;NetworkX. Those plotter commands are carried out by physically moving the Etch A Sketch wheels using two 5V stepper motors built into a custom 3D-printed frame Fitzpatrick created.<\/p><\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-8533\" src=\"http:\/\/jnack.com\/blog\/wp-content\/uploads\/2019\/04\/etch.jpg\" alt=\"\" width=\"600\" height=\"375\"><\/p>\n<p>[<a href=\"https:\/\/youtu.be\/wFrpxqqJUbc\">YouTube<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rad! As PetaPixel explains, The camera is powered by Raspberry Pi Zero. After a digital photo is captured, they\u2019re processed down to a 240\u00d7144 pixel 1-bit black-and-white line drawing using&nbsp;Pillow&nbsp;and&nbsp;OpenCV. The drawing is then translated into plotter commands by creating a network graph representation with&nbsp;NetworkX. Those plotter commands are carried out by physically moving the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts\/8528"}],"collection":[{"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/comments?post=8528"}],"version-history":[{"count":3,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts\/8528\/revisions"}],"predecessor-version":[{"id":8534,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts\/8528\/revisions\/8534"}],"wp:attachment":[{"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/media?parent=8528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/categories?post=8528"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/tags?post=8528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}