{"id":20,"date":"2022-10-28T04:25:19","date_gmt":"2022-10-28T04:25:19","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/swartsm\/?p=20"},"modified":"2022-10-28T04:25:19","modified_gmt":"2022-10-28T04:25:19","slug":"opencv-python-and-the-face_recognition-library-potential-issues","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/swartsm\/2022\/10\/28\/opencv-python-and-the-face_recognition-library-potential-issues\/","title":{"rendered":"openCV-python and the face_recognition library-potential issues"},"content":{"rendered":"\n<p>In the current sprint, one of my tasks was to use openCV to successfully open my computer&#8217;s webcam and take a photo. This is done, so I have been looking into the next step, which is using webcam photos and the python face_recognition library as facial recognition login for our chat app. <\/p>\n\n\n\n<p>There are many tutorials for this task on the internet, and the two required libraries allow it all to be done without too many lines of code. Side note: I&#8217;ve looked at several of these tutorials, and they all use the same few public figures as examples for face recognition: Jeff Bezos, Elon Musk, Barack Obama, Joe Biden, etc. The lack of imagination is sad. Use someone unexpected! How about Steve Buscemi. <\/p>\n\n\n\n<p>One potential problem I encountered with the photos my webcam takes is the poor image quality. I&#8217;m using a new Mac for the first time after running Windows my whole life. I had been led to believe Macs are better at this kind of thing. My office is relatively well-lit but I guess I need to plug in my ring light. I need to write the code to actually analyze a face to see how big of a problem this is. <\/p>\n\n\n\n<p>Another problem: Looking over the face_recognition GitHub page, I noticed that it is technically *not* supported on Windows, only Linux and MacOS. There are work-arounds, which is somewhat comforting. I need to find out how that will affect our desktop app. I think (?) this means that any windows user who wants to use our app (including my group partner!) will have to follow somewhat complicated instructions to install the face_recognition library before being able to use the app. Or perhaps I&#8217;m totally wrong and there&#8217;s something about executable files that I don&#8217;t understand yet (since our app is a desktop app, we will have to turn in an executable). <\/p>\n\n\n\n<p>These potential pitfalls of adding facial recognition login to our project are par for the course and a normal part of software development. I will have plenty of time to figure out solutions if I move quickly to write my first draft of code. So off I go to do that&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the current sprint, one of my tasks was to use openCV to successfully open my computer&#8217;s webcam and take a photo. This is done, so I have been looking into the next step, which is using webcam photos and the python face_recognition library as facial recognition login for our chat app. There are many [&hellip;]<\/p>\n","protected":false},"author":12708,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/users\/12708"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":2,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/posts\/20\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/swartsm\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}