{"id":161,"date":"2022-03-27T02:14:11","date_gmt":"2022-03-27T02:14:11","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/?p=161"},"modified":"2022-03-27T02:14:11","modified_gmt":"2022-03-27T02:14:11","slug":"larrys-status-report-for-26-march-2022","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/2022\/03\/27\/larrys-status-report-for-26-march-2022\/","title":{"rendered":"Larry\u2019s Status Report for 26 March 2022"},"content":{"rendered":"<p>This week, I spent most of my time trying to build OpenCV with GStreamer correctly. I made a lot of small and avoidable mistakes, such as not properly uninstalling other versions, but everything ended up working out.<\/p>\n<p>Once I got OpenCV installed and working with Python 3, I updated the previous code I was using to work with the Jetson TX2&#8217;s included CSI camera. I calibrated the camera and also used putText to overlay angle text over the detected people in the camera&#8217;s video output. It&#8217;s a little hard to see, but the image below shows the red text on the right of the video.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-163\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-content\/uploads\/sites\/201\/2022\/03\/jetson_angle-300x203.jpg\" alt=\"\" width=\"546\" height=\"369\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-content\/uploads\/sites\/201\/2022\/03\/jetson_angle-300x203.jpg 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-content\/uploads\/sites\/201\/2022\/03\/jetson_angle-768x520.jpg 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-content\/uploads\/sites\/201\/2022\/03\/jetson_angle-1024x693.jpg 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-content\/uploads\/sites\/201\/2022\/03\/jetson_angle.jpg 1452w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/p>\n<p>There were\u00a0 a few oddities that I also spent time working out. By installing OpenCV with GStreamer, the default backend for VideoCapture changed for the webcam. Once I learned what was going on, the fix was simply to change the backend to V4L when using the webcam. I also struggled with making the CSI camera output feel as responsive as the webcam was. A tip online suggested setting the GStreamer appsink to drop buffers, which seemed to help.<\/p>\n<p>Once I got the CSI camera working reasonably, I began investigating how to use the IBM Watson Speech-to-Text API. I did not get very far this week beyond making an account and copying some sample code.<\/p>\n<p>I believe that I am still on schedule for my personal progress. Our group progress, however, may be behind schedule since we have not yet fully figured out any sort of beamforming. I will try to continue making steady progress on my part of the project, and I will also try to support my team members with ideas for the audio processing portion.<\/p>\n<p>Next week, I hope to have speech-to-text working and somewhat integrated with the camera system. I want to be able to overlay un-separated real-time captions onto people in the video. If I cannot get the real-time captions working, I want to at least overlay captions from pre-recorded audio onto a real-time video.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I spent most of my time trying to build OpenCV with GStreamer correctly. I made a lot of small and avoidable mistakes, such as not properly uninstalling other versions, but everything ended up working out. Once I got OpenCV installed and working with Python 3, I updated the previous code I was using &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/2022\/03\/27\/larrys-status-report-for-26-march-2022\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Larry\u2019s Status Report for 26 March 2022&#8221;<\/span><\/a><\/p>\n","protected":false},"author":540,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[9],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/posts\/161"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/users\/540"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":164,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/posts\/161\/revisions\/164"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teamd6\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}