{"id":85,"date":"2020-11-01T20:57:06","date_gmt":"2020-11-01T20:57:06","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/?p=85"},"modified":"2020-11-01T20:57:06","modified_gmt":"2020-11-01T20:57:06","slug":"11-01-weekly-status-update-shivani","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/2020\/11\/01\/11-01-weekly-status-update-shivani\/","title":{"rendered":"(11\/01) Weekly Status Update: Shivani"},"content":{"rendered":"<p>This week, I spent a lot of time at the site of testing our device(my teammates&#8217; house), and managed to accomplish a bunch of things regarding the actual protocol of the image transfer.<\/p>\n<p><strong>1) Capturing Image over a sequence of time and preprocessing<\/strong><br \/>\nThis base code was written and tested. It takes an image of the clutter zone, at an interval of every 5 minutes. This interval can be changed according to preference. And then, it crops the image so that only the zones we care about sent to the hub for processing.<\/p>\n<p><strong>2) Disconnecting the RPi Zero W from the internet, and connecting it to the Hub&#8217;s wifi network<\/strong><br \/>\nFor this step, I removed the SD card from the RPiZeroW and rewrote the WPA supplicant. It took about three tries for me to get the supplicant right.<\/p>\n<p><strong>2) Sending Image to the Hub<\/strong><br \/>\nThis part took a while. Initially, I was unable to connect with the server that was written by my teammate on the hub. Took us a while to figure it out, but what was happening was that our hub&#8217;s IP address was 10.0.0.0, so the RPi would refuse to connect to it as, the IP address ended with &#8216;0.0.0&#8217; Once a connection was established, initially I tested sending string messages to an echo server my teammate wrote and managed to connect to it. After that, I started writing my own server and client to send and receive images, and send ACKs to the Camera.\u00a0 I am currently able to send the cropped image, but sending the full image corrupts it, and I am looking into that.<\/p>\n<p><strong>3) Functions for Image manipulation<\/strong><br \/>\nSince image manipulation is going to be integrated into the Hub. I have been writing functions from the code I already had, so that Jeffrey can just call them at the right places, and doesn&#8217;t have to do much.<\/p>\n<p>Besides that, I worked on the ethics assignment. The readings were surely very interesting. I had a fun time reading them.<\/p>\n<p>This coming week, David and I will be looking into getting the exact position of the object on the counter and associating it with the user.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I spent a lot of time at the site of testing our device(my teammates&#8217; house), and managed to accomplish a bunch of things regarding the actual protocol of the image transfer. 1) Capturing Image over a sequence of time and preprocessing This base&nbsp;<a class=\"read-more\" href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/2020\/11\/01\/11-01-weekly-status-update-shivani\/\">&hellip;<\/a><\/p>\n","protected":false},"author":365,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/users\/365"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/posts\/85\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teama2\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}