{"id":206,"date":"2021-04-12T02:52:58","date_gmt":"2021-04-12T02:52:58","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/?p=206"},"modified":"2021-04-12T03:57:17","modified_gmt":"2021-04-12T03:57:17","slug":"andys-status-report-for-4-10","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/2021\/04\/12\/andys-status-report-for-4-10\/","title":{"rendered":"Andy&#8217;s Status Report for 4\/10"},"content":{"rendered":"<p><strong>Work<\/strong>:<\/p>\n<ul>\n<li>Worked on color detection algorithm for pink tape wrapped objects.<\/li>\n<li>I fine-tuned the HSV range for neon pink to work better under different lighting and shadow conditions. I explored several ranges using the taskbars I created last time and managed to almost eliminate glare from most tests as well.<\/li>\n<li>I wanted to solve segmentation\/fragmentation this week so I explored several methods that I found online and received from the professor\/Omar.<\/li>\n<li>The first method I attempted to use was morphological contours. I tried to use OpenCv&#8217;s erode and dilation functions to try to close\/cluster my contours for objects located at further distances from the camera. I was not able to get a noticeable result from running several tests so I think I was not fully doing the procedure correctly. I will try to continue testing this method next week after the demo.<\/li>\n<li>The next method I tried was downsampling with the contour drawing, but that also did not really produce any noticeable results. I will ask Omar for help with that next week.<\/li>\n<li>My final method and the one I had results with was applying a Gaussian Blur to the image before attempting to find contours. In my case, I used a 5&#215;5 G. Blur for my webcam (low resolution) and was able to eliminate a lot of the noise and fragmentation that I saw next week. Combined with having a better tested HSV range, I was much more satisfied with my testing as shown below.<\/li>\n<li>I added taskbars for moving the &#8220;bin&#8221; rectangle bounding box around.<\/li>\n<li>I added text representing the number of items within the bin.<\/li>\n<li>Items within the bin would not have contours or bounding boxes drawn around them but would be &#8220;counted&#8221; and updated in the text showing # of items in the box.<\/li>\n<li>I also updated each contour to have a bounding box drawn around it, a centroid dot in the middle, coordinates displayed better on top, and a number indicating the order and number in which it appeared on the video feed.<\/li>\n<li>Finally, I worked on adding information to our slideshow for the demo next week.<\/li>\n<\/ul>\n<p><strong>Future:<\/strong><\/p>\n<ul>\n<li>Next week, I want to continue fine tuning the HSV range for neon pink in bright lighting. Additionally, I want to continue to run testing on downsampling and morphological contours in addition to any other methods I research for color thresholding. I will also move onto testing actual tools on a dark-tiled floor next week to simulate the real workshop environment. Finally, I will also give the demo with my teammates.<\/li>\n<\/ul>\n<p>Here are some screenshots from my webcam during live video feed color detection testing.<\/p>\n<p><iframe loading=\"lazy\" width=\"843\" height=\"632\" src=\"https:\/\/www.youtube.com\/embed\/BA7FMvaCJUE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Work: Worked on color detection algorithm for pink tape wrapped objects. I fine-tuned the HSV range for neon pink to work better under different lighting&hellip;<\/p>\n","protected":false},"author":374,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[6],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/posts\/206"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/users\/374"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":3,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":216,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/posts\/206\/revisions\/216"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamb0\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}