{"id":1384,"date":"2017-05-07T07:15:41","date_gmt":"2017-05-07T07:15:41","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=1384"},"modified":"2017-05-07T07:23:15","modified_gmt":"2017-05-07T07:23:15","slug":"final-week","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/05\/07\/final-week\/","title":{"rendered":"Final Week"},"content":{"rendered":"<p>Last week was spent trying different camera calibration methods. A few days\u00a0were spent on the checkerboard method, a few more on sticky notes and other color detection. Many problems cropped up with both these methods. I couldn&#8217;t get the program to truly recognize the checkerboard, and the way my program is set up it was very difficult to get the blob detection up and running.<\/p>\n<p>This week I tried the last resort clicking method which surely was the least problematic out of all the methods. Some annoying issues I ran into were:<br \/>\n1) finding reliable Python tutorials and documentation as most resources were only available for C++<br \/>\n2) once a python resource was found, it was version 2.7 rather than 3.6, so a lot of time was spent fixing up indentation and syntax issues<\/p>\n<p>Once all that was figured out, I wrote a tiny simple algorithm to take in the first two mouse clicks and stop after the first two, and then find the distance between the two. I have also finished up with the pixel -&gt; mm conversion math, all that needs to be done now is testing with a reliable piece of paper \/ sticky note etc.\u00a0taped to the forehead. I will probably do that on Sunday and edit this post with results, along with adding the option for command line arguments for more generality.<\/p>\n<p>The only final issue is consistency, as hough circles distance in pixels detection seems to work on only 50% of the images, and I have yet to find out a solution for the short-scalar overflow. It shouldn&#8217;t be occurring based on the method I&#8217;m using, not sure what&#8217;s wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week was spent trying different camera calibration methods. A few days\u00a0were spent on the checkerboard method, a few more on sticky notes and other color detection. Many problems cropped up with both these methods. I couldn&#8217;t get the program &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/05\/07\/final-week\/\">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\/1384"}],"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=1384"}],"version-history":[{"count":3,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1384\/revisions"}],"predecessor-version":[{"id":1387,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1384\/revisions\/1387"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=1384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=1384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=1384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}