{"id":1335,"date":"2017-02-25T01:25:24","date_gmt":"2017-02-25T01:25:24","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=1335"},"modified":"2017-02-25T05:48:37","modified_gmt":"2017-02-25T05:48:37","slug":"week-3-2","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/02\/25\/week-3-2\/","title":{"rendered":"Week 3"},"content":{"rendered":"<p>This week, I installed PyCharm and attempted to install all the necessary packages to it (nimpy and cv2). I tried to learn how to run a file remotely through the interpreter and how to organize my files in one location.<\/p>\n<p>Currently I&#8217;m having trouble setting up my project in PyCharm (it won&#8217;t detect the necessary modules and I&#8217;ve been trying to figure out how to fix that)<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1336\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh-300x169.png\" alt=\"sigh\" width=\"300\" height=\"169\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh-300x169.png 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh-768x432.png 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh-1024x576.png 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh-500x281.png 500w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/sigh.png 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>EDIT: After spending some hours trying to figure out the issue, I found out that I had Python 2.7 installed from a while ago and that was getting mixed up with the 3.6 that I had installed recently, so that may have been causing PyCharm to not recognize the packages. I had the wrong interpreter selected in the IDE settings, so selecting the correct one fixed the issue!<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1340\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes-300x169.png\" alt=\"yes!\" width=\"300\" height=\"169\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes-300x169.png 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes-768x431.png 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes-1024x575.png 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes-500x281.png 500w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2017\/02\/yes.png 1912w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In addition to that, I tested out cv2&#8217;s live video\/webcam functionality in PyCharm and started working on face\/eye\/blob detection. I used the code from\u00a0http:\/\/docs.opencv.org\/3.0-beta\/doc\/py_tutorials\/py_gui\/py_video_display\/py_video_display.html<br \/>\nand running the program correctly opened the laptop&#8217;s webcam (how cool) but I couldn&#8217;t get the window to close properly (it would keep reopening).<\/p>\n<p>&nbsp;<\/p>\n<p>Now that I actually have some foundation and idea of what&#8217;s going on, the plan for next week is what the initial plan was for this week &#8211; to actually start playing with blob and face detection from pictures and live webcam.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I installed PyCharm and attempted to install all the necessary packages to it (nimpy and cv2). I tried to learn how to run a file remotely through the interpreter and how to organize my files in one location. &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2017\/02\/25\/week-3-2\/\">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\/1335"}],"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=1335"}],"version-history":[{"count":6,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1335\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1335\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=1335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=1335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}