{"id":1371,"date":"2017-04-15T21:07:51","date_gmt":"2017-04-15T21:07:51","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=1371"},"modified":"2017-04-15T21:07:51","modified_gmt":"2017-04-15T21:07:51","slug":"week-10","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/04\/15\/week-10\/","title":{"rendered":"Week 10"},"content":{"rendered":"<p>This week, a chessboard pattern was printed out and tested with multiple pictures of my face and my roommate Julian&#8217;s face. OpenCV&#8217;s chessboard detector method wouldn&#8217;t quite work on us but the problem seems to be the size of the squares. For it to fit on the forehead, it had to be cut down to 3&#215;2. However, OpenCV&#8217;s method detects the inner corners only which makes it 2&#215;1, and requires at least 2&#215;2. So I will spend more time trying to work with that and if it doesn&#8217;t work out I&#8217;ll try other calibration methods.<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1372\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest-300x164.jpg\" alt=\"badtest\" width=\"300\" height=\"164\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest-300x164.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest-768x420.jpg 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest-1024x561.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest-500x274.jpg 500w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/badtest.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><\/a>In this screenshot, the algorithm didn&#8217;t quite accurately detect my eyes but that was a rarity as it works with most other images:<br \/>\n<a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1373\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian-300x169.png\" alt=\"julian\" width=\"300\" height=\"169\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian-300x169.png 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian-768x432.png 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian-1024x575.png 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian-500x281.png 500w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/julian.png 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1374\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest-300x168.jpg\" alt=\"oktest\" width=\"300\" height=\"168\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest-300x168.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest-768x430.jpg 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest-1024x573.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest-500x280.jpg 500w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/04\/oktest.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Applying the distance method to these photos, the result in pixels actually seems pretty accurate. The distance between the eyes turns out to be around half of the image&#8217;s width in pixels, more or less.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, a chessboard pattern was printed out and tested with multiple pictures of my face and my roommate Julian&#8217;s face. OpenCV&#8217;s chessboard detector method wouldn&#8217;t quite work on us but the problem seems to be the size of the &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/04\/15\/week-10\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":196,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1371"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/users\/196"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/comments?post=1371"}],"version-history":[{"count":1,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1371\/revisions"}],"predecessor-version":[{"id":1375,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1371\/revisions\/1375"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=1371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=1371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=1371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}