{"id":202,"date":"2023-04-01T15:17:41","date_gmt":"2023-04-01T19:17:41","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/?p=202"},"modified":"2023-04-01T15:17:41","modified_gmt":"2023-04-01T19:17:41","slug":"nina-duans-status-report-for-4-1-2023","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/2023\/04\/01\/nina-duans-status-report-for-4-1-2023\/","title":{"rendered":"Nina Duan\u2019s Status Report For 4\/1\/2023"},"content":{"rendered":"<h6><b>Personal Accomplishment<\/b><\/h6>\n<p><strong>1. Voice Generation<\/strong><\/p>\n<p><span style=\"font-weight: 400\">I modified the voice synthesizing script I wrote earlier in the semester to support mass generation of constant messages (e.g. \u201cWelcome to Meal by Words,\u201d \u201cplease order your next item,\u201d etc.) from the command line. I also created some helper functions so that the logic of the script can be called in real time to generate messages that haven\u2019t been prepared already.<\/span><\/p>\n<p><strong>2. Order Interaction Workflow<\/strong><\/p>\n<p><span style=\"font-weight: 400\">I laid out the entire backend workflow of the order interaction in code. The interaction is as follows:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">(After the back end has been woken up by an infrared sensor) Play the synthesized welcome message.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ask the customer to order the first item. The system does support ordering and\/or removing multiple items at a time, but, to maintain a relatively high item detection rate, we are limiting it to one item (with quantity) at a time for the MVP.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Parse customer speech and detect menu items.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If an item is detected, repeat the item and its quantity back to the customer. Otherwise, the system will ask the customer to repeat their order item after 15 seconds.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ask the customer to order the next item. They can also start the sentence with \u201cremove\u201d to remove a certain amount of an item, or say \u201ccheckout\u201d to checkout.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Repeat steps 3 to 5 until the customer says \u201ccheckout.\u201d<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Upload the order to the database and give the customer their order number.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">In the future, we are also planning on adding a confirm feature for checkout, so the customer will be asked to confirm their order (displayed on customer UI and\/or spoken out loud by voice synthesizer) before step 7.<\/span><\/p>\n<h6><b>About Schedule<\/b><\/h6>\n<p><span style=\"font-weight: 400\">I am on track with the schedule.<\/span><\/p>\n<p><span style=\"font-weight: 400\">However, it\u2019s important to note that because we are still having trouble with migrating our code to the microcontroller, some of the completed tasks may need to be reevaluated.<\/span><\/p>\n<h6><b>Plans for Next Week<\/b><\/h6>\n<p><span style=\"font-weight: 400\">I will work with Lisa to add a confirm feature to our system. This will require support from both the NLP module and the overall order interaction workflow. I will also fine-tune parameters such as the energy-level threshold of our speech recognition system and the amplitude of our noise cancellation filter to better accommodate the RPi environment. However, if we do need to replace the microcontroller with some other back end controller, we will also make the decision in the coming week.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If time permits, I will start integrating the cloud database with a preliminary, command-line-based staff-side UI.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Personal Accomplishment 1. Voice Generation I modified the voice synthesizing script I wrote earlier in the semester to support mass generation of constant messages (e.g. \u201cWelcome to Meal by Words,\u201d \u201cplease order your next item,\u201d etc.) from the command line. I also created some helper functions so that the logic of the script can be &hellip; <a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/2023\/04\/01\/nina-duans-status-report-for-4-1-2023\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Nina Duan\u2019s Status Report For 4\/1\/2023&#8221;<\/span><\/a><\/p>\n","protected":false},"author":687,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/posts\/202"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/users\/687"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":2,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":205,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/posts\/202\/revisions\/205"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamd3\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}