<?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 Mansi Katarey on Medium]]></title>
        <description><![CDATA[Stories by Mansi Katarey on Medium]]></description>
        <link>https://medium.com/@mansikatarey?source=rss-10d8628401fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HFZWfcgOYdETKhsWUiWS2g.jpeg</url>
            <title>Stories by Mansi Katarey on Medium</title>
            <link>https://medium.com/@mansikatarey?source=rss-10d8628401fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:10:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mansikatarey/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[Mirror Mirror On The Wall, Who’s The Smartest Of Them All?]]></title>
            <link>https://mansikatarey.medium.com/mirror-mirror-on-the-wall-whos-the-smartest-of-them-all-6b62fc37482a?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b62fc37482a</guid>
            <category><![CDATA[smart-home]]></category>
            <category><![CDATA[smart-mirror]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[diy-smart-mirror]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Fri, 24 Dec 2021 23:02:55 GMT</pubDate>
            <atom:updated>2021-12-24T23:02:55.422Z</atom:updated>
            <content:encoded><![CDATA[<h4>My attempt at building a smart mirror.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cLfl3GkeVJukmKqvsJc71g.png" /><figcaption>This is what I ended up with :)</figcaption></figure><p>For the past few months, I’ve been looking for a new mirror. I’ve probably looked on hundreds of websites, looking at all the different styles, colours and sizes of mirrors, but none were really what I was looking for.</p><p>And sure, some would say a few months is a long time to spend looking for mirrors. A <em>really</em> long time. But when you’re as indecisive as me, you tend to get lost in the sea of options.</p><p>Anyway, as I was looking one day, I found a rather <em>unique</em> mirror. It had a touch screen and sensors. You could control your music from it, see the weather, time and even the latest news.</p><h3><strong>And that’s when I realized, this wasn’t your average mirror; it was a <em>smart</em> mirror!</strong></h3><p>Smart mirrors are, as the name suggests, a mirror. Except it’s more than <em>just</em> a mirror. Think of your ordinary mirror. It shows you the reflection of anything in front of it. A smart mirror does that too, but it also has the ability to show you anything from the current time to the number of calories you’ve burnt.</p><p>I was fascinated by these smart mirrors. And right at that moment, I thought my quest for a new mirror was complete.</p><p>The keyword here is ‘thought’. Because you see, from that moment on, my journey had just begun. Now I don’t know about you, but $700 for a mirror seems a little pricey to me, even if it is a <em>smart</em> mirror.</p><p>I’ve also learned more about IoT recently and really wanted to build an IoT project and the smart mirror would be the perfect project.</p><p>So, I decided to build it myself. I’d never done anything like this before and to be perfectly honest with you, I don’t consider myself much of a “hands-on” type of person either. Yet I decided to go on Google and search for DIY smart mirror tutorials. I found a few super helpful ones, like <a href="https://www.youtube.com/watch?v=DjPGoGmO5VY">this</a> one from Wicked Makers and <a href="https://www.youtube.com/watch?v=OYlloiaBINo">this</a> one from Break It Yourself.</p><h3><strong>At first, I thought building a smart mirror would be super complicated, but it’s actually quite simple.</strong></h3><p>There are only three main components:</p><ol><li>A two-way mirror.</li><li>A display.</li><li>A computer of some sort.</li></ol><p>(You can always add more to it, but these are the essentials)</p><h3><strong>The Two-Way Mirror:</strong></h3><p>The smart mirror uses something called a 2-way mirror. It’s basically a piece of glass or acrylic that is very reflective (reflective enough to look like a mirror) on one side but you can still see through it on the other side. In my case, I used a piece of acrylic. If you’re having trouble visualizing it, think of one of those mirrors used in interrogation rooms. The ones where <em>x</em> can see <em>y</em>, but <em>y</em> can’t see <em>x</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*vYb0-mFMPD7vM9sE" /></figure><p>As I was in the process of writing this article, I kinda went down a rabbit hole of two-way mirrors. Weird…I know, but I was curious to learn about how they actually worked in terms of light and reflectiveness and all.</p><p>Turns out, they work because of a principle called <strong>light intensity</strong>. Simply put, light intensity is the measurement of how strong/bright a light is.</p><p>So, if both sides of the mirror have the same light intensity, then the mirror will look just like a normal piece of glass. You would be able to see right through it. However, if one side is brighter than the other, then it will look like a normal mirror for people looking at it from the brighter side.</p><p>The same goes for when you look out the window at night. When the lights are on, you see your reflection in the window. But when you turn the lights off, all of a sudden you’re able to see the trees outside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ej0eiqjs9BCOIP70" /></figure><h4><strong>The Display:</strong></h4><p>The display can be a screen of any size. In my case, I used an old Acer monitor. The display can also be a TV, an Ipad/tablet or anything else that can display the information, like the time and news and such.</p><p>The display sits behind the two-way mirror displaying all the information. You want to make sure that your display is either smaller or the same size as your two-way mirror. You don’t want it to be bigger. Trust me…you don’t wanna go there.</p><h4><strong>The Computer:</strong></h4><p>The computer is the heart of the mirror, it runs the code that is eventually displayed. You want to make sure the computer you use is reliable. I used a Raspberry Pi 4 which was relatively simple and easy to work with. All I had to do was snap a few pieces together and the computer was built!</p><p>After reading a ton of articles about Raspberry Pi’s, I can (not so proudly) say that most of the stuff I read about the storage and RAM component of it flew over my head. But through all that research, I’ve understood just enough to know that a Raspberry Pi has more than enough storage to power a smart mirror.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*ZwqBtfxfCdfK-JXs" /></figure><p>There wasn’t much coding involved in the building of this smart mirror. I used the open-source MagicMirror² software by Micheal Teeuw. It had all the code needed for a simple magic mirror. I did make some changes to the code, like changing the greetings and a few other things as well. I also added Spotify’s Web API to display the current song, because…well why not?</p><h4><strong>The Technology Behind it All: The Internet of Things</strong></h4><p>What is IoT?</p><p>Think of it this way: you walk into a huge library and there are rows and rows of shelves with hundreds of books stacked up neatly beside each other. You need to find this one book, what do you do? I’d go to the librarian, provide the title and likely be told exactly where the book is. The exact shelf, in the exact row on the exact floor. All that is possible because when a new book is added to the library, details about it are stored in the library’s Internet of Books.</p><p>Now zoom out — imagine the whole world is your library. Every TV, fridge, vehicle, basically everything are your books. Add some smart sensors to them and now they can talk back to the “librarian”, telling you exactly which “shelf” they’re on.</p><p>The system that allows them to do this is known as the Internet of Things.</p><p>It’s a huge network with connected devices that share information with each other. Almost every piece of technology or device you come across has sensors that are constantly gathering information. IoT allows these devices to share their gathered information. On an IoT platform, the data is analyzed and extracted for important information, then sent to the other devices via the internet.</p><p>In more complex smart mirrors, IoT is used to allow the sensors and display to “talk” to each other. The data collected by the sensors is sent to an Arduino microcontroller, which is then sent to the Raspberry Pi to display the collected information. All of this happens within a matter of seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*8759N1Ka1JF_MQlA" /><figcaption>The circuit</figcaption></figure><h4><strong>The Process</strong></h4><p>Honestly, building this mirror was a process. It was an emotional rollercoaster, to say the least. One minute the code worked perfectly and the next minute the monitor wouldn’t turn on. But this process is better shown than told, so check out this video for a behind-the-scenes of this tumultuous journey.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FITwrPWWnJX4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DITwrPWWnJX4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FITwrPWWnJX4%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/bc05e3d3c79ccb3cb71099222f71bbae/href">https://medium.com/media/bc05e3d3c79ccb3cb71099222f71bbae/href</a></iframe><h3><strong>Current &amp; Potential Uses Cases: Fitness Mirrors, Interactive Fitting Rooms and Health Monitoring</strong></h3><p>Outside of being just hobby projects, smart mirrors are actually being used in the real world.</p><h4>Exercise: Fitness Mirror</h4><p>The pandemic brought rise to at-home workouts and fitness devices. And if you’re into that stuff, I’m sure you’ve heard of smart mirrors from <a href="https://www.mirror.co/shop/mirror">Lululemon</a>, Peloton and Tonal. Known as the “world’s first almost-invisible gyms,” they’re smart mirrors designed to help you burn calories and gain muscle!</p><p>They work thanks to the IoT network. See, the multiple ultrasonic and infrared sensors on the mirror allow for it to detect things like your height, weight, etc. Other Bluetooth-powered options are available if you really want to step up your game.</p><h4>Retail: Polo Ralph Lauren Interactive Fitting Rooms</h4><p>Polo Ralph Lauren also came out with their own mirror, designed to help people with the daunting task of buying clothes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvFF95SvTfRE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvFF95SvTfRE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvFF95SvTfRE%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/742a925a4da941bd581244d051c5c474/href">https://medium.com/media/742a925a4da941bd581244d051c5c474/href</a></iframe><h4>Smart Mirrors for Health Monitoring:</h4><p>The potential application of IoT-based smart mirrors to monitor patients’ health didn’t even cross my mind, but when I read about it in <a href="https://www.sciencedirect.com/science/article/pii/B9780128197790000071">Science Direct,</a> my mind was actually blown. It can do this by using multiple different sensors to collect biometric and physiological data. This data can be sent automatically to doctors to review and assess. The concept of it being in a mirror also makes it easier and more natural for patients, especially elders.</p><p>Building this mirror took me about 3 months. It definitely could have been done faster, but I decided to take my time with it. That and also the fact that I was just being lazy. But aside from my expert procrastination skills, this project was really fun! Sure, some days it had me questioning my life decisions, but once you get past the hurdles, it’s a pretty awesome project indeed.</p><p>This is just one potential lifestyle implication of IoT, but there are so many more that can completely change the way our world works! And I can’t wait to build them :)</p><p>Thanks for reading! If you have any questions or would like to chat further, contact me at: mansikatarey@gmail.com or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a>.</p><p>To keep up with everything I’m doing, <a href="https://landing.mailerlite.com/webforms/landing/c4c9d0">subscribe</a> to my newsletter!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b62fc37482a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Utopian Future: Smart cities]]></title>
            <link>https://mansikatarey.medium.com/a-utopian-future-smart-cities-3cc015c5ffc0?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cc015c5ffc0</guid>
            <category><![CDATA[smart-cities]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[introduction]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Fri, 01 Oct 2021 00:57:11 GMT</pubDate>
            <atom:updated>2021-10-06T23:06:03.720Z</atom:updated>
            <content:encoded><![CDATA[<h4>What are smart cities? How do they work? And how does IoT play a role?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JsUeWm1TYkrWiOcu" /><figcaption>Photo by <a href="https://unsplash.com/@jcgellidon?utm_source=medium&amp;utm_medium=referral">JC Gellidon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I have a question: what comes to mind when you think of “smart cities?”</p><p>Is it a dystopian fantasy with flying cars and teleportation? Or is a place run by robots? Does it seem like something in the distant future?</p><p>For me it did. It seemed like something so far-fetched, I wouldn’t be alive to see it happen. But like most things in life, I was wrong. Smart cities are very much a thing of the present.</p><h3><strong>So what are they?</strong></h3><p>Basically, <strong>a smart city uses technology to make the lives of residents better and improve their quality of life.</strong></p><p>A smart city is made up of many different technologies (like AI), but a very important one is <strong>IoT</strong>.</p><p>Now, you may be wondering…</p><h3><strong>“Mansi, what is IoT?”</strong></h3><p>IoT stands for the Internet of Things. It’s a huge network with connected devices that share information with each other. <strong>It’s done using the help of sensors. </strong>Almost every piece of technology or device you come across has sensors that are constantly gathering information. IoT allows these devices to share their gathered information. On an IoT platform, the data is analyzed and extracted for important information, then sent to the other devices via the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxBJ_5E70to5k29O4Vk1mw.png" /></figure><p>Let’s look at a simple example of IoT: A smart thermostat.</p><p>It works by <strong>sensing the air temperature</strong> and switching on the heating when the air temperature falls below the thermostat setting (which you input through your device) and switching it off once this set temperature has been reached. All that is then transmitted back to your device and from there, do what you wish with that data.</p><h3><strong>Brief Benefits</strong></h3><p>According to a study done by the McKinsey Global Institute, smart cities can <strong>improve the cost of living, safety, time, jobs, connectedness, environment, and health of residents by 30%.</strong></p><p>So, how exactly can they do that? I was wondering the same thing. So I did some reading and here’s what I found:</p><h4>Traffic:</h4><p>Let’s be honest, traffic sucks. And being late because of traffic sucks even more! But you can say goodbye to all of that in a smart city. Public transport routes can automatically adjust in real-time according to the demand. IoT can alert residents to use public transit during off-hours and guide them through the city in real-time.</p><h4>Example: Palo Alto</h4><p>A small city in Silicon Valley has become a pioneer in smart city technology. They have come up with many solutions that use IoT to create an optimal city for their 67 000 residents.</p><p>To gather and share data, Palo Alto has many different types of sensor networks to do so on a large scale. The city is setting up a sensor network that will collect and share information about parking capacity all over downtown. Sensors will be used to give a real-time look into which parking spots are vacant in the downtown area and to count pedestrian and bicycle traffic along sidewalks. When a car pulls into a parking spot above a sensor, the metal will trigger the magnet. The magnet then “wakes up” the optical sensor, which confirms that there is a car in the spot. All of that then gets relayed back to resident’s phones/devices which allows them to get an idea of where parking is available before they leave for their destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*WkNNTAfQwxgeWahV.jpg" /></figure><h4>Environmental:</h4><p>Beyond just improving the day-to-day lives of its residents, smart cities harness the power to improve the long-term quality of life too. Often overlooked, <strong>smart cities can lower GHG emissions by 10–15%, 30–130 fewer kilograms of solid waste per person per year, and 25–80 litres of water saved per person per day.</strong></p><ul><li>Sensors can track the amount of CO2 in the air and how much is being released. This can give the city an idea of how much pollution is happening and can give them an idea of how to combat it.</li><li>Smart LED street lights. They last longer and require less energy to operate. They can also automatically adjust brightness levels during different times of day and weather conditions to ensure efficiency without compromising safety.</li></ul><h3><strong>Dangerous Down Sides</strong></h3><p>In 2014, researchers from the University of Michigan hacked 100 traffic lights of the city’s intersections, proving security flaws existed that had the potential to cause serious accidents. In 2017, hackers turned on 156 severe weather sirens in Dallas in the middle of the night, causing a flood of 911 calls and panic.</p><p>As terrible as these studies sound, they were important in showing us the dark side of IoT; <strong>a lack of cyber security. </strong>One of the biggest downsides of IoT and smart cities is the security and privacy aspect. They are vulnerable to hacking and hijacking due to the nature of the technology. The root of the problem comes from the lack of encryption and patching over the wire.</p><h3><strong>Solutions</strong></h3><h4>Biometrics:</h4><p>Implementing biometric authentication processes for all cloud and end-point access will enhance the safety of the network. This means only select personnel will be able to access certain data. Biometrics could be in the form of fingerprint identification, iris scanning, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*OwvM3yWKMwuZgGFRvr0WRA.jpeg" /></figure><h4>Isolating endpoints:</h4><p>Compartmentalizing each endpoint means that every device connected to the network will remain anonymous. <strong>Isolating endpoints</strong> can help contain viruses or limit hackers to a certain part of the network. Endpoint isolation is a technique used by cybersecurity solutions to separate computers or other endpoint devices from the rest of the network to prevent hacking.</p><p>So, I think I’ve been told a million times by now that we’re living in an exciting time with technology being at its peak. And I don’t think I really internalized it until I started writing this article. The idea of living in a city that can be so technologically advanced was unthinkable 30 years ago. Today, the frameworks have been implemented in over 50 countries around the world.</p><blockquote>“The internet is no longer a web that we connect to. Instead, it’s a computerized networked and interconnected world that we live in. This is the future, and what we’re calling the Internet of Things.”</blockquote><p>Thanks for reading! If you have any questions or would like to chat further, contact me at: mansikatarey@gmail.com or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a>.</p><p>To keep up with everything I’m doing, <a href="https://landing.mailerlite.com/webforms/landing/c4c9d0">subscribe</a> to my newsletter!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cc015c5ffc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An AI Taekwondo Trainer]]></title>
            <link>https://medium.com/swlh/an-ai-taekwondo-trainer-b8ac7bb47284?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8ac7bb47284</guid>
            <category><![CDATA[taekwondo]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[martial-arts]]></category>
            <category><![CDATA[training]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Thu, 08 Jul 2021 16:26:31 GMT</pubDate>
            <atom:updated>2024-08-09T19:19:31.720Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 2 — The Walk Through</h4><p>Welcome to article number 2 about my journey of creating an AI powered taekwondo trainer! If you haven’t already, I would highly suggest you read <a href="https://mansikatarey.medium.com/creating-an-ai-powered-taekwondo-trainer-b6e7cf9dbdfc">part one</a> before moving onto part two to better understand the technology behind this project. So in this article, we’re getting right to the point. No fluff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*hicFDFdIfuqj7dc2nIiLTg.jpeg" /></figure><h3><strong>What Can it Do?</strong></h3><p>The trainer is primarily designed to improve your sidekicks. The AI taekwondo trainer will count the number of sidekicks you do, while also making sure you do them right.</p><p>Let me walk you through it. When you do a sidekick it’s really important that you point your toes down and your heel up. In other words, your heel needs to be higher than your toes. And it’s also super important to bring your knee in before you kick and right after to make sure no one grabs you by the foot (because that would be pretty terrible).</p><p>These are tiny details that are easy to forget when you’re practicing your kicks (take it from me). So, to help that, this trainer will keep track of all that stuff.</p><h3><strong>How Does it Work?</strong></h3><p>Angles, angles, angles. I’m talking about the angles at which your legs and feet are at when you’re kicking. First, we must find <strong>your</strong> maximum and minimum angle. The maximum angle is the highest your kick can go and the minimum is just the angle at which your legs are while resting (this is to ensure you finish the sidekick completely).</p><p>Since this trainer is personalized, this process is very important. Everyone will have different angles based on their abilities. This also means everyone will have different maximum and minimum values. Once those angles are imputed, you’re good to go!</p><h4>Landmarks:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*aElrVQfc9vsTL0uEh7FGAQ.png" /><figcaption>These are all the landmarks available to the model.</figcaption></figure><p>This model is using number 23, 24, 28 to find the angles.</p><p>The bar on the right tells you how close you are to reaching your maximum angle.</p><p>The counter on the left side counts the number of sidekicks you have done. Keep in mind, the counter will only count the sidekicks that have reached both the highest and lowest angles. So, in essence, no half-kicks will be counted.</p><h3>You know what…instead of telling you, I’ll just show you!</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fjcox2odWBYo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Djcox2odWBYo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fjcox2odWBYo%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/a5b3dd5d381acd95285ec3d8e2af0586/href">https://medium.com/media/a5b3dd5d381acd95285ec3d8e2af0586/href</a></iframe><h3><strong>Vision for the Future</strong></h3><p>While the trainer only focuses on sidekicks right now, there is so much we can do with this technology to advance it further.</p><p>Here are a few things I’m doing to make this trainer better:</p><ul><li>Get the model to learn for itself and automatically input the maximum/minimum angles after you kick a few times.</li><li>Continue to adjust the maximum angle based on your improvement.</li></ul><p>This trainer was so much fun to build and I’m so glad to share it with you. Throughout the way, there were many problems I encountered, but thanks to some amazing mentors those problems were soon fixed.</p><p>And thanks to you too! Thanks for reading!</p><p>If you have any questions or would like to chat further, contact me at: mansikatarey@gmail.com or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a>.</p><p>To keep up with everything I’m doing, <a href="https://landing.mailerlite.com/webforms/landing/c4c9d0">subscribe</a> to my newsletter!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8ac7bb47284" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/an-ai-taekwondo-trainer-b8ac7bb47284">An AI Taekwondo Trainer</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating An AI Powered Taekwondo Trainer]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://mansikatarey.medium.com/creating-an-ai-powered-taekwondo-trainer-b6e7cf9dbdfc?source=rss-10d8628401fc------2"><img src="https://cdn-images-1.medium.com/max/1537/1*L0UCQeynNlzH8kwdDtM9LQ.png" width="1537"></a></p><p class="medium-feed-snippet">Did I mention that it&#x2019;s personalized?</p><p class="medium-feed-link"><a href="https://mansikatarey.medium.com/creating-an-ai-powered-taekwondo-trainer-b6e7cf9dbdfc?source=rss-10d8628401fc------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://mansikatarey.medium.com/creating-an-ai-powered-taekwondo-trainer-b6e7cf9dbdfc?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6e7cf9dbdfc</guid>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Sat, 22 May 2021 00:06:43 GMT</pubDate>
            <atom:updated>2024-08-09T19:18:03.711Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Mineral. Food Systems Re-done]]></title>
            <link>https://mansikatarey.medium.com/mineral-food-systems-re-done-68789711133f?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/68789711133f</guid>
            <category><![CDATA[agriculture]]></category>
            <category><![CDATA[moonshots]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[crops]]></category>
            <category><![CDATA[food-systems]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Mon, 12 Apr 2021 21:08:42 GMT</pubDate>
            <atom:updated>2021-04-12T21:08:42.035Z</atom:updated>
            <content:encoded><![CDATA[<p>The moonshot project that is changing our world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dreCtlJzG8g50ryJ" /><figcaption>Photo by <a href="https://unsplash.com/@glenncarstenspeters?utm_source=medium&amp;utm_medium=referral">Glenn Carstens-Peters</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>To feed the world’s growing population, we must produce more food than the past 50 years combined. With climate change on the rise, our food supply is getting scarce. Our methods of farming today are not sustainable for a better tomorrow. And it’s certainly not sustainable for the estimated 8 million people by 2030.</p><p>The current commercial farming method consists of growing large amounts of a specific plant. This opens the door to pests, diseases and rotting food. Using chemicals to combat that ruins our soil, preventing any future crop growth. Our current food system is a loophole.</p><p>But what if new technology could radically change how our world eats?</p><h3><strong>Introducing… Mineral</strong></h3><p>Allow me to introduce you to <strong>Mineral</strong>, a project committed to developing new technologies to help build a more sustainable, resilient and productive food system.</p><p>Today’s farmers aren’t equipped with the necessary tools and equipment needed to thoroughly understand their crops. With the tools used today, even the high-tech ones, there is still a lack of understanding and clarity amongst farmers.</p><p>Mineral quickly identified the gaps and took the opportunity to build new software and hardware that leveraged the growers and breeders to their full potential along with their crop’s full potential.</p><h3><strong>So How Does it Work?</strong></h3><p>They started out by gathering basic data such as information about the soil, weather and historical crop data. From there, the team created a plant buggy that goes through the field inspecting crops up close to gather information about how the plants are growing and how they are responding to the environment. The buggy collects high-quality images of each individual plant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*prjmISTLEwUZ2Kl3gQVmsQ.png" /><figcaption><a href="https://x.company/projects/mineral/">The</a> buggy.</figcaption></figure><p>Then, they gather more information on the field and plants using satellite imagery, weather data and soil information to name a few. Using all the gathered information, a machine learning algorithm is able to identify patterns and insights to understand how the plants grow and interact with their surroundings.</p><h3><strong>The Buggy + Design</strong></h3><p>Using robotics, sensing and software, the buggy is able to collect data. The buggy has solar panels on top, using the sunlight to power itself. Additionally, the buggy has many different shapes and sizes making it easy to go through numerous different fields. Precise GPS software allows the buggy to accurately identify each plant’s location. Sensors and computer perception allow the buggy to identify any issues with plants and analyze plant traits and patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-xXF4i9AS07xZwYR0PuXQ.png" /><figcaption>The buggy Mineral’s team uses.</figcaption></figure><p>By using Mineral’s innovative new technology, growers can focus their attention on and treat individual plants instead of entire fields, saving them time and money. By getting insights into their plant growth over time, growers can also make accurate yield projections.</p><p>So, with their innovative technology and tools like the buggy, Mineral is sure to build a more sustainable, resilient and productive food system.</p><p>Thanks for reading! If you have any questions or want to chat further, contact me at: mansikatarey@gmail.com or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68789711133f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Face Recognition in Real Time Using Machine Learning]]></title>
            <link>https://medium.com/swlh/face-recognition-in-real-time-using-machine-learning-4a2b3c2005d3?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a2b3c2005d3</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[real-time-analytics]]></category>
            <category><![CDATA[face-recognition]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Mon, 18 Jan 2021 14:02:38 GMT</pubDate>
            <atom:updated>2021-01-25T08:52:17.883Z</atom:updated>
            <content:encoded><![CDATA[<h3>Face Recognition in Real Time Using Machine Learning.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*fU06wI5QRDCZbQtpaPznOg.png" /></figure><p>What did it mean when the teacher said, “But first I’m going to take the attendance”?</p><p>For a student, this sentence could mean many things. More time to talk to friends, a chance to “fix-up” yesterday’s homework or simply just a time to get settled into class.</p><p>Every day, the routine is the same. The teacher calls out each student’s name, checks the box beside the names of the absent students, sends the completed attendance to the school office and then proceeds with the lesson.</p><p>What’s the problem with this process? It’s time-consuming. How much time are we wasting when it comes to taking the attendance? It may only seem like five minutes each class, but that quickly adds up to 25 minutes per week. And over one month, that number becomes 100 minutes. 100 minutes that could have been spent teaching, learning or even doing homework.</p><p>Besides that, it’s simply inefficient. We live in a digital world. Everything is automated. From self-driving cars to automated kitchens. Almost everything we use in our day-to-day lives is automated, <strong>yet our attendance system has stayed the same for centuries.</strong></p><p>So, why can’t our attendance systems be automated?</p><p>Here’s the exciting part, they can! I know, know, it’s a little weird to be excited about taking the attendance, but once you finish reading this article, you will be too!</p><p>Here’s how I made an automatic attendance system that works in real-time:</p><h3><strong>Machine Learning</strong></h3><p>Before I get too far, let’s cover some basics. Machine learning is a form of AI and it’s <strong>all about getting the machine to learn and improve</strong>. All on its own! The goal of machine learning is to create a model that is as accurate as possible, but the cool thing is that it doesn’t require extensive programming.</p><p>Machine learning powers the many services that have grown to become an essential part of our life. It powers the recommendation systems on platforms like Youtube and Netflix, that keep you watching for hours. It powers the social media feeds on Instagram and Facebook. It powers our voice assistants, like Google and Alexa. The list is endless. If you’d like to learn more about how ML is used in your voice assistants, check out my article <a href="https://medium.com/swlh/how-does-your-google-assistant-really-work-88c64d5dd38d">here</a>!</p><p>I’m sure you’ve heard that big companies like Google and Facebook like to collect your information. But what do they do with all that data?</p><p>One thing they use that data for is to train the ML algorithms to make an accurate guess about what you would like next.</p><p>You can think of it like this:</p><p><strong>More data = More content to train the machine with = More accuracy</strong></p><p>Really, it’s quite simple. <strong>Find the pattern. Use the pattern.</strong> But this process has become the very basis of most AI.</p><h3><strong>Facial Recognition</strong></h3><p>Facial recognition is a system that is <strong>used to identify a person from a video or image. </strong>Facial recognition powers the algorithms that can recognize your friends’ faces after they have been tagged only a few times on Facebook. You may have also noticed a yellow box around a face before you go to take a picture of someone with your phone. Yes, that too is happening because of facial recognition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VhAJ9ARDXzkPN2AZ-hS80g.png" /><figcaption>Facial Recognition in action in the camera app of your phone!</figcaption></figure><h3><strong>How Does it Work?</strong></h3><p>Now that we have a basic definition of facial recognition, we can get into the theory part of things. Understanding how it works.</p><h4><strong>1. Converting the Image to a HOG Image:</strong></h4><p>Many algorithms today will do this on their own. So, we do not have to convert an image to a HOG image manually, in most cases.</p><p><strong>Making the picture black and white.</strong></p><p>We don’t need colour to find the face. In fact, it can be harder for the algorithm when there is colour involved. So, it drains the colour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Df8E-CqSy-wCL0axyU9KDA.png" /><figcaption>Bill Gates’ image with colour vs. black and white.</figcaption></figure><p><strong>The image is broken into tiny pixels.</strong></p><p>By doing so, we can look at individual pixels and all others surrounding them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*9-G2ivyd7Q3ACh78O7uWTg.png" /><figcaption>An image that has been broken down into many pixels.</figcaption></figure><p><strong>Arrows are drawn in the direction of dark pixels.</strong></p><p>The arrows, also known as <strong>gradients</strong>, show the light flow across the entire image. The reason for gradients is to ensure that there is only a one-pixel interpretation for each image.</p><p>Think about it this way: A dark version of an image and a light version of an image will both have completely different pixel values. So, by incorporating gradients, we can solve that problem!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*gAP8hh4XjCpKZThtc46WNA.gif" /><figcaption>Following the dark pixels to create a gradient.</figcaption></figure><p>However, everything has its downsides. Taking the gradient of each pixel will be very detailed, which will cause our model to miss the big picture.</p><p>So, to help in recognizing the image, as a whole, we can break the image up into small squares of 16x16 pixels. Then, instead of taking the gradient of just one pixel, we can take the gradient of the entire square. Whichever direction most arrows are pointing, that will become the gradient of the entire square.</p><p>In the end, we will get a basic pixel interpretation that is very similar to the original image. This type of image is also known as a HOG image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JyxDSGqEW_hTvmRULPwUeg.png" /></figure><p><strong>Our model can detect the faces in our image!</strong></p><p>If the faces in the image are similar to the known HOG pattern of a face, our model will be able to detect the faces in the image!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*HtgQZ4guaIo8wflbsR1MLw.png" /></figure><h4><strong>2. Using Facial Landmarks to Allow the Model to Recognize a Face from Any Angle:</strong></h4><p>When we turn our faces in another direction (turning our heads to the right or left), it looks like a completely new image for the model and it may not always recognize that it’s a human face.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*C5nRLeucG_E9kPOmL4zBNg.png" /></figure><p>This is where the algorithms, <strong>face landmark estimation or faceLoc</strong>, come into play. The idea is to warp the image, such that all-important and distinct features face the front.</p><p>To warp the image, the model needs to map out <strong>68 points</strong> on each person’s face. These points include the eyes, nose, the shape of the eyebrows, you get the point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*lxyh2fS-ZDQXxGLOWNaU9Q.png" /><figcaption>68 landmark points.</figcaption></figure><p>By using facial landmarks, no matter which angle a person’s face is turned, the model can tell that it’s a person and a face.</p><h4><strong>3. Encoding Faces:</strong></h4><p>This is the part where our model is able to tell person <em>x</em> from person <em>y</em>.</p><p>Every person has different facial measurements. For instance, the distance between your eyes or the length of your nose or the size of your lips. While it’s likely that someone may have the same nose length as you, all your measurements probably won’t be the same.</p><p>This is why the model is going to <strong>generate 128 measurements</strong> for every face it recognizes.</p><p>The training process uses a ‘triplet’ approach:</p><ol><li>Take a facial image of person <em>x</em></li><li>Take another facial image of person <em>x</em></li><li>Take a facial image of person<em> y</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*havUtuiYOvnC8lIIzxZRXw.png" /><figcaption>These are the 3 images I used.</figcaption></figure><p>The algorithm closely analyzes the three pictures and slightly tweaks the measurements, to ensure that person <em>x</em>’s measurements are different from person <em>y’s.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*ydlR-OsIKybyCcdaAdpBQw.png" /><figcaption>These are the measurements for the three pictures I used. Notice how both of Elon Musk’s pictures are very similar in value compared to Bill Gate’s measurements.</figcaption></figure><p>Now, it can be easy to get confused by the two different mesurements. Remember, the model maps out 68 basic landmark points of a person’s face, kind of like an outline, in case the face is ever turned on an angle and requires to be warped to the front for the model to recognize.</p><p>The 128 measurements are much more detailed and include measurements of every tiny detail on your face.</p><h4><strong>4. Attaching a Name to the Encoding</strong></h4><p>This step is easy because all we have to do is save our images labelled as the name of that person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*NawAlO26dfaxkZ7KGxQKrg.png" /><figcaption>I have labelled each image as the name of that person. Whatever you name the image files as, that’s the name that will appear when running the program.</figcaption></figure><p>After connecting my webcam to the program, here’s what it looked like!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u5oelh56tpjLIXz6gb-dA.png" /><figcaption>The output given when shown a picture of Bill Gates.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*X9VIHxIrJk8eQNrgrLjtXg.png" /><figcaption>The output given when shown a picture of Elon Musk.</figcaption></figure><h4>To add more people, you simply add a labelled picture of them into the images folder and let the program do its magic!</h4><p>Thanks for reading! If you have any questions or want to chat further, contact me at:</p><p>mansikatarey@gmail.com or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a>. If you would like to subscribe to my newsletter, you can check it out over <a href="https://mansikatarey.substack.com/p/coming-soon?r=a25im&amp;utm_campaign=post&amp;utm_medium=web&amp;utm_source=copy">here</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a2b3c2005d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/face-recognition-in-real-time-using-machine-learning-4a2b3c2005d3">Face Recognition in Real Time Using Machine Learning</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Leftie in a Right-Handed World]]></title>
            <link>https://mansikatarey.medium.com/a-leftie-in-a-right-handed-world-2156799d6281?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2156799d6281</guid>
            <category><![CDATA[left-handers]]></category>
            <category><![CDATA[bias]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Wed, 30 Dec 2020 13:47:48 GMT</pubDate>
            <atom:updated>2020-12-30T13:47:48.343Z</atom:updated>
            <content:encoded><![CDATA[<p>Navigating the world with my left hand.</p><p>As someone who writes with their left hand, I have heard a lot of weird things. From people telling me that I have been cursed to believing I will one day grow up to be an amazing musician, the list is endless. I don’t know about others, but I can tell you one thing for sure, music is definitely not my strong suit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*c6Mh3XoS0yaL4G6od9KN6w.png" /></figure><p>With only about 10% of the world being left-handed, it got me thinking…where did all these crazy myths come from and why was being left-handed looked down upon?</p><h3><strong>A Right-Handed World</strong></h3><p>While 90% of the world is right-handed, it is safe to say that most things in our world are designed to use by right-handed people. From scissors to kitchen utensils to even sports equipment, lefties are forced to adapt or back down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LqIx6eNZBnwrYZif" /><figcaption>Photo by <a href="https://unsplash.com/@aleksandarzivkovic?utm_source=medium&amp;utm_medium=referral">Aleksandar Živković</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong>Exclusion from Research Studies</strong></h4><p>In August 2019, psychology researchers from Dalhousie University revealed that left-handed people are being purposefully and systematically excluded from neuro-imaging research studies. This happened because of the concern that any different or “weird” attribute could throw-off the results and it’s not the first it happened. Left-handed people have been left out of memory, attention, emotion, face recognition, vision and hearing research/experiments for decades.</p><h4><strong>Culture, Religion and Left Handedness</strong></h4><p>In many cultures being left-handed is seen as being unlucky or malicious. In many religions, the right hand is known as the hand of God and is said to be the favoured one. While in some religions, the left hand is said to be unclean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0mlOuibEKjnHi2RqLu3lw.jpeg" /><figcaption>People eating with their right hand.</figcaption></figure><h4><strong>The Pay Gap Between Lefties vs. Righties</strong></h4><p>A 2014 paper from the economist, Joshua Goodman, at the time at Harvard, found that left-handed people earn 10 to 19 percent less than right-handed people. He found that this was because of cognitive differences and differential brain structure. However, as Goodman said himself, “we can’t really say whether cognitive differences are <em>actually</em> a result of differential brain structure — or if it’s a consequence of having to navigate a right-handed world from the left.” The gap between lefties and righties was $2,500/year for men and $3,400/year for women, because unfortunately, even in 2020, the Gender Gap is still a thing.</p><h3><strong>A Leftie’s Brain</strong></h3><p>There have been countless studies trying to figure out whether a leftie’s brain is truly different than someone that writes with their right hand. However, in recent years, we have gotten closer. It is well known that handedness is caused by the brain. Handedness represents one form of functional hemispheric asymmetries. For example, left-right differences in the brain. Specifically, in left-handers, the motor cortex in the right side of the brain (the left side of the body is controlled by the right side of the brain, and vice versa) is dominant for fine motor behaviour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*fp0lQ786FTeoAj4OI_wmEg.jpeg" /><figcaption>Left vs. Right brain hemisphere</figcaption></figure><p>A study found that 95 percent of right-handers are “left hemisphere dominant”. What does that mean? Most right-handers are more dependent on the left hemisphere for speech and language. So, many assumed that the opposite would be true for lefties.</p><p>However, this is not true, with about 70 percent of lefties are more dependent on their left hemisphere. Why this is the case is still unknown.</p><p><strong>The assumption that lefties mostly use the right hemisphere of their brain is the basis and root of many common myths and misconceptions.</strong></p><h3><strong>Common Myths &amp; Beliefs</strong></h3><h4><strong>Languages</strong></h4><p>In many languages, the bias starts from the word’s meaning itself.</p><p>In Middle English, the word “left,” means, “weak,” based on the early observations that most left-handed people were weaker. In classic Latin, the word for left means “sinister.” In French, “gauche” is the word for left and it means either the direction or “clumsy.” In Vietnamese, the word for left is <em>trái</em>, which also means “wrong” or “opposite.” In Sanskrit, the word, Waama stands for both “left” and “wicked.” In Polish, the word <em>lewy</em> means “left” and “illegal” These are just some examples of the many, many different meanings for the word ‘left’ around the world.</p><h4><strong>Beliefs</strong></h4><p>Many people believe that left-handers are more creative, as most of them use their “right-brain”. This myth is probably the most common among society today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ymohbNF6uEbBTP2QBozVew.jpeg" /><figcaption>People believe lefties are more creative.</figcaption></figure><p>According to the Medieval tradition, The Devil himself is left-handed. The left hand symbolized the power to shame society and was used as a metaphor for misfortune, natural evil, or punishment from the gods.</p><p>In the 20th Century anthropologists and psychologists identified left-handedness as a biological anomaly, one associated with deviance, but that could be corrected away with behavioural reinforcement.</p><p>However, the left hand is not always looked down upon. The Ancient Celts worshipped the left side, associating it with femininity and the fertile womb.</p><p>So, now what? It’s the 21st Century and there are still many questions to be answered, but there is one thing I know for sure. We are all the same from the inside, left-handed or right-handed, and that’s all that matters, right?</p><p>Thanks for reading! If you have any questions or want to chat further, contact me at:</p><p>Email: mansikatarey@gmail.com</p><p>or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2156799d6281" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do Thermometer Guns Work?]]></title>
            <link>https://medium.com/beingwell/how-do-thermometer-guns-work-6b9d557dcd95?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9d557dcd95</guid>
            <category><![CDATA[infrared-radiation]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[thermometer-gun]]></category>
            <category><![CDATA[pandemic]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 14:17:47 GMT</pubDate>
            <atom:updated>2021-01-05T17:35:05.684Z</atom:updated>
            <content:encoded><![CDATA[<h4>You have probably come across one of these things in the past year.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FMvc4-3LfRNz9-Xj" /><figcaption>Photo by <a href="https://unsplash.com/@uniqueton?utm_source=medium&amp;utm_medium=referral">Anton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I know I have. During the COVID pandemic, these thermometer guns have become an essential part of our lives. But, how do they actually work? I see these guns everywhere, but I’ve always wondered how they work. How can something tell my temperature without actually coming in contact with me?</p><p>Here’s how:</p><h3><strong>Infrared Radiation</strong></h3><p>This is the backbone of the thermometer gun. If there is no infrared radiation, the thermometer simply will not work. You see, every object has atoms moving within it. Now, unless you’re in absolute zero temperature, you have atoms moving within you too. Right now. At this very second.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*7wSFgh21qy6SXNdQwq3rIg.png" /><figcaption>Hot atoms vs. cold atoms</figcaption></figure><p>Temperature and the speed at which these atoms move at are directly related. The faster the speed of the atoms, the higher the temperature. As they move faster, they emit more infrared radiation and eventually start to become visible (that’s if the object is really, really, REALLY hot.)</p><p>The atoms release energy in the form of <strong>infrared radiation</strong>, a type of electromagnetic radiation below the visible spectrum of light. What does that mean? The wavelength of this radiation is longer than those of visible light. That’s the reason we cannot see it with our eyes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*ixtfM0gyPV4ADo6PG9NhaA.jpeg" /></figure><p>When metal glows red or even white, you can feel the heat emitted from it, even though we cannot see the wavelengths. The heat that we feel from the sun or the fireplace are some examples of infrared radiation. Infrared thermometers detect and measure this radiation.</p><h3><strong>A Black Body</strong></h3><p>Blackbody radiation refers to the spectrum of light emitted by any heated object. Some examples are incandescent light bulbs or the stars you see on a clear night. A Blackbody absorbs all incoming radiation and radiates the maximum amount of energy with each wavelength. The spectral intensity of blackbody radiation peaks at a frequency that increases with the temperature of the emitting object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*oEUPILUtGzzqbbRO5ycP1g.png" /></figure><p>In simpler words, a blackbody is an object that absorbs all radiation, visible light, infrared light, ultraviolet light, that falls on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*Gt31Q2fZRcqXJTTByL708A.png" /></figure><p>To read more about the concept of Black Body, check out this <a href="https://www.britannica.com/science/blackbody-radiation">Britannica article.</a></p><h3><strong>Inside a Standard Infrared Thermometer</strong></h3><h4><strong>A Circuit Board</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OElhM1Hbp2GnX8xIBqZlIA.png" /><figcaption>The top of the circuit board</figcaption></figure><h4><strong>Processor</strong></h4><p>The processor is the brain of the thermometer. Because of the size of the thermometer, typically, a microprocessor is used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*iRSzcgOMYkK4iONaNMyGgQ.png" /><figcaption>Microprocessor</figcaption></figure><h4><strong>Power Supply</strong></h4><p>The power supply…well, you guessed it, it powers the thermometer. The type of battery can vary from thermometer to thermometer, but normally, a single 9V battery is used in standard thermometers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*--VC3EEJVkyffx1UUyDjmQ.png" /><figcaption>The Power Supply</figcaption></figure><h4><strong>Sensor Assembly</strong></h4><p>This sensor is the main part of the thermometer. It reads the temperature by using an Infrared (IR) sensor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AqvF2D6ohdz1jtEXGkD7JQ.png" /><figcaption>IR Sensor</figcaption></figure><h4><strong>Display</strong></h4><p>The display shows the temperature and other information. It is backlit by SMD LEDs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*7RhFF5qQ4ghOqcAr9VmwGw.png" /><figcaption>The display is lit in green</figcaption></figure><h4><strong>Laser</strong></h4><p>The red laser helps aim the thermometer. It is activated when the trigger is pulled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtNOyBEx7ieqAT1CjBwuSQ.png" /></figure><p>The thermometer itself is quite simple and uses basic principles of physics in order to work.</p><h3><strong>Are Thermometer Guns Accurate?</strong></h3><p>A normal thermometer measures your inside body temperature, but the guns measure your outside temperature, also known as your skin’s temperature. Your skin temperature can be affected by many different factors, including the time of day, after exercise and after spending time outside.</p><p>An experiment conducted by CityNews Toronto showed that after spending just five minutes under the sun, the thermometer guns displayed a temperature of 39.5℃, compared to 35.6℃ when sitting in the shade.</p><p>However, the thermometer put under the tongue was the only device that stayed consistent, at 36.3℃.</p><p>Check out this Youtube video to watch the full experiment!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fycr8VTyzSCU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dycr8VTyzSCU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fycr8VTyzSCU%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/f493e2c37b4555273420769a828ad4a9/href">https://medium.com/media/f493e2c37b4555273420769a828ad4a9/href</a></iframe><p>I have experienced this first hand. Normally, when I leave the house, I splash my face with cold water. On those days, my temperature recorded by the temperature gun would be good enough for me to proceed into the store. However, one day, I had a lot of meetings and spent a lot of time in my room. My room gets hot very quickly, especially when the doors are closed. That same day, I forgot to splash my face with cold water before I left and suddenly, my temperature showed I had a fever. I couldn’t go inside, but when I came home and used my normal thermometer. I was just fine. My temperature recorded 37.1℃.</p><p>Thanks for reading! If you have any questions or want to chat further, contact me at:</p><p>Email: mansikatarey@gmail.com</p><p>or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b9d557dcd95" width="1" height="1" alt=""><hr><p><a href="https://medium.com/beingwell/how-do-thermometer-guns-work-6b9d557dcd95">How do Thermometer Guns Work?</a> was originally published in <a href="https://medium.com/beingwell">BeingWell</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does Your Google Assistant Really Work?]]></title>
            <link>https://medium.com/swlh/how-does-your-google-assistant-really-work-88c64d5dd38d?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/88c64d5dd38d</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Mon, 30 Nov 2020 12:52:58 GMT</pubDate>
            <atom:updated>2020-12-15T02:00:53.885Z</atom:updated>
            <content:encoded><![CDATA[<p>A technical rundown of how your Google Home device works.</p><h4>Wake Word: “OK Google”</h4><p>A wake word is a very small scale algorithm that activates a device when spoken. It can also be referred to as a “trigger word,” or “wake up word.” The wake word used to activate your Google assistant is “OK Google.” When the device hears the wake word, it begins recording, and you will see four circles on the top, this means the device is activated. The microphones also determine the direction the word comes from, so it can focus in that direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fhan2BLq_9i5N8_Y" /><figcaption>Photo by <a href="https://unsplash.com/@luiskcortes?utm_source=medium&amp;utm_medium=referral">Luis Cortés</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Cloud Computing</h4><p>Wake word technology runs on Cloud. And no, not the clouds you see in the sky on a rainy day. Cloud Computing is used to refer to servers that are accessed over the Internet, and the software and databases that run on those servers. Cloud servers are located in data centers all over the world. When using Cloud Computing, computers can store information in another place, instead of on the computer. That saves space and allows for more information to be stored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*oQmsc4NiZRU7gCYKk7ohqw.png" /><figcaption><a href="https://medium.com/google-developers/building-a-smart-home-cloud-service-with-google-1ee436ac5a03">https://medium.com/google-developers/building-a-smart-home-cloud-service-with-google-1ee436ac5a03</a></figcaption></figure><p>However, the idea of integrating cloud into virtual assistants took fairly long. One problem that had to be solved was that the device had to respond quickly when called. The system couldn’t stream what its microphone heard to a cloud service continuously; that would result in lag and would slow down wake word recognition, enough to impact the user experience. Though, these problems have been resolved with the help of ever-growing technology.</p><h4>Intense Training</h4><p>Yes, your Google Assistant had to go through some intense training before you guys became best friends, but not in the way you think. The wake word is based on a Neural Network Algorithm. These Neural Networks (NN) need to be trained to work the way we want them too. It can be thought of as working out at the gym. When you work out, you’re training your muscles.</p><p>The more training data that is fed into the NN, the more accurate the results are. However, this training data needs to be diverse. Going back to our gym example, if you only do push-ups, the muscles in your arms will become really strong, but the muscles in your leg won’t be. So, you will have a much harder time going for a long run, than doing 50 push-ups. The same can be applied to training Neural Networks. If the training data only consist of women speaking, even if its millions of them, there will be more errors when men try to activate the system. The same problem will occur when people with different accents try to activate the device. So, it is important that the training sets used to train the system are diverse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAM6bZ3kOmzX1-YAzTtnSw.png" /><figcaption><a href="https://twitter.com/googlenest/status/1231361254570131457">https://twitter.com/googlenest/status/1231361254570131457</a></figcaption></figure><h4>How does Google come up with its answers?</h4><p>When you ask Google a question, it records your question on the device and uses the internet and cloud computing to search for your question, to find potential answers. Your words and the tone of your question or request are analyzed by an algorithm, which is then matched with a command that the device thinks you asked. In essence, the device is saying, “I’m 90% sure you said this.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*hG04TsLbRBvNkZ9Fmn7HOQ.png" /><figcaption><a href="https://iridi.com/gate/">https://iridi.com/gate/</a></figcaption></figure><p>Of course, the algorithm isn’t going to be 100% sure. This is the most common reason why you don’t get the answer you were looking for. Alongside the algorithm, the main device connected to your Google Home (usually a phone) is trying to see if it can process your command locally through wi-fi or Bluetooth. For example, if you ask your Google Home to turn on the lights, your phone will take care of that command. However, for more complicated commands, such as, “what does ‘bye’ mean in French,” your Google Device will need to connect to the server to answer your question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*v9gKjOnwnEHzY8v7K_P08w.png" /><figcaption><a href="https://in.pcmag.com/google-home/117619/google-pushes-for-assistant-enabled-apps-in-india-home-speaker-incoming">https://in.pcmag.com/google-home/117619/google-pushes-for-assistant-enabled-apps-in-india-home-speaker-incoming</a></figcaption></figure><h4>Is your Google Home device listening to everything you say?</h4><p>Ah, that infamous question! Remember the concept of a wake word? Your Google device is only activated and only starts recording when you say “OK Google.” Yes your device is constantly listening for the wake word, but don’t worry, it doesn’t understand anything until the wake word is heard. So, the short answer is no, your device isn’t listening to everything you’re saying, at least, it’s not understanding it…</p><p>Thanks for reading! If you have any questions or want to chat further, contact me at</p><p>Email: mansikatarey@gmail.com</p><p>or contact me through <a href="https://www.linkedin.com/in/mansi-katarey-7aa4621b5/">Linkedin</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88c64d5dd38d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-does-your-google-assistant-really-work-88c64d5dd38d">How Does Your Google Assistant Really Work?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Absolute Basics of Reinforcement Learning]]></title>
            <link>https://medium.com/analytics-vidhya/the-absolute-basics-of-reinforcement-learning-97402c444be1?source=rss-10d8628401fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/97402c444be1</guid>
            <category><![CDATA[introduction]]></category>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <dc:creator><![CDATA[Mansi Katarey]]></dc:creator>
            <pubDate>Mon, 23 Nov 2020 12:43:29 GMT</pubDate>
            <atom:updated>2020-12-01T17:49:51.986Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reinforcement Learning</h3><p>Reinforcement learning. What is it and what does it do? In this article, you’ll get a basic rundown of what reinforcement learning is.</p><p><strong>First, let’s start with a basic definition:</strong></p><p>Reinforcement learning is an area of machine learning.</p><p>It involves software agents learning to navigate an uncertain environment to maximize reward. It learns from interactive experiences and uses feedback from its actions. Basically, the bot gets points for its actions. It can gain or lose points. The way agents learn through RL is identical to the way we, as humans learn.</p><p>Think of it like a video game where you get punished or rewarded for your actions. In most video games you get rewarded by gaining more points or moving on to the next level and you get punished by losing a life or dying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4zsnopV8r8TunULNXO9lQ.png" /><figcaption>Inside the RL algorithm</figcaption></figure><h4><strong>We want to get the agent to learn for itself.</strong></h4><p>There are three basic elements of the reinforcement learning algorithm:</p><p>First, we’ve got the <strong>environment</strong> in which the agent is in. The environment provides input back to the agent as to if what it did was right or wrong. In other words, the environment tells the agent if the action it took resulted in a reward or punishment.</p><p>Next, we’ve got the <strong>agent</strong>. The agent is the one choosing the actions it takes.</p><p>And finally, we’ve got the <strong>reward</strong>. The reward is what the agent is aiming for. The agent’s incentive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*THi0KZcRwWm-za4atP24kQ.png" /><figcaption>How the RL Algorithm learns</figcaption></figure><p>Now if we go back to our video game example, the environment would be the game screen that you see, the agent would be you as you’re the one making the decisions and playing the game, and the reward would be more points or moving on to the next level.</p><p><strong>So how does it compare to other machine learning techniques :</strong></p><p>There are 3 basic machine learning techniques; supervised learning, unsupervised learning and of course, reinforcement learning.</p><p>The main difference between each of these techniques is the goal.</p><p>The goal of unsupervised learning is to find similarities and differences between data points, while the goal of supervised learning is to sort the data based on the labels given. And of course, as we know, the goal of reinforcement learning is to get maximum reward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*nomoPirEmlbXg11TN-WtMA.png" /><figcaption>RL vs. other ML techniques</figcaption></figure><p><strong>Where is RL the most useful?</strong></p><p>Reinforcement learning techniques are particularly useful since they don’t require lots of pre-existing knowledge or data to provide useful solutions or where there are many unknowns.</p><p><strong>Where is it being used today?</strong></p><p>Currently, RL is being used in areas like robotics, air traffic control, data processing, to create training systems and more! The applications on RL are endless and can be used almost everywhere. Google’s Deep Mind team has used RL to get an agent to learn and recognize digits and play the game, Atari all on its own!</p><p>This is a video of Google’s Deepmind algorithm playing Atari. <a href="https://www.youtube.com/watch?v=V1eYniJ0Rnk">https://www.youtube.com/watch?v=V1eYniJ0Rnk</a></p><p><strong>Challenges of RL</strong></p><p>Any new technology comes with its fair share of challenges and it’s no different for RL. One of the biggest problems with RL is trying to use it on a big scale. It requires a lot of training time and a huge number of iterations to learn tasks. The way RL learns is by using trial-and-error. To do this in the real-world becomes nearly impossible. Let’s take the example of an agent trying to navigate through an environment to avoid people. The agent would then try different actions and then proceed with the one that would best fit in that environment. This becomes hard to do in the real-world where the environment is changing constantly and frequently.</p><p><a href="https://towardsdatascience.com/the-ultimate-beginners-guide-to-reinforcement-learning-588c071af1ec">https://towardsdatascience.com/the-ultimate-beginners-guide-to-reinforcement-learning-588c071af1ec</a></p><p><a href="https://www.kdnuggets.com/2018/03/5-things-reinforcement-learning.html">https://www.kdnuggets.com/2018/03/5-things-reinforcement-learning.html</a></p><p><a href="https://medium.com/@BonsaiAI/why-reinforcement-learning-might-be-the-best-ai-technique-for-complex-industrial-systems-fde8b0ebd5fb">https://medium.com/@BonsaiAI/why-reinforcement-learning-might-be-the-best-ai-technique-for-complex-industrial-systems-fde8b0ebd5fb</a></p><p><a href="https://towardsdatascience.com/applications-of-reinforcement-learning-in-real-world-1a94955bcd12">https://towardsdatascience.com/applications-of-reinforcement-learning-in-real-world-1a94955bcd12</a></p><p><a href="https://www.guru99.com/reinforcement-learning-tutorial.html">https://www.guru99.com/reinforcement-learning-tutorial.html</a></p><p><a href="https://www.futurithmic.com/2019/04/12/why-you-should-study-ai-machine-learning-how-did-it/">https://www.futurithmic.com/2019/04/12/why-you-should-study-ai-machine-learning-how-did-it/</a></p><p><a href="https://towardsdatascience.com/reinforcement-learning-its-necessity-and-challenges-febef1470e9a">Reinforcement Learning : Its necessity and challenges</a></p><p><a href="https://towardsdatascience.com/an-introduction-to-reinforcement-learning-1e7825c60bbe">https://towardsdatascience.com/an-introduction-to-reinforcement-learning-1e7825c60bbe</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97402c444be1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/the-absolute-basics-of-reinforcement-learning-97402c444be1">The Absolute Basics of Reinforcement Learning</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>