{"id":225,"date":"2023-04-29T22:28:04","date_gmt":"2023-04-29T22:28:04","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/?p=225"},"modified":"2023-04-29T22:28:04","modified_gmt":"2023-04-29T22:28:04","slug":"katherines-status-report-for-april-28th","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/2023\/04\/29\/katherines-status-report-for-april-28th\/","title":{"rendered":"Katherine&#8217;s Status Report for April 28th"},"content":{"rendered":"<p><span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">What<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">did<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">you<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">personally<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">accomplish<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">this<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">week<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">on<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">the<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">project?<\/span><\/p>\n<p>I got symbol detection working !!! This was actually such a difficult journey but I think it will make our project better. It&#8217;s accuracy is not great but I think I can make it a lot better with more negative images and training. I also had the idea to combine the color detection and symbol detection to make it really accurate! This would hopefully mitigate issues of detection lips for red, or other things like that. This would also help with not having a 100% accurate symbol detection. I would do this by lining the symbol with red and then test if the color detection and symbol detection has overlap, meaning this is most likely the correct symbol. I also fixed an issue in the fabrication design because when I did the new design with the 6mm I made a mistake on the front plate that makes it tilt upwards. This is a pretty simple fix so I just corrected the file and cut a new one with Suna.<\/p>\n<p>Back to the symbol detection &#8212; I had so much trouble getting this to work because opencv has not updated recent versions to include the commands that I needed, because they have been prioritizing other features. Therefore, I had to try to revert to older versions of opencv (below 3.4) but this lead to so many issues. I tried using a virtual environment on my computer, as wall as downloading Anaconda to try and get this older version through them. There was a lot of issues with different packages not being the right version. Finally, I found a video talking about this issue, but they were working on a Windows. I tried to convert what they were doing to Mac commands, but they were using resources that weren&#8217;t compatible, so finally I got on to virtual andrew and sent all of my data over. Now, finally, I was able to get the right version of opencv that I needed and run the training and create sample commands. I started with a smaller number of photos than I probably should, just to see if I could get the cascade file, so there is definitely room for improvement. This first image is when I first got it working, and you can see it is detecting a lot of things beyond just the correct symbol.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-227\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneSymbol1-300x176.png\" alt=\"\" width=\"300\" height=\"176\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneSymbol1-300x176.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneSymbol1-768x449.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneSymbol1-1024x599.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneSymbol1.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I began messing with settings on what size it should be detecting, to get rid of some of the unreasonable sizes it was detecting and got this:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-228\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneD2-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneD2-300x169.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneD2-768x433.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneD2-1024x577.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-content\/uploads\/sites\/247\/2023\/04\/capstoneD2.png 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Which is a little better. Combination with color and more samples will make this much better.<\/p>\n<p>&nbsp;<\/p>\n<p><span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">Is<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">your<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">progress<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">on<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">schedule<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">or<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">behind?<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">If<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">you<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">are<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">behind,<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">what<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">actions<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">will<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">be\u00a0<\/span><span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">taken<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">to<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">catch<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">up<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">to<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">the<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">project<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">schedule?<\/span><\/p>\n<p>On schedule.<\/p>\n<p><span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">What<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">deliver<\/span><span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">ables<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">do<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">you<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">hope<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">to<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">complete<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">in<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">the<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">next<\/span>\u00a0<span class=\"textLayer--absolute\" dir=\"ltr\" role=\"presentation\">week?<\/span><\/p>\n<p>Fine-tuning the cascade file and combining it with color, which shouldn&#8217;t be very hard, to have better detection for the symbol. Integration with Lance&#8217;s part still needs to be done this week as well.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What\u00a0did\u00a0you\u00a0personally\u00a0accomplish\u00a0this\u00a0week\u00a0on\u00a0the\u00a0project? I got symbol detection working !!! This was actually such a difficult journey but I think it will make our project better. It&#8217;s accuracy is not great but I think I can make it a lot better with more negative images and training. I also had the idea to combine the color detection and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/2023\/04\/29\/katherines-status-report-for-april-28th\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Katherine&#8217;s Status Report for April 28th&#8221;<\/span><\/a><\/p>\n","protected":false},"author":751,"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\/s23-teamd2\/wp-json\/wp\/v2\/posts\/225"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/users\/751"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":2,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":229,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/posts\/225\/revisions\/229"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd2\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}