{"id":349,"date":"2021-05-04T19:08:59","date_gmt":"2021-05-04T14:38:59","guid":{"rendered":"https:\/\/m-shaeri.ir\/blog\/?p=349"},"modified":"2023-03-01T13:50:25","modified_gmt":"2023-03-01T10:20:25","slug":"wyna-learns-to-know-you","status":"publish","type":"post","link":"https:\/\/mshaeri.com\/blog\/wyna-learns-to-know-you\/","title":{"rendered":"WYNA Learns To Know You"},"content":{"rendered":"\n<p>Holidays are a great opportunity to make ideas which go on in the mind come true. It was a month that I was thinking on a simple practical implementation of ML techniques together in one application. Last holiday, I put some effort to make a tiny bot in Python that I named it <strong>WYNA<\/strong>, stands for &#8220;<strong>W<\/strong>hat&#8217;s <strong>Y<\/strong>our <strong>N<\/strong>ame <strong>A<\/strong>pp&#8221;. The goal was to make use of both <strong>speech &amp; face recognition<\/strong> tools in a single app in order to have integrated basic interactions with human. All it does is that, it finds nearest person among people in the screen, asks the person&#8217;s name, then,  after the person says his\/her name, WYNA replies with a random greeting, and remembers the person&#8217;s face and name in the next encounters. Undoubtedly it has long way to be called a bot, but for me it was as amazing as <strong>Boston Dynamics<\/strong> robots \ud83d\ude05.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2021\/05\/ezgif.com-gif-maker-1.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"448\" height=\"336\" src=\"https:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2021\/05\/ezgif.com-gif-maker-1.gif\" alt=\"\" class=\"wp-image-394\"\/><\/a><figcaption>WYNA tries to know two kids (Muhammad &amp; Milan)<\/figcaption><\/figure><\/div>\n\n\n\n<p>For face recognition I used <strong>FaceNet <\/strong>model in Keras, and for speech recognition a Python package named <strong>SpeechRecognition version 3.8.1<\/strong> is used which has several online and offline methods for recognizing speech including <a rel=\"noreferrer noopener\" href=\"http:\/\/cmusphinx.sourceforge.net\/wiki\/\" target=\"_blank\">CMU Sphinx<\/a>&nbsp;, Google Speech Recognition and <a rel=\"noreferrer noopener\" href=\"https:\/\/www.microsoft.com\/cognitive-services\/en-us\/speech-api\" target=\"_blank\">Microsoft Bing Voice Recognition<\/a>. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/birddevelper\/WYNA\" data-type=\"URL\" data-id=\"https:\/\/github.com\/birddevelper\/WYNA\" target=\"_blank\"><span class=\"has-inline-color has-bright-blue-color\">WYNA on gitub <\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Holidays are a great opportunity to make ideas which go on in the mind come true. It was a month that I was thinking on &hellip; <\/p>\n","protected":false},"author":1,"featured_media":372,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,148,149,145,28,147,41],"tags":[55,57,49,50,58,60,59,56],"_links":{"self":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/349"}],"collection":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":45,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":1860,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions\/1860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/media\/372"}],"wp:attachment":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}