<?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 Manya Kakkar on Medium]]></title>
        <description><![CDATA[Stories by Manya Kakkar on Medium]]></description>
        <link>https://medium.com/@manyakakkar1920?source=rss-f6229731b31f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*phscOyqMhrQHxqnObur_nA@2x.jpeg</url>
            <title>Stories by Manya Kakkar on Medium</title>
            <link>https://medium.com/@manyakakkar1920?source=rss-f6229731b31f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:50:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manyakakkar1920/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[Emotion Recognition using Machine Learning]]></title>
            <link>https://medium.com/@manyakakkar1920/emotion-recognitionemotion-recognition-using-machine-learning-2c7ac0dfcfe3?source=rss-f6229731b31f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c7ac0dfcfe3</guid>
            <category><![CDATA[opencv]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[emotion-recognition]]></category>
            <dc:creator><![CDATA[Manya Kakkar]]></dc:creator>
            <pubDate>Wed, 20 Oct 2021 17:47:38 GMT</pubDate>
            <atom:updated>2021-10-20T18:52:39.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/236/0*TeFqpBtzLNSG5zE1" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/0*i5ZWoKuPYLC0I0eQ" /></figure><p>Recognizing emotions from pictures or video is a simple operation for the human eye, but it’s a difficult challenge for robots, requiring a variety of image processing algorithms for feature extraction. Any machine learning detection or recognition needs first training algorithms and then testing them on a suitable dataset.</p><p>In my project, I have attempted to harness the power of Machine Learning algorithms to benefit society. Nowadays companies are using AI-based Emotion Recognition systems for Market Research, Digital Advertising, and sometimes even One-on-one Interviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EipsamzeLU3f4cew" /><figcaption><strong>Emotion Classification</strong></figcaption></figure><h4>Model Architecture Selection</h4><p>The model architecture used in this project was a mini-version of VGG16. Since the VGG family performs well on diverse classes as seen on other datasets thus it was appropriate to use. The process mostly consisted of a hit and trial on a number of layers to most closely resemble VGG and not overfit the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SSziKEv9RCV6bOZ_.jpg" /><figcaption><a href="https://www.geeksforgeeks.org/vgg-16-cnn-model/"><strong>Architecture of VGG16</strong></a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/0*DFcporokflhbTMl4" /></figure><h4>Dataset Selection</h4><p>I chose the FER2013 Dataset which comprises grayscale pictures of faces at a resolution of 48x48 pixels. The faces have been automatically registered such that they are more or less centered in each image and take up around the same amount of area.</p><p>The goal is to put each face into one of seven categories depending on the emotion expressed in the facial expression (0=Angry, 1=Disgust, 2=Fear, 3=Happy, 4=Sad, 5=Surprise, 6=Neutral). There are 28,709 instances in the training set and 3,589 examples in the public test set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-GxwVMm_pW3LnYikB2aPtg.jpeg" /><figcaption><a href="https://www.kaggle.com/msambare/fer2013"><strong>FER2013 Data from Kaggle</strong></a></figcaption></figure><h4>Pre-processing</h4><p>I decided to scale down the image from 48x48 to 32x32 pixels in order to reduce heavy processing and longer training and inference times. The images were additionally converted to grayscale and labels to categorical. All this was achieved using OpenCV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ccGHl1WTsRgkaZjX" /></figure><h4>Training and Testing</h4><p>Our mini-version of the VGG16 model was trained for 100 epochs with a batch size of 32. I used the SGD optimizer since it’s beginner-friendly. Since the FER13 dataset is a little imbalanced class weights were used to nullify its adverse effects. Testing our model on 3589 examples yielded an accuracy of approximately 68 percent. The initial parts of the training process are plotted below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zrC6aZNCGyPiUgHl" /><figcaption><strong>Training Plots</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c7ac0dfcfe3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[e-Yantra — My Journey of India’s Best Robotics Competition]]></title>
            <link>https://medium.com/@manyakakkar1920/e-yantra-my-journey-of-indias-best-robotics-competition-4ca9bf4a9f31?source=rss-f6229731b31f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ca9bf4a9f31</guid>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[competition]]></category>
            <category><![CDATA[aml]]></category>
            <category><![CDATA[eyantra]]></category>
            <category><![CDATA[iitb]]></category>
            <dc:creator><![CDATA[Manya Kakkar]]></dc:creator>
            <pubDate>Mon, 18 Oct 2021 20:52:40 GMT</pubDate>
            <atom:updated>2021-10-18T20:52:40.171Z</atom:updated>
            <content:encoded><![CDATA[<h3>e-Yantra — My Journey of India’s Best Robotics Competition</h3><p>I vividly remember the pandemic had begun in March 2020 and I was in my second year of Engineering. Away from the university, caught in our houses, I was extremely inclined towards utilizing my time efficiently by upgrading my skill-set and that is when my friends and I decided to participate in eYRC — India’s most prominent robotics competition which helps thousands of students each year gain industrial skills through project-based learning hosted by the Indian Institute of Technology, Bombay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*FZCJwb8xw_DzKFDOSV1r3A.png" /><figcaption><a href="https://portal.e-yantra.org/">eYRC</a></figcaption></figure><p>Excited to learn new skills while trying to solve a real-life problem, we eagerly waited for our theme allocation — which was<em> Sahayak Bot</em>, a pick and place bot to reduce human labor in the industry.</p><blockquote><strong><em>Let&#39;s begin..</em></strong></blockquote><h4>Stage 1: Introduction to Robot Operating System (ROS)</h4><p>Robot Operating System allows complete simulation of the robot in order to check the efficiency of the algorithms before diving into the hardware aspect. Due to this reason, renowned companies like Amazon, Bosch, and Boston Dynamics use ROS in order to reduce any possible losses. One of the best things about ROS is that it is language-agnostic allowing efficient reusability of the code and is supported by great simulation tools — <a href="http://gazebosim.org/">Gazebo</a> and <a href="http://wiki.ros.org/rviz/UserGuide">RViz</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/0*-TkHHBvSpjQbDU-U" /><figcaption><a href="https://www.ros.org/"><strong>Robot Operating System</strong></a></figcaption></figure><p>The first task was designed to help develop an understanding of the Robot Operating System with the main aim of familiarisation of the same. The objective of the task was to move the turtle-bot in such a way that it completes a full circle using a predefined library — <a href="http://wiki.ros.org/turtlesim"><em>Turtlesim</em></a>.</p><p>To solve this task we used basic physics. The distance traveled by the bot equals the circumference and the angular speed has to be changed depending upon the position of the bot. It can be calculated by the formula v = wr.</p><h4>Stage 2: Introduction to Gazebo and RViz</h4><p>In stage 2, we were familiarized with the Simulation Tools — Gazebo and Rviz which was achieved through a task whose objective was to navigate the bot to the given checkpoints without any collision in the least possible time and hence, finding the shortest path. We used SLAM (Simultaneous Localization and Mapping) to make a map of the arena which helped us differentiate obstacles and free areas. Further Rviz was used to find the path using the Path Module. The process of Path-finding was done in two steps — Locally and Globally. The global path helped the bot find a way between source and destination and the local path helped avoid collision and stick to the global path as much as possible. Results were simulated in Gazebo:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1kQKhRWhuKU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1kQKhRWhuKU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1kQKhRWhuKU%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/e3e9fbdf3ab3acbeecb34ad1eed3a0f4/href">https://medium.com/media/e3e9fbdf3ab3acbeecb34ad1eed3a0f4/href</a></iframe><h4><strong>Stage 3: Pick and Place Mechanism</strong></h4><p>Stage 3 was aimed to develop the Pick and Place mechanism for the bot. The task was to recognize different objects using a 3D camera placed on the URDF arm and pick them and place it on their designated boxes.<br>Image Processing and Computer Vision to detect objects (coke, glue, battery) using <a href="https://pjreddie.com/yolo/">YOLOv3</a>. The robotic arm was divided into two parts — Gripper and Arm. For the procedure of picking, an estimated position had to be calculated using the 3D camera and the arm worked accordingly.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDvXTgcD85_0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDvXTgcD85_0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FDvXTgcD85_0%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/37a07ccbce51affcb838f7d369f2018f/href">https://medium.com/media/37a07ccbce51affcb838f7d369f2018f/href</a></iframe><blockquote><strong><em>Although we didn’t win the competition, however, it was an enriching experience that helped us develop our skills and efficiently utilize our time during the pandemic!</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ca9bf4a9f31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>