<?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 Deepanshu Bhinda on Medium]]></title>
        <description><![CDATA[Stories by Deepanshu Bhinda on Medium]]></description>
        <link>https://medium.com/@bhinda.tdb?source=rss-899fb4aaf442------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pYFzH1jQLwqqjPUH.jpg</url>
            <title>Stories by Deepanshu Bhinda on Medium</title>
            <link>https://medium.com/@bhinda.tdb?source=rss-899fb4aaf442------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:48:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhinda.tdb/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[The era of an Edge Device]]></title>
            <link>https://medium.com/@bhinda.tdb/the-era-of-an-edge-device-b0c0a29b22b6?source=rss-899fb4aaf442------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0c0a29b22b6</guid>
            <category><![CDATA[edge-ai]]></category>
            <category><![CDATA[nvidia-jetson-nano]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Deepanshu Bhinda]]></dc:creator>
            <pubDate>Thu, 05 Dec 2019 12:36:08 GMT</pubDate>
            <atom:updated>2019-12-06T14:54:24.429Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*VPOCACSjn_Va1t__p9EeeQ.jpeg" /></figure><h3>What is an Edge Device and why do we need it?</h3><p>Technology is getting ubiquitous day by day. Now people or users want to experience technology in a low-cost device. 2 years ago, this kind of technology required a huge amount of computation like a huge GPU Memory, RAM as well as the high-resolution camera. Even most of the deep learning models couldn’t run on a low computational device. So instead of buying a huge computation system, people or users get an instance on cloud platforms like AWS, GCP, Microsoft Azure, etc. where it would cost around $150 per month approximately. But using the cloud, data breaching problem has occurred where the security of data has been compromised. Unfortunately, most of the people couldn’t afford to buy a huge computation system as well as buying a cloud instance. These problems degrade the use of A.I tools as security in normal stores, public places, schools, etc. So to enhance the use of A.I tools, there has been launched various devices such as Nvidia Jetson TX1, Nano, TX2, Xavier, Raspberry pi, etc with having a programming language binding support like python, c++, etc. by which we can deploy the deep learning model on this devices.</p><p>These devices have a decent CPU memory, GPU memory with a good resolution camera at an affordable price. These devices can be used in public places(railway stations, malls), roads, cars, stores and it doesn’t require a huge system. It is nothing but a small device or says a small CPU. The user just has to connect it with Keyboard, Mouse and an HDMI monitor.</p><h3>Applications that can be performed on Edge Devices</h3><p>There are certain types of applications that can be performed on edge devices, such as:</p><ol><li>Crowd Detection:-</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*izYReEy6Yrs_et8Ts5kmgA.png" /></figure><p>An edge device can be placed on shopping malls, schools, traffic signals, streets, etc. By using that device we can detect the length of the crowd in a particular area, some malicious activities performed on streets, etc.</p><p>2. Retails Analysis:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6xVn29phSVTYC9ZzvMfNuw.jpeg" /></figure><p>This is one of the finest application which can be build using edge devices, <strong><em>Retail Analysis.</em></strong> We can justify a person’s behavior characteristics using various methods and check whether the product has been picked up or not. It can be used in grocery stores.</p><p>3. Fitness Freaks:-How? Is it possible?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*aDItVJMCc1mAI_od52Q9zg.jpeg" /></figure><p>In this busy world, we mostly forget to work on our health and fitness. So we join a gym and we also need good trainers who can guide us about exercises and diets. They set our proper schedule. But unfortunately, some people could afford a mobile device but not a professional personal trainer. Here Artificial Intelligence can make things easy for us. We can perform pose estimation on edge device and a basic algorithm would tell us whether we are doing it right or not. See How A.I make things easier for us!.</p><p>There are many more applications that can be performed using edge devices at a low cost.</p><h3>Computer vision on edge device! Is it possible?</h3><p>Okay, now everyone got to know that certain type of applications that can be performed using an Edge Device.</p><p>Now we must be thinking about how can a deep learning computer vision model can be implemented on an edge device. To succeed that, there’s a method called Model Optimization.</p><p>Model optimization is the finest technique to make a deep learning model work on a low computation device. With the help of optimization techniques, one can run a deep learning model on small devices. These techniques include optimizing hyperparameters such as input size, Batch Normalization, Gradient descent, Momentum, etc. There are various optimization techniques we can apply like Adam Optimization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOkHU_dgXMCybA6WWXrp4g.gif" /></figure><p>Adam Optimization is a method helps to optimize model performance and loss value during training the model. It computes one’s learning rate with different parameters. The Adam optimization algorithm is a combination of <a href="https://engmrk.com/gradient-descent-with-momentum/">gradient descent with momentum</a> and <a href="https://engmrk.com/rmsprop/">RMSprop</a> algorithms.</p><blockquote>some research related to Adam Optimization</blockquote><blockquote><a href="https://towardsdatascience.com/adam-latest-trends-in-deep-learning-optimization-6be9a291375c">https://towardsdatascience.com/adam-latest-trends-in-deep-learning-optimization-6be9a291375c</a></blockquote><p>But okay!, We all know there are several optimization techniques available, but only model optimization will help?. Do we need to apply some more techniques to run a deep learning model on edge devices?. For instance, can we run the YOLO model on edge device, if yes then which version of YOLO?. <br>Well, it purely depends upon which edge device we are using or on which edge device we want to deploy the model.</p><h3>Which device to be selected and how’s the model perform on them?</h3><p>There are various edge devices available in the market, such as:</p><ol><li><strong>Raspberry pi 4</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUyo0q8MSdM5ELZhWfp5jw.jpeg" /></figure><p>When it comes to talking about the edge device, the first thing comes in mind is raspberry pi. The <strong>Raspberry Pi</strong> is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. Configuration of this device contains Ram of 4GB, 2 × USB 3.0 ports, 2 x USB 2.0 Ports, 2 × micro HDMI ports supporting up to 4Kp60 video resolution, Micro SD card slot for loading the operating system and data storage.</p><blockquote>Pricing: $61.99 on amazon</blockquote><p>Models that can be run on Raspberry pi 4</p><p><strong>For object Detection</strong></p><p>— SSD MOBILE NET- 40 FPS</p><p>— TinyYOLOV2 -3 FPS</p><p>— OpencvDNN- 5 FPS</p><p><strong>For Pose estimation</strong></p><p>— SSD MOBILE NET with Open Pose- 7 FP<strong>S</strong></p><p><strong>Face Detection and Recognition</strong></p><p>— OpencvDNN — 3 FPS</p><p>— Python Face Recognition Library- 2.5 FPS</p><p><strong>2. Nvidia Jetson Nano</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*mvQLHYFTzyEsvS92pTOxQw.png" /></figure><p>NVIDIA Jetson Nano enables the development of millions of new small, low-power AI systems. It opens new worlds of embedded IoT applications, including entry-level Network Video Recorders (NVRs), home robots, and intelligent gateways with full analytics capabilities. Nano is a device that is slightly better than raspberry pi 4. The difference is it also provides GPU memory partition which enhances the speed of the model.</p><blockquote>Pricing:$99.00 Amazon</blockquote><p>Models that can be run on Nvidia Jetson Nano</p><p><strong>For object Detection</strong></p><p>— SSD MOBILE NET- 60 FPS</p><p>— TinyYOLOV2 -3.5 FPS</p><p>— OpencvDNN- 5 FPS</p><p><strong>For Pose estimation</strong></p><p>— SSD MOBILE NET with Open Pose- 7 FPS</p><p><strong>Face Detection and Recognition</strong></p><p>— OpencvDNN — 3 FPS</p><p>— Python Face Recognition Library- 4.5 FPS</p><p>3. <strong>Nvidia Jetson TX2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*bHijJYSTPw8YcKSDoBHq3g.png" /></figure><p>Jetson TX2 is the fastest, most power-efficient embedded AI computing device. This 7.5-watt supercomputer on a module brings true AI computing at the edge. It’s built around an NVIDIA Pascal™-family GPU and loaded with 8GB of memory and 59.7GB/s of memory bandwidth. It features a variety of standard hardware interfaces that make it easy to integrate it into a wide range of products and form factors. It is an advanced version of Jetson Nano. It provides an efficient memory with high speed.</p><blockquote>Pricing:$399.00 Amazon</blockquote><p>Models that can be run on Nvidia Jetson TX2</p><p><strong>For object Detection</strong></p><p>— SSD MOBILE NET- 60 FPS</p><p>— TinyYOLOV2- 8.5 FPS</p><p>— OpencvDNN- 5 FPS</p><p><strong>For Pose estimation</strong></p><p>— SSD MOBILE NET with Open Pose- 10 FPS</p><p><strong>Face Detection and Recognition</strong></p><p>— OpencvDNN — 3 FPS</p><p>— Python Face Recognition Library- 6.5 FPS</p><p>4. <strong>Nvidia Jetson TX1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*OZ_ACZQNlx0c9JIEFGhZHw.jpeg" /></figure><p>The world’s first supercomputer on a module, Jetson TX1 is capable of delivering the performance and power efficiency needed for the latest visual computing applications. It’s built around the revolutionary NVIDIA Maxwell™ architecture with 256 CUDA cores delivering over 1 teraflop of performance. 64-bit CPUs, 4K video encode and decode capabilities, and a camera interface capable of 1400 MPix/s make this the best system for embedded deep learning, computer vision, graphics, and GPU computing.</p><blockquote>Pricing:Unavailable</blockquote><p>Performance is comparatively the same as Jetson TX2.</p><h3>That’s it? Only a Few models.</h3><p>Okay, we got some model’s performances on these devices. But is there any possibility to enhance the detection or recognition speed on this device or we just have to accept the fact that only a few deep learning models can perform decently on these devices but not much.</p><blockquote>The answer is <strong>NO</strong></blockquote><p>There are several devices help accelerate neural networks such as Intel Movidius Neural Compute Stick, Google coral USB accelerator.</p><h4>Intel Movidius Neural Compute Stick</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*e7NBsGYfBEIfiSWErKUv6w.jpeg" /></figure><p>This device helps to run a deep learning model at the edge. This has some tremendous features, such as:</p><ul><li>Support for heterogeneous execution across computer vision accelerators — CPU, GPU, VPU, and FPGA — using a common API</li><li>Pretrained models on Open Model Zoo</li><li>Raspberry Pi hardware support</li><li>Support for heterogeneous execution across computer vision accelerators — CPU, GPU, VPU, and FPGA — using a common API</li><li>A library of functions and preoptimized kernels for faster delivery to market</li></ul><p><strong>Supported operating systems:</strong></p><ul><li>Ubuntu 16.04.3 LTS (64 bit)</li><li>CentOS* 7.4 (64 bit)</li><li>Windows 10 (64 bit)</li><li>macOS 10.14.4 (or later)</li><li>Raspbian (target only)</li><li>Other (via the open-source distribution of OpenVINO™ toolkit)</li></ul><h4>Hardware</h4><ul><li>Processor: Intel Movidius Myriad X Vision Processing Unit (VPU)</li><li>Supported frameworks: TensorFlow, Caffe, Apache MXNet, Open Neural Network Exchange (ONNX), PyTorch, and PaddlePaddle via an ONNX conversion</li><li>Connectivity: USB 3.0 Type-A</li><li>Dimensions: 2.85 in. x 1.06 in. x 0.55 in. (72.5 mm x 27 mm x 14 mm)</li><li>Operating temperature: 0° C to 40° C</li></ul><h4>Google Coral USB accelerator</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*b_7BxI5oKc_d2JuaH_DCqw.jpeg" /></figure><p>The on-board Edge TPU coprocessor is capable of performing 4 trillion operations (tera-operations) per second (TOPS), using 0.5 watts for each TOPS (2 TOPS per watt). For example, it can execute state-of-the-art mobile vision models such as MobileNet v2 at 400 FPS, in a power-efficient manner.</p><p>It can be worked with Debian, Linux, etc.</p><p>Supports Tensorflow lite models.</p><h3>Let’s jump to real-time scenarios</h3><p>We have developed several models or products on edge devices such as Driver Drowsiness Detection System, Facial Recognition, Face Detection, Emotion Recognition, etc.</p><p><strong>Driver Drowsiness Detection System and Fatigue Recognition</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGtIfeJHioFExRqJ8fsEpg.png" /></figure><p>We have developed a custom architecture model by modifying the layers of the SSD MOBILE NET to detect face and facial landmarks in realtime for Nvidia-Jetson TX2. Along with sleep detection, we have to detect whether a person is using a mobile phone or not. We got around 25 FPS on Nvidia Jetson TX2.</p><p><strong>Emotion-Recognition</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*562lIF5etzqGd8nO83RrSw.png" /></figure><p>Based on the different person emotion data with variants of tons of images, we have trained a model to detect the emotion of a person to deploy it in various conferences with a speed of 7 FPS on raspberry pi 4.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0c0a29b22b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>