<?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>Image-Segmentation on Selvam Subbiah</title><link>https://selvamsubbiah.com/tags/image-segmentation/</link><description>Recent content in Image-Segmentation on Selvam Subbiah</description><generator>Hugo -- 0.154.3</generator><language>en-us</language><lastBuildDate>Sat, 11 Dec 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://selvamsubbiah.com/tags/image-segmentation/index.xml" rel="self" type="application/rss+xml"/><item><title>TensorFlow.js - Remove or restore segments of an image in the browser using DeepLab model</title><link>https://selvamsubbiah.com/remove-restore-segments-of-an-image-in-the-browser-using-deeplab-model/</link><pubDate>Sat, 11 Dec 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/remove-restore-segments-of-an-image-in-the-browser-using-deeplab-model/</guid><description>&lt;p&gt;This article is a continuation of the &lt;a href="https://selvamsubbiah.com/semantic-image-segmentation-in-browser-using-deeplab/"&gt;previous article&lt;/a&gt;
on &lt;a href="https://en.wikipedia.org/wiki/Image_segmentation" target="_blank" rel="noopener noreferrer"&gt;Semantic Image Segmentation&lt;/a&gt;
in the browser using &lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;TensorFlow.js&lt;/a&gt;
pre-trained &lt;a href="https://github.com/tensorflow/tfjs-models/tree/master/deeplab" target="_blank" rel="noopener noreferrer"&gt;DeepLab&lt;/a&gt;
model. Here, we will use the DeepLab model’s output to manipulate specific parts of the image based on user selection. Essentially, we will allow the user to remove or restore a specific segment of an image that corresponds to an object class identified by the model.&lt;/p&gt;
&lt;figure&gt;
&lt;p&gt;&lt;img alt="deeplab - image segmentation demo" loading="lazy" src="https://selvamsubbiah.com/remove-restore-segments-of-an-image-in-the-browser-using-deeplab-model/images/remove-restore-deeplab-demo-output.gif"&gt;&lt;/p&gt;</description></item><item><title>TensorFlow.js - Semantic Image Segmentation in browser using DeepLab model</title><link>https://selvamsubbiah.com/semantic-image-segmentation-in-browser-using-deeplab/</link><pubDate>Sun, 05 Dec 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/semantic-image-segmentation-in-browser-using-deeplab/</guid><description>&lt;p&gt;In Computer Vision, one of the main challenges is to understand an image at a higher level like the way we humans do, i.e., to identify the objects, their location and their surroundings to make sense of the scene captured in the image. &lt;a href="https://en.wikipedia.org/wiki/Image_segmentation" target="_blank" rel="noopener noreferrer"&gt;Semantic Image Segmentation&lt;/a&gt;
is the process of identifying the objects present in the image and labelling each pixel by associating it to an identified object class. Semantic Image Segmentation can be applied to a wide variety of use cases such as human body segmentation, separating the background from foreground in an image, and understanding the surroundings for self-driving cars, just to name a few.&lt;/p&gt;</description></item><item><title>Change background for videos using TensorFlow.js</title><link>https://selvamsubbiah.com/change-background-for-videos-using-tensorflow-js/</link><pubDate>Mon, 04 Oct 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/change-background-for-videos-using-tensorflow-js/</guid><description>&lt;p&gt;As most of us are working from home now, it has become a normal thing to set a custom background for our video calls through popular apps such as Zoom or Microsoft Teams. In this article, we will look at how to change the background for live webcam videos using &lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;TensorFlow.js&lt;/a&gt;
.&lt;/p&gt;
&lt;figure&gt;
&lt;p&gt;&lt;img alt="Person Segmentation" loading="lazy" src="https://selvamsubbiah.com/change-background-for-videos-using-tensorflow-js/images/Person-Segmentation.png"&gt;&lt;/p&gt;
&lt;figcaption&gt;
&lt;p&gt;&lt;em&gt;Person Segmentation in action&lt;/em&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;We will be making use of the &lt;a href="https://github.com/tensorflow/tfjs-models/tree/master/body-pix" target="_blank" rel="noopener noreferrer"&gt;BodyPix model&lt;/a&gt;
which is a pre-trained &lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;TensorFlow.js&lt;/a&gt;
model. This model performs image segmentation - specifically person and human body parts segmentation.&lt;/p&gt;</description></item><item><title>Understanding the Real Time Person Removal project - TensorFlow.js</title><link>https://selvamsubbiah.com/understanding-the-real-time-person-removal-project-tensorflow-js/</link><pubDate>Sat, 02 Oct 2021 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/understanding-the-real-time-person-removal-project-tensorflow-js/</guid><description>&lt;p&gt;Most of us interested in &lt;a href="https://www.tensorflow.org/js" target="_blank" rel="noopener noreferrer"&gt;TensorFlow.js&lt;/a&gt;
would be familiar with the popular demo of &lt;a href="https://github.com/jasonmayes/Real-Time-Person-Removal" target="_blank" rel="noopener noreferrer"&gt;disappearing people in real time&lt;/a&gt;
by Jason Mayes. This is a fantastic example of what is possible using TensorFlow.js in the browser. Jason is gracious to share the code of this application for others to learn and implement their own versions of such applications. &lt;/p&gt;
&lt;p&gt;In this article, I will attempt to document and walkthrough this code, so that it helps anyone who is trying to understand the code for this app.&lt;/p&gt;</description></item></channel></rss>