{"id":320,"date":"2019-03-29T03:05:47","date_gmt":"2019-03-29T03:05:47","guid":{"rendered":"http:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/?p=320"},"modified":"2019-05-11T19:10:36","modified_gmt":"2019-05-11T19:10:36","slug":"block-detection-with-color-segmentation","status":"publish","type":"post","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/2019\/03\/29\/block-detection-with-color-segmentation\/","title":{"rendered":"Block Detection with Color Segmentation"},"content":{"rendered":"<p>Using OpenCV2 libraries, we are able to segment the image in the HSV space to find the block we want.<br \/>\nThen we find the contours inside the segmented image, and find the bounding boxes of the contours.<br \/>\nThen we select the bounding box that fits in the criteria and determine it to be the bounding box of our block.<br \/>\nThe main reason we use HSV color segmentation is it is lighting invariant and computationally efficient to compute.<br \/>\nOn the other hand, this method is not very discriminative; hence making many false positives. Due to this, we need<br \/>\nto look into other methods that can resolve this issue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-content\/uploads\/sites\/33\/2019\/03\/image1.png\" alt=\"\" width=\"520\" height=\"450\" class=\"alignnone size-full wp-image-339\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using OpenCV2 libraries, we are able to segment the image in the HSV space to find the block we want. Then we find the contours inside the segmented image, and find the bounding boxes of the contours. Then we select the bounding box that fits in the criteria and determine it to be the bounding<br \/><a class=\"moretag\" href=\"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/2019\/03\/29\/block-detection-with-color-segmentation\/\">+ Read More<\/a><\/p>\n","protected":false},"author":148,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-cv"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/comments?post=320"}],"version-history":[{"count":4,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/posts\/320\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/posts\/320\/revisions\/405"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/media?parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/categories?post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2018teamc\/wp-json\/wp\/v2\/tags?post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}