<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mediapipe-Facemesh on Selvam Subbiah</title><link>https://selvamsubbiah.com/tags/mediapipe-facemesh/</link><description>Recent content in Mediapipe-Facemesh on Selvam Subbiah</description><generator>Hugo -- 0.154.3</generator><language>en-us</language><lastBuildDate>Sun, 21 Nov 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://selvamsubbiah.com/tags/mediapipe-facemesh/index.xml" rel="self" type="application/rss+xml"/><item><title>Facial Landmarks Detection using MediaPipe Face Mesh in TensorFlow.js - Part 2</title><link>https://selvamsubbiah.com/mediapipe-facemesh-triangles-in-tensorflow-js-part-2/</link><pubDate>Sun, 21 Nov 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/mediapipe-facemesh-triangles-in-tensorflow-js-part-2/</guid><description>&lt;p&gt;This article is the continuation of the &lt;a href="https://selvamsubbiah.com/mediapipe-facemesh-in-tensorflow-js/"&gt;previous article&lt;/a&gt;
on MediaPipe Face Mesh model in TensorFlow.js, where we looked at the basic usage of this model. Here, we will look at how to connect the 468 3D facial landmark predictions as multiple triangles to create a &lt;a href="https://en.wikipedia.org/wiki/Triangle_mesh" target="_blank" rel="noopener noreferrer"&gt;triangle mesh&lt;/a&gt;
of the face.&lt;/p&gt;
&lt;h2 id="1-triangle-mesh"&gt;1. Triangle Mesh&lt;/h2&gt;
&lt;p&gt;To create a triangle mesh from the 468 [x,y,z] coordinates, we will need to identify which are the set of points that need to be connected to form triangles. Luckily Google has provided those indexes for us to draw the triangle mesh. It is present in the &lt;a href="https://github.com/tensorflow/tfjs-models/blob/master/face-landmarks-detection/demo/triangulation.js" target="_blank" rel="noopener noreferrer"&gt;triangulation.js&lt;/a&gt;
file located in the Github repo of the pre-trained model.&lt;/p&gt;</description></item><item><title>Facial Landmarks Detection using MediaPipe Face Mesh in TensorFlow.js</title><link>https://selvamsubbiah.com/mediapipe-facemesh-in-tensorflow-js/</link><pubDate>Wed, 17 Nov 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/mediapipe-facemesh-in-tensorflow-js/</guid><description>&lt;p&gt;In this article, we will walk through an example to identify facial landmarks using the state of the art &lt;a href="https://google.github.io/mediapipe/solutions/face_mesh.html" target="_blank" rel="noopener noreferrer"&gt;MediaPipe Face Mesh model&lt;/a&gt;
. This model is present in the &lt;a href="https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection" target="_blank" rel="noopener noreferrer"&gt;Face Landmarks Detection package&lt;/a&gt;
in &lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;TensorFlow&lt;/a&gt;
&lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;.js&lt;/a&gt;
library’s pre-trained model suite.&lt;/p&gt;
&lt;p&gt;This is part 1 of a series of articles in which we dive into the details of the Face Mesh model and its usage.&lt;/p&gt;
&lt;h2 id="1-overview"&gt;1. Overview&lt;/h2&gt;
&lt;p&gt;The MediaPipe Face Mesh model estimates 468 3D facial landmarks in real time covering the overall surface geometry of a human face. It also supports Iris detection that accurately tracks the iris within the eye. Iris detection when enabled provides an additional set of 10 landmarks - 5 points for each eye.&lt;/p&gt;</description></item></channel></rss>