{"id":1142,"date":"2010-02-27T11:37:24","date_gmt":"2010-02-27T19:37:24","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=1142"},"modified":"2010-02-27T11:37:24","modified_gmt":"2010-02-27T19:37:24","slug":"the-game-part-1-visualization","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2010\/02\/27\/the-game-part-1-visualization\/","title":{"rendered":"The Game Part 1: Visualization"},"content":{"rendered":"<p><a href=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/TheGame.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1143\" title=\"TheGame\" src=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/TheGame-300x184.jpg\" alt=\"\" width=\"300\" height=\"184\" srcset=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/TheGame-300x184.jpg 300w, https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2010\/02\/TheGame.jpg 930w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>That&#8217;s the game.\u00c2\u00a0 Those are the elements I need to recognize and react to.\u00c2\u00a0 I&#8217;m going to need to find the bombs, find the buckets, and find the bomber.<\/p>\n<p>I could try to do this in pretty much the same way that I did for Pong, but that was a bit hacky and prone to failure.\u00c2\u00a0 I&#8217;d like to learn a bit more about some of the object detection and recognition features in OpenCV, and see if there&#8217;s some way for it to identify the components directly, instead of just assuming that different boxes are different parts of the playing field.\u00c2\u00a0 I played with some of that on the Wesley Crusher thing, but that was using ready-made classifiers.\u00c2\u00a0 This time I&#8217;ll have to do it from scratch and see what happens.<\/p>\n<p>At any rate, the game playing logic should be easier this time around.\u00c2\u00a0 I don&#8217;t have to deal with bouncing balls and linear regression and all of that.\u00c2\u00a0 The bomb tracking should be failry straightforward.<\/p>\n<p>Anyway, time to break out the OpenCV.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>That&#8217;s the game.\u00c2\u00a0 Those are the elements I need to recognize and react to.\u00c2\u00a0 I&#8217;m going to need to find the bombs, find the buckets, and find the bomber. I could try to do this in pretty much the same way that I did for Pong, but that was a bit hacky and prone to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[17,15,16,77,19],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1142"}],"collection":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/comments?post=1142"}],"version-history":[{"count":2,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1142\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}