{"id":214,"date":"2023-12-10T04:42:39","date_gmt":"2023-12-10T04:42:39","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/?p=214"},"modified":"2023-12-10T04:42:39","modified_gmt":"2023-12-10T04:42:39","slug":"team-status-report-for-12-9-23","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/2023\/12\/10\/team-status-report-for-12-9-23\/","title":{"rendered":"Team Status Report for 12\/9\/23"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Unfortunately we ended up making the decision to not implement diodes in our project. Devan was having too much difficulty with the implementation. The positive side to this is that our circuit classification accuracies have gone up, because previously there were some cases where switches would be classified as diodes. The component classification accuracy has stayed the same at around 83%, and the circuit classification accuracy is around 86%. Because we removed diodes, we have to redraw test images that were used that contained diodes. We plan on continuing testing a lot tomorrow and next week, just to get plenty of data to use in our report.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Computer vision unit testing:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Individual component classification testing<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested different image preprocessing algorithms and parameters<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested how classification performed with various implementations<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">With special casing on wires<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that this was highly effective in classifying wires, which allows us to remove wires from the dataset so we don\u2019t even have false positives of wires<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">With varying numbers of matches considered (ex: only considering the top 20 matches of features between the component image and a dataset image)<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that considering all the matches and not leaving any out had the highest classification accuracy<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">With different feature matching algorithms<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined ORB feature vectors + BRIEF descriptors was the best combination<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">With circle detection to separate voltage+current sources and lightbulbs from other components<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that the circle detection was beneficial and worked well in identifying voltage+current sources and lightbulbs<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Interestingly resistors would also get detected to have a circle, but this ended up being fine because in the feature matching there would be a clear difference between the resistors and circular components<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If a component\u2019s best matching score doesn\u2019t reach some sort of satisfactory threshold, rerun the component matching with all component types in consideration (redo without circle detection)<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that a consistent threshold could not be determined and that the circle detection was more accurate<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested with various sizes of the dataset<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Notably as long as there is at least one image of a component in each of its possible orientations, the classification accuracy was similar to when having multiple images.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Need to test more with this<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Node detection testing<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested different image preprocessing algorithms and parameters<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested images with different lightings and shadows<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that even with improper lighting, the node detection works well as long as the nodes are drawn large enough and are properly filled in<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Full circuit classification testing<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested complete computer vision code with circuit images of various number of components (4 to 10)<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Determined that all incorrectly classified circuits were because of poor component classification, not because of failure of node detection<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Circuit Simulator Testing<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Generate netlist with maximum of 8 components<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Run netlist through existing simulator tool<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">CircuitLab<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Compare results of simulation\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Voltage at every node<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Current through each component\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tested 25 circuits<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Voltage Sources, current sources, resistors, light bulbs<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Current and voltage were correct on every circuit<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">100% simulator accuracy given a netlist<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Usability Testing<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Surveyed 7 individuals ages 12-14<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Gave them circuits to draw<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Answered questions on a scale of 1-10<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201cHow easy was it to upload your circuits?\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 10\/10<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201cWas it clear how to input values?\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 6\/10<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Found confusing which component they were inputting values for<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201c\u201cHow useful were the tips on the home screen when drawing your circuit?\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 7\/10<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Found example drawing of circuit most helpful<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u00a0\u201cWere the headers of the page useful when asked to do complete some task\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 9\/10<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201cDo you think adding more tips and headers would make it more clear\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 7\/10<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u00a0\u201cHow clear were the schematics of all the circuits displayed?\u201d<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 9\/10<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u00a0\u201cHow easy was it to recognize what you needed to redraw with your circuit if it wasn\u2019t an option?\u201d\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score 7\/10<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Average score of survey 7.85<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Working on implementing a more clear way to input values for components\u00a0<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Unfortunately we ended up making the decision to not implement diodes in our project. Devan was having too much difficulty with the implementation. The positive side to this is that our circuit classification accuracies have gone up, because previously there were some cases where switches would be classified as diodes. The component classification accuracy has &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/2023\/12\/10\/team-status-report-for-12-9-23\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Team Status Report for 12\/9\/23&#8221;<\/span><\/a><\/p>\n","protected":false},"author":798,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[8],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/posts\/214"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/users\/798"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/posts\/214\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f23-teamb1\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}