<?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 Anil Dhole on Medium]]></title>
        <description><![CDATA[Stories by Anil Dhole on Medium]]></description>
        <link>https://medium.com/@anildhole?source=rss-9817aff4d233------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bUrEOgXATgTJ_v1u.</url>
            <title>Stories by Anil Dhole on Medium</title>
            <link>https://medium.com/@anildhole?source=rss-9817aff4d233------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:23:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anildhole/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[Completing the Self-Driving Car Engineer Nanodegree Program at Udacity, and testing my skills with…]]></title>
            <link>https://medium.com/udacity/self-driving-car-engineer-nanodegree-program-at-udacity-b712099b36be?source=rss-9817aff4d233------2</link>
            <guid isPermaLink="false">https://medium.com/p/b712099b36be</guid>
            <category><![CDATA[darknet]]></category>
            <category><![CDATA[autonomous-vehicles]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Anil Dhole]]></dc:creator>
            <pubDate>Fri, 07 Sep 2018 07:25:01 GMT</pubDate>
            <atom:updated>2018-09-11T18:10:38.617Z</atom:updated>
            <content:encoded><![CDATA[<h3>Completing the Self-Driving Car Engineer Nanodegree Program at <a href="https://medium.com/u/2929690a28fb">Udacity</a>, and testing my skills with a real-world application</h3><h4>To apply what I had learned, and to test my knowledge, I chose to develop an AI system for selective spraying; the kind used for pest and weed control in farming.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*THEzQVLUNTzTTxumDvpOdw.png" /></figure><p>I am an Automobile Engineer, so this program content was new to me. But I would like to say thanks to the <a href="https://medium.com/u/2929690a28fb">Udacity</a> team: Sebastian Thrun, who is helping to democratise high-end technologies that benefit human beings at large, and project leads <a href="https://medium.com/u/8190c86ea791">David Silver</a>, <a href="https://medium.com/u/a878b47f7040">Ryan Keenan</a>, and <a href="https://medium.com/u/14fba6c89ce">Cezanne Camacho</a>, who have designed a course that is simple, and yet includes the most advanced technologies in the autonomous world. They have made it accessible for anyone who wants to enter the AI and Autonomous/Robotics field, without any prior related knowledge required.</p><p>I would like to also say thanks to my capstone project partners <a href="https://medium.com/u/60ada3b43369">Anurag Kankanala</a>, <a href="https://medium.com/u/3d2982bbbe81">Jeremy S. Cohen</a>, Vincent Wiart, and Srikant Mutyala, who worked in sync and collaborated with each other, despite being from different geographic locations and timezones.</p><p>I completed the Self-Driving Car Engineer Nanodegree program in April 2018, but I didn’t publish this news at the time, as I was not yet confident about my skills, and about what I learned in the program. So to test my knowledge, I decided to to try and develop an AI system where I could apply what I had learned, and test my knowledge accordingly. I choose to develop an AI system for selective spraying; the kind used for pest and weed control in farming.</p><h4>AI for Cotton Plant Detection</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNO6WA55DeBU%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNO6WA55DeBU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNO6WA55DeBU%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/d4d0226a0aaaaa8b270c4d19eabe30f5/href">https://medium.com/media/d4d0226a0aaaaa8b270c4d19eabe30f5/href</a></iframe><p>After some research on neural networks and implementation language, I decided to go with <a href="https://pjreddie.com/darknet/"><em>Darknet</em></a><em>, </em>as it uses C++, which is faster than Python and good for hardware interface—in my case Raspberry PI 3B+ model. Running a deep learning model on a low-end device like a Raspberry Pi is a challenge when it comes to making it work on a real-life application, due to speed and accuracy constraints.</p><p>Below, I would like to share some of the tips which I implemented to overcome these hurdles.</p><ol><li>Use lightweight Distro and uninstall unnecessary programs on your Raspberry Pi.</li><li>Use C++ as your implementation language (Use <a href="https://pjreddie.com/darknet/">Darknet NN</a>), Also you can use <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/pi_examples">TensorFlow on Raspberry Pi</a> with quantize weights.</li><li>Optimize open CV. (refer <a href="https://www.pyimagesearch.com/2017/10/09/optimizing-opencv-on-the-raspberry-pi/">pyimagesearch</a>)</li><li>Darknet optimization for Raspberry Pi processor(ARM) (Use <a href="https://github.com/shizukachan/darknet-nnpack">NNPACK</a>)</li><li>Find out time-consuming CONV Layer and tweak model to reduce prediction time.</li><li>Optimize image training to suit your application and number of classes. (Image size, object variation, number of iterations)</li><li>Pursue the best compromise of accuracy and speed.</li></ol><p>After all of this optimization and tweaking, I got a very good detection speed (15 FPS) with the required accuracy to use it for a real-life application.</p><h4>POC for Selective Spraying using Artificial Intelligence</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsqVmRhvU4WA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsqVmRhvU4WA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsqVmRhvU4WA%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/b63a0de75300f21b8d520dad161c0789/href">https://medium.com/media/b63a0de75300f21b8d520dad161c0789/href</a></iframe><p>I was not satisfied with what I achieved with the NN implementation on Raspberry PI, but I tried to stretch it further, and decided to make a physical system/machine where I could see the actual working of the neural network and its interface with an electronics/mechanical system. To make POC for selective spraying using NN application with available resources, I dismantled my RO water filter and used parts like pump, tank, pipes, and connectors, as well as some additional other parts that I got online. Please refer below to a list, with links to purchase:</p><ol><li><a href="https://www.raspberrypi.org/products/">Raspberry PI 3B+ model</a></li><li><a href="https://uk.rs-online.com/web/p/video-modules/9132664/?sra=pmpn">Camera</a></li><li><a href="https://robu.in/product/8-channel-isolated-5v-10a-relay-module-opto-coupler-for-arduino-pic-avr-dsp-arm/">Relay</a></li><li><a href="https://www.amazon.in/gp/product/B00ZYFX6A2/ref=oh_aui_detailpage_o01_s00?ie=UTF8&amp;psc=1">Jumper wire</a></li><li><a href="https://www.amazon.in/gp/product/B019C58XSY/ref=oh_aui_detailpage_o03_s00?ie=UTF8&amp;psc=1">Nozzle</a></li><li><a href="https://www.amazon.in/gp/product/B01CCOTCHI/ref=oh_aui_detailpage_o04_s01?ie=UTF8&amp;psc=1">Solenoid Valve</a></li></ol><p>Throughout this program I learned a lot about new technologies in the world of AI. I also explored various methods to optimise networks, as well as interface systems and their implementation on real-life products. For every projects one build, the final result is what matters, so regarding what I achieved with my exercise, I can say that with a bit of fine tuning, we can reduce waste of pesticide/herbicide spray by 80%! This is good news for farmers, as it saves money that would otherwise have to be spent on plant protection, and also it helps to reduce pollution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b712099b36be" width="1" height="1" alt=""><hr><p><a href="https://medium.com/udacity/self-driving-car-engineer-nanodegree-program-at-udacity-b712099b36be">Completing the Self-Driving Car Engineer Nanodegree Program at Udacity, and testing my skills with…</a> was originally published in <a href="https://medium.com/udacity">Udacity Inc</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>