{"id":63,"date":"2019-03-08T07:01:52","date_gmt":"2019-03-08T07:01:52","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/?p=63"},"modified":"2019-03-24T02:05:37","modified_gmt":"2019-03-24T02:05:37","slug":"status-report-03-08","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/2019\/03\/08\/status-report-03-08\/","title":{"rendered":"Status Report 3\/8\/19"},"content":{"rendered":"<h2>Team Status<\/h2>\n<p><b>Risks and Contingency Plans<\/b><\/p>\n<p><span style=\"font-weight: 400\">The major risk for our project is balancing extensibility and the amount of work required to achieve it. Since various yoga poses differ in special instructions, symmetricity, alignment and even the position of endpoints, it\u2019s challenging to implement programs that apply to all the poses. Thus, some standard metrics such as whether a person\u2019s feet should stay on the ground need to be hard-coded for each pose rather than computed because there\u2019s no simple way to compute that information from input images. On the other hand, if we hard-code all standard metrics for each pose, adding new poses will be costly. We will have to observe images of the standard poses and manually enter 40+ numbers for each pose. This greatly reduces the extensibility of our application.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Therefore, we decided to hard-code only some of the standard metrics such as special instructions and symmetricity, and compute other metrics using a generic approach. For example, we need the name of the body part that is closest to the endpoints (i.e. wrists and ankles) so that <\/span><\/p>\n<p><span style=\"font-weight: 400\">we can tell the user to \u201cMove your (endpoint) left ankle down towards your (closest body part) right thigh\u201d. We plan to write a generic function that computes the closest body parts and outputs their names. This function will be applicable to all poses so no hard-coding is needed.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Changes and Schedule Updates <\/b><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">This week we were able to get the basic integration of angle metrics and verbal instructions. Now given the image of the user doing a yoga pose, we can develop a simple instruction to correct it. Right now, we are just outputting all the instructions and not necessarily ordering them in a certain way. <\/span><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Correct Pose<\/span><\/td>\n<td><span style=\"font-weight: 400\">Incorrect Pose<\/span><\/td>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-65\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/treepose_7-154x300.jpg\" alt=\"\" width=\"154\" height=\"300\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/treepose_7-154x300.jpg 154w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/treepose_7.jpg 161w\" sizes=\"(max-width: 154px) 100vw, 154px\" \/><\/td>\n<td><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-67\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.58-AM-300x245.png\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.58-AM-300x245.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.58-AM.png 370w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Output of our program:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-66\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.50-AM-300x51.png\" alt=\"\" width=\"300\" height=\"51\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.50-AM-300x51.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.50-AM-768x130.png 768w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-content\/uploads\/sites\/33\/2019\/03\/Screen-Shot-2019-03-08-at-2.00.50-AM.png 848w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">In addition, we have outlined our plan to tackle choosing motion words as well as the second part of the template 2.0 instruction where we use other body parts as reference for movement. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Definition: Endpoints are defined as the hands or feet. They are fixed if the feet or hands are on the ground. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">End Motion Generation: We will precompute which body part is closest to the endpoint for a certain pose to provide as reference. <\/span><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Priority<\/span><\/td>\n<td><span style=\"font-weight: 400\">Motion Word<\/span><\/td>\n<td><span style=\"font-weight: 400\">How it is chosen<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<td><span style=\"font-weight: 400\">Align<\/span><\/td>\n<td><span style=\"font-weight: 400\">If a certain part of a pose requires symmetry, then we will always use align <\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">2<\/span><\/td>\n<td><span style=\"font-weight: 400\">Straighten<\/span><\/td>\n<td><span style=\"font-weight: 400\">Standard angle for a given body part is between 170 and 190 degrees. <\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">3<\/span><\/td>\n<td><span style=\"font-weight: 400\">Move<\/span><\/td>\n<td><span style=\"font-weight: 400\">An endpoint is not fixed, move instruction will be chosen rather than bend.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">3<\/span><\/td>\n<td><span style=\"font-weight: 400\">Bend<\/span><\/td>\n<td><span style=\"font-weight: 400\">Endpoints (such as \u00a0are fixed, which means that only bending a joint is possible<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h5>Sandra<\/h5>\n<h5><span style=\"font-weight: 400\">Accomplished Tasks<\/span><\/h5>\n<p><span style=\"font-weight: 400\">This week, I worked primarily on angle\/verbal instruction with Tian and the design report. I primarily focused on writing the initial run through of verbal instruction. This was before we integrated it with the pose comparison class. I defined functions that determined the motion verb, identified the misaligned body parts, and set up the similarity method.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In addition, I wrote the pipeline code to take in an image and determine a correction instruction based on our pose comparison and vernal instruction generator libraries. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">With the design report, I worked on transferring the report from Google Drive to latex and the formatting on Latex. Also, I gathered references and developing the bibliography. I finished up my parts within the design report and did overall editing as well. <\/span><\/p>\n<h5><span style=\"font-weight: 400\">Upcoming Deliverables <\/span><\/h5>\n<p><span style=\"font-weight: 400\">This upcoming week is spring break, so I do not anticipate working on the project at that time. The week after spring break I will be testing out basic instruction set with more pictures of incorrect tree pose. In addition, I will work on implementing 2 of the movement verbs for our instruction generator as well as incorporating the similarity method.<\/span><\/p>\n<h5><strong>Chelsea<\/strong><\/h5>\n<h5><span style=\"font-weight: 400\">Accomplished Tasks<\/span><\/h5>\n<p>This week I shifted my focus from verbal instruction generation to the UI component. I collected examples of user interfaces of popular yoga mobile apps from Google images and Pinterest, and highlighted their unique features. After examining these features with Sandra and Tian, we all agreed to change the UI design slightly. Specifically, we will use carousel cards with a gif and several labels\/icons (such as label that shows time elapsed, etc) instead of static images to show the standard poses.<\/p>\n<p>Therefore, I have started working on a carousel card class in python. I have also integrated the landing page with the yoga routine page.<\/p>\n<p>Earlier this week, my teammates and I worked on editing the latex design document together to reduce redundancies and improve cohesion. I made changes to the verbal instruction diagram to reflect the newly developed template method 2.0.<\/p>\n<h5><span style=\"font-weight: 400\">Upcoming Deliverables <\/span><\/h5>\n<p>We have previously allocated the spring break week to be our slack week. Since we are not behind on our tasks, I do not anticipate accomplishing concrete deliverables. However, I will work on the UI more during this week, as it doesn&#8217;t depend on other components of our project so much.<\/p>\n<h5><\/h5>\n<h5><strong>Tian<\/strong><\/h5>\n<h5><span style=\"font-weight: 400\">Accomplished Tasks<\/span><\/h5>\n<p><span style=\"font-weight: 400\">This week I worked with Sandra to integrate a basic template instruction generator with the pose comparison algorithms. The simple instruction generator takes in static images for Tree Pose and Mountain Pose and outputs text instructions such as \u201cMove right ankle up\u201d. We also discussed different incorrect user poses that will trigger different verbs such as \u201cmove\u201d and \u201cbend\u201d and how to implement this logic. The detailed results are presented in our team status report.<\/span><\/p>\n<p><span style=\"font-weight: 400\">I implemented the algorithm to generate direction word (i.e. \u201cup\u201d and \u201cdown\u201d) for the instruction. The algorithm simulates standard angles and keypoints on the skeleton of the user. In this way, we have both user body parts and standard body parts in the same cartesian system and it becomes easy to determine if the user should move their body part up or down to better imitate standard pose.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In addition, I updated the template instruction generator based on the Pose classes I implemented last week.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Besides, since the design report is due this week, I spent a few extra hours writing and revising my parts in the report.<\/span><\/p>\n<h5><span style=\"font-weight: 400\">Upcoming Deliverables<\/span><\/h5>\n<p><span style=\"font-weight: 400\">We have scheduled next week as a slack week (Spring Break), so there are no tasks to be completed next week. I will start integrating DownDog and Warrior I poses and testing MVP with webcam the week after Spring Break.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Team Status Risks and Contingency Plans The major risk for our project is balancing extensibility and the amount of work required to achieve it. Since various yoga poses differ in special instructions, symmetricity, alignment and even the position of endpoints, it\u2019s challenging to implement programs that apply to all the poses. Thus, some standard metrics &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/2019\/03\/08\/status-report-03-08\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Status Report 3\/8\/19&#8221;<\/span><\/a><\/p>\n","protected":false},"author":96,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/posts\/63"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":8,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":90,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/posts\/63\/revisions\/90"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s19-teamb7\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}