{"id":468,"date":"2019-05-13T12:00:14","date_gmt":"2019-05-13T19:00:14","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=468"},"modified":"2019-05-13T01:26:12","modified_gmt":"2019-05-13T08:26:12","slug":"programming-a-pi-to-deter-cats-part-1","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/05\/13\/programming-a-pi-to-deter-cats-part-1\/","title":{"rendered":"Programming a Pi to Deter Cats: Part 1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, and likely for the next couple weeks, I am studying up on how computer vision software works so I can get started on the software to convey a message to my feline friend about venturing in places he isn&#8217;t welcome. Let&#8217;s get Started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I decided a long time ago that I wanted to explore the free and open source option OpenCV for this project. From what I can tell, I will need to play around with OpenCV on my desktop first to get a feel of how to use it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As of the time of writing, I believe my workflow will start with getting OpenCV onto a Linux desktop. After I&#8217;m comfortable with how it works, I can try running it on the Pi. Depending on how well the Pi takes it, I will develop the actual program on either my PacMan Ghost case, Blinkie Pie, or my Ubuntu server tower, Derpy Chips. A period of testing will involve Blinkie watching the forbidden area and logging suspicious activity: basically anything that moves, and narrow that down to naughty cat behavior. While that&#8217;s happening, I need to develop an audio turret. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My mother actually found a dog training device that emits high frequencies, and the cats aren&#8217;t too fond of it either. I&#8217;ve already tried taking it apart, and it&#8217;s so cheap, getting into the case for tinkering will mean a new case. My goal for this phase is to get the Blinkie to turn the nasty sounds on from a remote desktop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once I have my cat identification program working reliably, I can connect it to the frequency generator and set it loose. For the first few days and weeks, I&#8217;ll want to monitor it and evaluate its results by looking at pictures from suspect incidents. I&#8217;m looking forward to obedient cats.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Final Question: Have you worked with Neural Nets on Computer Vision problems before?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, and likely for the next couple weeks, I am studying up on how computer vision software works so I can get started on the software to convey a message to my feline friend about venturing in places he isn&#8217;t welcome. Let&#8217;s get Started! I &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/05\/13\/programming-a-pi-to-deter-cats-part-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Programming a Pi to Deter Cats: Part 1&#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,12],"tags":[],"class_list":["post-468","post","type-post","status-publish","format-standard","hentry","category-programming","category-robotics-construction"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/468","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=468"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":469,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/468\/revisions\/469"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}