{"id":1329,"date":"2018-11-28T16:46:41","date_gmt":"2018-11-28T21:46:41","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/?p=1329"},"modified":"2018-11-28T16:46:41","modified_gmt":"2018-11-28T21:46:41","slug":"jarod-romankiw-computer-vision-gestures","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/jromankiw\/jarod-romankiw-computer-vision-gestures\/","title":{"rendered":"Jarod Romankiw &#8211; Computer Vision Gestures"},"content":{"rendered":"<p>For this project, I wanted to focus on a certain muscle in the body. I noticed that after spending a few hours on the computer, my neck would get sore. This is because I would stay in the same position\u00a0and not stretch. I came up with a little game to try and help stretch my neck when using a computer. So I created a floating table which can be controlled by the movements\u00a0of my head. I can go up and down, and rotate the plate. I had to combine a few templates of code to make this work. And I had to study how the physics work for the bouncing ball. Since I wanted to control the &#8216;base&#8217; plane, i.e. where the ball bounces off of, I had to go into the help files to find a solution.<\/p>\n<p>Choosing the appropriate scale was really important because you can increase the difficulty of keeping the ball on the plate by making the scale very sensitive. And since the data from the CV is very noisy, I had to be careful because the plate can have a tendency to flip if not appropriately\u00a0scaled.<\/p>\n<p>Ideally, I wanted the plate to rotate in 3D space, but the FaceOSC wasn&#8217;t communicating with MAX, despite using the provided template files. Did I have to install something(?)<\/p>\n<p>This game is really fun to play around with, and I spent too long being distracted with it&#8230;enjoy!<\/p>\n<p>(Waiting to add a sound effect on the bounce of the ball. Josh said &#8216;Stay Tuned&#8217; \ud83d\ude09 )<\/p>\n<p><iframe loading=\"lazy\" width=\"1000\" height=\"750\" src=\"https:\/\/www.youtube.com\/embed\/oOx_kY9vcYU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For this project, I wanted to focus on a certain muscle in the body. I noticed that after spending a few hours on the computer, my neck would get sore. This is because I would stay in the same position\u00a0and not stretch. I came up with a little game to try and help stretch my&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/jromankiw\/jarod-romankiw-computer-vision-gestures\/\">Read More<\/a><\/div>\n","protected":false},"author":102,"featured_media":1330,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-1329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-vision-gestures"],"jetpack_featured_media_url":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-content\/uploads\/sites\/8\/2018\/11\/Anteiror-View.jpg","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/users\/102"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/comments?post=1329"}],"version-history":[{"count":1,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1329\/revisions"}],"predecessor-version":[{"id":1332,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1329\/revisions\/1332"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/media\/1330"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/media?parent=1329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/categories?post=1329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/tags?post=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}