<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by FENXI on Medium]]></title>
        <description><![CDATA[Stories by FENXI on Medium]]></description>
        <link>https://medium.com/@fenxi-technology?source=rss-e843b7df3e73------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*G_p2zV8aLHLMT1ONJlD5Vg.png</url>
            <title>Stories by FENXI on Medium</title>
            <link>https://medium.com/@fenxi-technology?source=rss-e843b7df3e73------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:34:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fenxi-technology/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Face Recognition with MTCNN and VGGFace [Pa]]]></title>
            <link>https://fenxi-technology.medium.com/face-recognition-with-mtcnn-and-vggface-pa-c0eff3b7dd5b?source=rss-e843b7df3e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0eff3b7dd5b</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[FENXI]]></dc:creator>
            <pubDate>Fri, 09 Apr 2021 16:33:32 GMT</pubDate>
            <atom:updated>2021-04-09T16:33:32.083Z</atom:updated>
            <content:encoded><![CDATA[<h3>Face Recognition with MTCNN and VGGFace [Part 1]</h3><h3>Introduction</h3><p>Face recognition is part of a broader field called “computer vision”. With the advancement of Deep Learning technologies and research, the computer vision field and its many practical applications have dramatically improved during the last decade</p><p>Although the mathematics and technicalities behind it can get a bit tricky, the approach to building efficient and ready-to-use face recognition tools is pretty accessible.</p><p>With this short series of article, we want to walk you through a simple use case that we worked on, so you have a clear idea of how these algorithms work in practice.</p><p>We tried to keep informations and code snippets as easy as possible to follow, and hope you will appreciate it. Nevertheless, feel free to reach out to us or to leave a comment if you have any question or need any further information.</p><p>You can also find the full code for this project on this github repository: <a href="https://github.com/nbrosson">https://github.com/nbrosson</a></p><p>Have a nice read.</p><h3>What is Face Recognition?</h3><p>Face recognition is a technology capable of identifying or verifying a subject through an image, video or any audiovisual element of his face.</p><p>There are two main usage of Face Recognition:</p><ul><li><strong><em>Identification</em></strong>: Also called “one-to-many”, consists in determining the identity of an individual among N known identities present in a database. (<strong>we are going to use this technic here</strong>)</li><li><strong><em>Verification</em></strong>: Also called “one-to-one”, is to verify that the claimed identity is indeed the right one.</li></ul><p>As Machine learning Engineers and former professional table tennis players, we thought it could be interesting (or rather cool) to use Face recognition identification to identify high-level table tennis players. However, this project could obviously be applied to any other field.</p><h3>TLDR</h3><p>Let’s say you want to identify if one of the three following people: Julia, Thomas and Remy is in a picture. Our model will be able to predict, given any picture, if Julia, Thomas or Remy is in it. And if they are not in it, it will predict which of them looks the most similar to the person in the given picture. This might sound a bit convoluted, but hang in there, here are the five main steps to help you make sense of it:</p><ul><li>Face detection is applied on Julia, Thomas and Remy to build 3 dimensions arrays representing the traits of their face (and only their face). These results are stored locally. These people represent <strong>the benchmark group.</strong></li><li>When a picture is uploaded from the API, the same face detection algorithm is applied, and a similar array is created.</li><li>An embedding technique based on the VGGFace model allows to transform these multi-dimension arrays to 1-dimension vectors. This technique is applied on all the arrays from the benchmark group, as well as on the uploaded picture’s vector. The outputs are 1-D arrays representing each detected face.</li><li>To compare the faces, Euclidean distance is computed between each of Julia’s, Thomas’s and Remy’s vectors and the uploaded picture vector. The vector from <strong>the benchmark group</strong> that is most similar to the uploaded picture will be identified by the algorithm as the most similar person.</li><li>You could then define a threshold of similarity above which you assume that the person is actually Julia, Thomas or Remy [but this is not in the scope of this article]</li></ul><h3>The project</h3><p>Here is an overview of the directory structure for the project:</p><pre>├── data/<br>│   ├── images/<br>│   │  ├── images_array/<br>│   │  |  ├── EMPTY<br>│   │  ├── raw_images/<br>│   │  |  ├── player_1/<br>│   │  |  ├── player_2/<br>│   │  |  ├── .../<br>│   │  |  ├── player_n/<br>├── face_detector/<br>│   ├── *.py<br>├── templates/<br>│   ├── *.html</pre><p>The goal of the project is to build a face recognition algorithm, available in a simple Flask web application.</p><p>We can divide the project in four different steps:</p><ol><li><strong>Define the list of people you want to recognize</strong>. (One or more images per person). These raw images are stored in data/images/raw_images/person_name. There is one folder per person (we added a data_template folder that you can refer to as an example). In our case, we selected the 50 best table tennis players in the world (based on the ITTF ranking: <a href="https://www.ittf.com/rankings/">https://www.ittf.com/rankings/</a>). One picture of each player could be enough, but more picture might increase accuracy (the mean of the different photos for a given player will serve as his face’s vector). For the rest of this article, these people will be referred to as “<strong>the</strong> <strong>benchmark group”.</strong></li><li><strong>Run Face Detection:</strong> Face Detection requires heavy computations. Thus, we will run face detection on all the <strong>benchmark</strong> <strong>data</strong>, independently of the uploaded images, and store the results in data/images/images_arrays. If face detection on the benchmark data was computed at the same time as the uploaded image, the response would take a lot longer**.** For simplicity, face detection on the benchmark data will be called <strong>training pipeline.</strong></li><li><strong>Image embedding:</strong> Images are transformed to 1-dimension vectors using the VGGFace model (a deep-learning model based on the ResNet50 architecture). It is a famous Convolutional Neural Network (CNN) which performed very well on this type of project, and can be used for image embedding. Image embedding is done simultaneously on all the benchmark group data and on the uploaded image at the same time, since this technique is pretty lightweight.</li><li><strong>Prediction</strong>: We run Euclidean Distances to find the final result.</li></ol><p>Face detection on the uploaded image and the rest of the operations will be called <strong>the prediction pipeline</strong>.</p><p>To make the project clearer, you can find this cute diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XOknixKDXvUM0nGkWODveA.png" /></figure><h3>Conclusion and what’s next?</h3><p>In this first part, we tried to understand a bit more about what face recognition really is, and the big picture of how a face recognition project is designed.</p><p>In the following part, we will analyse the libraries and give you the key code chunks that make the model work. Finally, we will focus on running and serving the model in a Flask API, for those that might be interested in trying this at home. Yes, we encourage anyone interested in this to try it at home, it will certainly be more instructive than any article you can ever read. No crazy machine or fancy GPU needed, just adding some people images and running some commands 😉</p><p>We hope you enjoyed this first part, and we’ll see you in the next one!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0eff3b7dd5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Forpheus, the ping-pong playing robot]]></title>
            <link>https://fenxi-technology.medium.com/forpheus-the-ping-pong-playing-robot-1837db7d88d0?source=rss-e843b7df3e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/1837db7d88d0</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[table-tennis]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[robotics]]></category>
            <dc:creator><![CDATA[FENXI]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 20:04:13 GMT</pubDate>
            <atom:updated>2021-04-01T20:10:05.295Z</atom:updated>
            <content:encoded><![CDATA[<p>Before we get into it, I think it’s important to preface that as former professional ping pong players turned data engineers and data scientists, we’ve always followed the many innovations around the sport with fascination. Whether it’s image recognition and analysis by OSAI.AI, robotics, or simply new technical materials.</p><p>So let us be clear: we have NEVER seen anything quite like Forpheus from the japanese tech giant <a href="https://www.omron.com/global/en/technology/omrontechnics/vol51/016.html">Omron</a>. It is a fascinating combination of state-of-the-art technologies that just leaves us in awe each time we see it in action.</p><p><em>But first, how did OMRON, a Japanese tech company manage to build a competitive ping-pong robot that might beat most of us humans?</em></p><figure><img alt="a robot is overarching a ping pong table and holding a ping-pong racket, ready to play" src="https://cdn-images-1.medium.com/max/1000/1*-zkQVZ-nGnlDuLo-cySrRw.jpeg" /><figcaption>Quite a scary opponent | photo credit: Omron</figcaption></figure><h3>Who (or what) is Forpheus?</h3><blockquote>“FORPHEUS is State-of-the-art technology that embodies the world of “harmony” where machines can bring out human ability. You can experience the future of mankind and machines that OMRON aims through a rally.”</blockquote><h3><strong>Where does the name FORPHEUS come from?</strong></h3><p>“Future OMRON Robotics technology for Exploring Possibility of Harmonized aUtomation with Sinic theoretics”.</p><p>A coined term embodying OMRON’s robot technologies based on its unique future prediction theory “SINIC theoretics”. It is also a combination of “For” and “ORPHEUS (a bard in Greek mythology as a symbol of human creativity)”, representing OMRON’s attitude of bringing out human creativity and possibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*GMYrmCwnM75xdjbWOTxd4A.jpeg" /><figcaption>Main technologies of Forpheus</figcaption></figure><h3><strong>Latest technologies of FORPHEUS:</strong></h3><p>At OMRON, research and development is ongoing toward the evolution of its table tennis robot FORPHEUS, leveraging the company’s core technology of “Sensing &amp; Control + THINK.”</p><p><strong>1- Sensing technology for reading human emotions and ability:</strong></p><p>Perceiving each player’s skills and emotions by using cameras detecting their movement, facial expression, and heart rate.</p><p><strong>2- Control high-speed rally:</strong></p><p>The evolution of high-speed and high-precision image processing and robot control technology enables more speedy and difficult rallies.</p><p><strong>3- Think+ =&gt; Interaction enhancing humans motivation</strong></p><p>Featuring cutting-edge AI, FORPHEUS optimizes returns to enhance each player’s motivation and to bring out their ability.</p><h3>Let’s watch Forpheus play:</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUbVVcyZ8alc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUbVVcyZ8alc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUbVVcyZ8alc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a18aae630ace32775c07ba190ce0db3/href">https://medium.com/media/0a18aae630ace32775c07ba190ce0db3/href</a></iframe><h3><strong>What’s next? Between humans and machines, OMRON assumes three stages:</strong></h3><blockquote>“FORPHEUS keeps evolving with the state-of-the-art technologies as a symbol of a relationship between mankind and machines in the future” The Omron team</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bf2tqptAHucgU1nKMxMUtQ.png" /><figcaption>Omron | Three stages of evolution between Machines &amp; Humans | (credit photo omron)</figcaption></figure><p><strong>REPLACEMENT:</strong> <strong><em>The 1st stage</em></strong> is one of “Replacement” by machines of tasks that need not be done by human. The OMRON history mirrors this history, as we introduced factory automation, automated ticket gates, and other inventions.</p><p><strong>COLLABORATION: <em>The 2nd stage</em></strong> is <strong>“collaboration”</strong> between humans and machines, which is currently progressing in the world. An example of this is a production line where humans and robots work together, each performing the most suitable task to increase productivity. Another example is the OMRON collision-prevention technology that supports our vision of a collision-free mobile society.</p><p><strong>HARMONY : <em>And now, the relationship is reaching to the 3rd stage,</em></strong> <strong>“harmony” </strong>between humans and machines, that extends human capabilities. As machines become a more integral part of society, humans will enjoy machine support in a number of new and different ways that extend the potential of human capabilities. As with FORPHEUS, machines will emerge in every domain that can bring out human capabilities and possibilities.</p><p>It seems fair to say that the Omron table tennis robot is currently between the phase two and three. It is already a nice training partner for the everyday player, and maybe one day - like <a href="https://www.youtube.com/watch?v=WXuK6gekU1Y&amp;ab_channel=DeepMind">Alphago</a> did for the game of go before him - it will push the best ping pong players on the planet into the next levels of the sport…</p><p><strong>Find out more about the technical side of Forpheus technologies on this very beautifully presented research paper from the Omron team:</strong></p><p><a href="https://www.omron.com/global/en/technology/omrontechnics/vol51/016.html"><em>https://www.omron.com/global/en/technology/omrontechnics/vol51/016.html</em></a></p><p><strong>And if you want to learn more about the team behind the projects, here are some interviews of the main researchers working on it 🇯🇵</strong></p><p><em>Satoshi Yase: “How close can a robot approach the behavior of a human” </em><a href="https://www.edge-link.omron.com/articles/402.html">https://www.edge-link.omron.com/articles/402.html</a></p><p><em>Shinji Kawakami: “Mission: Develop in six months a machine that will work together with people to achieve a shared goal!” </em><a href="https://www.edge-link.omron.com/articles/399.html">https://www.edge-link.omron.com/articles/399.html</a></p><p>Article brought to you by <a href="https://www.linkedin.com/in/quentin-pradelle/">Quentin Pradelle</a> &amp; <a href="https://www.linkedin.com/in/nbrosson/">Nolwen Brosson</a>, data engineers and co-founders of <a href="https://www.fenxi.fr/">Fenxi</a>, a young research and consulting firm whose ambition is to make state-of-the-art digital technologies accessible to young entrepreneurs and growing companies.</p><p>We highly recommend you subscribe for more fascinating tech stories 🏄🏻‍♂️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1837db7d88d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>