{"id":482,"date":"2019-06-10T12:00:42","date_gmt":"2019-06-10T19:00:42","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=482"},"modified":"2019-06-09T23:36:35","modified_gmt":"2019-06-10T06:36:35","slug":"programming-a-pi-to-deter-cats-part-3","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/06\/10\/programming-a-pi-to-deter-cats-part-3\/","title":{"rendered":"Programming a Pi to Deter Cats: Part 3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am finally installing OpenCV on my Raspberry Pi. And if I have a little more time, I may even try getting a Hello World type program running with it; it&#8217;s unlikely though. Let&#8217;s Get Started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Last time I actually made any progress, I finished with making a virtual environment, meaning anything that happens in the sandbox stays in the sandbox, and I won&#8217;t have to rebuild the whole computer if things go nuclear. I think. The tutorial <a rel=\"noreferrer noopener\" aria-label=\"LINK  (opens in a new tab)\" href=\"https:\/\/www.pyimagesearch.com\/2018\/09\/26\/install-opencv-4-on-your-raspberry-pi\/\" target=\"_blank\">LINK <\/a>wasn&#8217;t very informative, but it was fairly instant while making it clear it was technically an optional step.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next couple steps are fuzzy in my memory. I don&#8217;t remember everything in chronological order. I kept running into errors, but I was gently pushed in the direction of trying to learn about them when I was in the local workshop (I was sure to bring a keyboard and mouse that weren&#8217;t at odds with my Pi). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My first major roadblock was when I was setting up to compile. I was sent off to research &#8216;cmake,&#8217; a command line program being used in that stem. I ended up on a page with a lot of text, and I&#8217;m an audio learner. I don&#8217;t remember much of what was going on, but I recognized enough to say I was only about 95% lost as to what was going on when it came down to fine details, like the options being used for each argument in the command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For some reason, it didn&#8217;t work, and I left stressed over it. If there&#8217;s one thing that is just an infinitesimal less frustrating than something not working when everything you know says it should work, it&#8217;s something working when everything you know says it shouldn&#8217;t work, and you&#8217;re trying to reproduce the problem so you can fix it. That happened to me. I set up for compilation, and I ran it. Ten minutes into the expected hour-plus operation at home, it crashed. There was some library it couldn&#8217;t find based on the pregenerated header, but I only figured that out when I went back into the workshop for a second time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Round two this week was more of the same, possibly leading to events jumping sessions in my mind, but the second one was felt a lot more productive. I found the cause of the source of the problem, and I also worked on another, unrelated topic I want to save for another time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bonus Topic: I&#8217;ve complained a few times about how Windows sometimes is like, &#8220;By the way, we are updating your computer in 10 minutes, is that okay?&#8221; I find that highly frustrating. It popped up two or three Friday nights ago (after Sabbath started, so I didn&#8217;t want to do a whole topic about it). My father and I finally found the settings to supposedly require human input to permit an update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Final Question: How much do you usually know about the commands you use?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am finally installing OpenCV on my Raspberry Pi. And if I have a little more time, I may even try getting a Hello World type program running with it; it&#8217;s unlikely though. Let&#8217;s Get Started! Last time I actually made any progress, I &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/06\/10\/programming-a-pi-to-deter-cats-part-3\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Programming a Pi to Deter Cats: Part 3&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-482","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/482\/revisions"}],"predecessor-version":[{"id":484,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/482\/revisions\/484"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}