{"id":142,"date":"2024-03-16T16:29:46","date_gmt":"2024-03-16T21:29:46","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/?p=142"},"modified":"2024-03-16T16:33:30","modified_gmt":"2024-03-16T21:33:30","slug":"karens-status-report-for-3-16","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/2024\/03\/16\/karens-status-report-for-3-16\/","title":{"rendered":"Karen&#8217;s Status Report for 3\/16"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week I focused on improving phone detection. I familiarized myself with the Roboflow platform and how to train my own object detection model on it. Following this, I began the process of training the object detector by collecting a diverse dataset. I recorded videos of several different people with several different phones holding their phone in their hands. On the Roboflow platform, I was able to annotate and label the phone in each frame. I also applied some augmentations (changes in sheer, saturation, and brightness) and ended up with over 1000 images for the dataset. The results of the training are in images below. Overall, this process went much smoother than training locally using the analytics Python package. The training time was much shorter and I also obtained much better results using my own custom dataset.<\/span><\/p>\n<p><span style=\"font-weight: 400\">After using the phone detector live, it performs much more robustly than my previous iteration. However, I noticed that it struggled detecting phones in certain orientations, especially when only the thin of the phone is visible in frame. In frame, this looks like a very thing rectangle or even a line, so I collected more videos of people holding phones in this orientation. I also noticed poor performance on colored phones, so will need to collect more data in these situationsI will have to label each frame and will then use the model I have already trained as a starting point to further train on this new data in the coming week.<\/span><\/p>\n<p><span style=\"font-weight: 400\">I have integrated all of the individual detectors into a single module that prints when a behavior or distraction is detected along with the timestamp. It keeps track of behavior \u201cstates\u201d as well, so that a distraction is not recorded for every individual frame. I am collaborating with Arnav to translate these print statements into calls to the API he has created to communicate with the backend.<\/span><\/p>\n<p><span style=\"font-weight: 400\">This coming week, I will also integrate MediaPipe\u2019s hand pose landmarker so that I can track the hand in frame as well. We only want to consider a phone pick up when the phone is detected in the hand, so I will need to check that the location of phone is in the vicinity of the user\u2019s hand. Another feature I will be working on in the next week is facial recognition. If there are multiple people in frame, facial recognition will be used to distinguish between the user and any other people in frame. This will ensure that we run facial analysis (sleeping, yawning, and gaze detection) on the right face.<\/span><\/p>\n<p><span style=\"font-weight: 400\">With these updates to the phone detector, my progress is on schedule.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-147\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XR12pSbqcBr-c1ORSaTW4kT39vVZqGYK3GUiEcHT54W0KlRo0hL3EAK4kvBsGLYzasOMeaWG_rtX8z2mAKpuJHAsR8QMvIfawhZgyO7gif0l_vNMHpv4L8OeC59o-300x190.png\" alt=\"\" width=\"300\" height=\"190\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XR12pSbqcBr-c1ORSaTW4kT39vVZqGYK3GUiEcHT54W0KlRo0hL3EAK4kvBsGLYzasOMeaWG_rtX8z2mAKpuJHAsR8QMvIfawhZgyO7gif0l_vNMHpv4L8OeC59o-300x190.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XR12pSbqcBr-c1ORSaTW4kT39vVZqGYK3GUiEcHT54W0KlRo0hL3EAK4kvBsGLYzasOMeaWG_rtX8z2mAKpuJHAsR8QMvIfawhZgyO7gif0l_vNMHpv4L8OeC59o-768x487.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XR12pSbqcBr-c1ORSaTW4kT39vVZqGYK3GUiEcHT54W0KlRo0hL3EAK4kvBsGLYzasOMeaWG_rtX8z2mAKpuJHAsR8QMvIfawhZgyO7gif0l_vNMHpv4L8OeC59o-1024x650.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XR12pSbqcBr-c1ORSaTW4kT39vVZqGYK3GUiEcHT54W0KlRo0hL3EAK4kvBsGLYzasOMeaWG_rtX8z2mAKpuJHAsR8QMvIfawhZgyO7gif0l_vNMHpv4L8OeC59o.png 1600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-148\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/Confidence-Threshold-0.5-230x300.png\" alt=\"\" width=\"230\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/Confidence-Threshold-0.5-230x300.png 230w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/Confidence-Threshold-0.5.png 599w\" sizes=\"(max-width: 230px) 100vw, 230px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-149\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XZ4mEdDR579pJHuRf9s4YES5IWxR9hGDED4wK4ewbdxTwa9Ih6Weuol-5v2wVXm8sN-49qTJBdi432k5t3VbZeZ-jCQg3WvH36pFU_qHmosOCzaRMEEJ5pOGpJEj-300x287.png\" alt=\"\" width=\"300\" height=\"287\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XZ4mEdDR579pJHuRf9s4YES5IWxR9hGDED4wK4ewbdxTwa9Ih6Weuol-5v2wVXm8sN-49qTJBdi432k5t3VbZeZ-jCQg3WvH36pFU_qHmosOCzaRMEEJ5pOGpJEj-300x287.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/03\/XZ4mEdDR579pJHuRf9s4YES5IWxR9hGDED4wK4ewbdxTwa9Ih6Weuol-5v2wVXm8sN-49qTJBdi432k5t3VbZeZ-jCQg3WvH36pFU_qHmosOCzaRMEEJ5pOGpJEj.png 740w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<div id=\"accel-snackbar\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This week I focused on improving phone detection. I familiarized myself with the Roboflow platform and how to train my own object detection model on it. Following this, I began the process of training the object detector by collecting a diverse dataset. I recorded videos of several different people with several different phones holding their &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/2024\/03\/16\/karens-status-report-for-3-16\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Karen&#8217;s Status Report for 3\/16&#8221;<\/span><\/a><\/p>\n","protected":false},"author":842,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[3],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/142"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/users\/842"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":5,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":144,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/142\/revisions\/144"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}