{"id":345,"date":"2009-06-03T15:55:05","date_gmt":"2009-06-03T22:55:05","guid":{"rendered":"http:\/\/mikelberman.com\/blog\/?p=345"},"modified":"2021-03-09T02:26:18","modified_gmt":"2021-03-09T02:26:18","slug":"mr-miyagis-fly-catch","status":"publish","type":"post","link":"https:\/\/www.mikelberman.com\/work\/2009\/06\/03\/mr-miyagis-fly-catch\/","title":{"rendered":"Mr. Miyagi\u2019s Fly Catch"},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p>In Nature of Code, we learned how to regulate entropy and imitate the physical world.&nbsp; I seized this opportunity&nbsp; to realize the Miyagi Fly Catch that I begun during 4-in-4.<\/p>\n<p>The game is played with real, untethered chopsticks.&nbsp; The tips are painted a neon color in order for your webcam to be able to differentiate the sticks from the other objects in the frame.&nbsp; Mr. Miyagi\u2019s right arm follows your tracked chopsticks across the screen during your pursuit of the rendered housefly.<\/p>\n<p>Here are some pictures from ITP&#8217;s Spring Show.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"width: 343px\" class=\"wp-caption alignnone\"><a title=\"Calibrating the game by mauxfaux, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/fauxtauxs\/3593104905\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm4.static.flickr.com\/3384\/3593104905_ee43c583c8.jpg\" alt=\"Calibrating the game\" width=\"333\" height=\"500\"><\/a><p class=\"wp-caption-text\">Calibrating the color tracking. Photo by Joseph Kelberman.<\/p><\/div>\n<div id=\"attachment_349\" style=\"width: 493px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-349\" class=\"size-full wp-image-349\" title=\"Playing the Game\" src=\"http:\/\/mikelberman.com\/blog\/wp-content\/uploads\/miyagi_syed_edit.jpg\" alt=\"Man who catch fly accomplish anything\" width=\"483\" height=\"322\"><p id=\"caption-attachment-349\" class=\"wp-caption-text\">Man who catch fly accomplish anything. Photo by Syed.<\/p><\/div>\n<div style=\"width: 522px\" class=\"wp-caption alignnone\"><a title=\"tommyplays_edit by mauxfaux, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/fauxtauxs\/3594431522\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm4.static.flickr.com\/3400\/3594431522_9e20352221_b.jpg\" alt=\"tommyplays_edit\" width=\"512\" height=\"341\"><\/a><p class=\"wp-caption-text\">Go Tommy Go! Photo by Joseph Kelberman.<\/p><\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p>The fellow project &#8220;<a href=\"http:\/\/toobigfora.net\/\">A Fish This Big<\/a>&#8221; also uses color tracking, enabling me to use my chopsticks with their project too.&nbsp; Their program uses the two blobs as scaling handles (no pun intended) to place the fish.&nbsp; This is picture is from the computer&#8217;s view.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"width: 385px\" class=\"wp-caption alignnone\"><a title=\"Yummers by mauxfaux, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/fauxtauxs\/3598750276\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm3.static.flickr.com\/2478\/3598750276_22790544be.jpg\" alt=\"Yummers\" width=\"375\" height=\"281\"><\/a><p class=\"wp-caption-text\">Matt feeds me a fish.<\/p><\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p>Here&#8217;s a short clip from Gizmodo.  Keep in mind this was OpenCV before the Kinect came out.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/4593418?byline=0&#038;portrait=0\" width=\"640\" height=\"368\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Nature of Code, we learned how to regulate entropy and imitate the physical world.&nbsp; I seized this opportunity&nbsp; to realize the Miyagi Fly Catch that I begun during 4-in-4. The game is played with real, untethered chopsticks.&nbsp; The tips are painted a neon color in order for your webcam to be able to differentiate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[21,18],"tags":[22,23,24,25,26,27,28],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-camera-vision","category-nature-of-code","tag-camera-vision","tag-color-tracking","tag-fly-catch","tag-miyagi","tag-nature-of-code","tag-processing","tag-shiffman"],"_links":{"self":[{"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":2,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":1132,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/posts\/345\/revisions\/1132"}],"wp:attachment":[{"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/categories?post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mikelberman.com\/work\/wp-json\/wp\/v2\/tags?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}