<?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 Priyankan Kirupaharan on Medium]]></title>
        <description><![CDATA[Stories by Priyankan Kirupaharan on Medium]]></description>
        <link>https://medium.com/@priyankankirupaharan?source=rss-5747c9353891------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tb9q58ZGE8MFrtbf.</url>
            <title>Stories by Priyankan Kirupaharan on Medium</title>
            <link>https://medium.com/@priyankankirupaharan?source=rss-5747c9353891------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:36:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@priyankankirupaharan/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[Image Classification to Identify Vegetables and Fruits]]></title>
            <link>https://medium.com/@priyankankirupaharan/image-classification-to-identify-vegetables-and-fruits-c5361453769c?source=rss-5747c9353891------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5361453769c</guid>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Priyankan Kirupaharan]]></dc:creator>
            <pubDate>Thu, 01 Aug 2019 04:38:20 GMT</pubDate>
            <atom:updated>2019-08-01T04:38:20.576Z</atom:updated>
            <content:encoded><![CDATA[<p>Machine Learning techniques can be categorized into 4 categories, supervised learning, unsupervised learning, semi-supervised learning and reinforcement learning. Supervised learning is, model trained using labeled dataset. No of classes is fixed and result is compared with given trained classes. For example, predicting whether a Tennis player winning a game with given conditions like weather, court condition, play time etc. Unsupervised learning is, model trained with unlabeled data. For example, suggesting relevant advertisement by studying user’s patterns and behaviors. Semi-supervised learning is in between supervised and unsupervised learning. Example for Reinforcement learning can be finding best possible path in a puzzle. Supervised learning need labeled data, and creating a labeled data need human effort and plenty of time, semi-supervised technique is used with labeled and unlabeled dataset. But now a days many have created useful dataset and published on internet so that we can train and create our own models (Etc: Kaggle).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*XV0QjOo7fdrOyLA2ON9uUA.jpeg" /></figure><p>Computer vision is one of the major component of Deep Learning. There are few techniques used in Computer Vision. Let’s discuss about Image Classification and Object Detection. Image classification comes under supervised learning, where we know the number of classes. Predicting what is the class from the <strong>given set of classes</strong> is image classification. But object detection is predicting the class from given set of classed and <strong>find the location</strong> of the object in the image. Object detection need labeled data and image position in each training dataset. Creating this dataset is a huge tedious task.</p><p>In this article lets discuss about image classification to predict given set of vegetables and fruits. I have created training dataset of 41 classes containing vegetables and fruits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*bXSwwSH_bDYQcfPV0vsaIA.jpeg" /></figure><p>To create this image dataset, I have used a tool called “Wayixia”, which downloads complete image set in google image search page by just one click!!!!. Now training image set is ready, and we need to create a model to predict. We don’t need to build the model the from scratch, we can used trained freezed models from Tensorflow according to our requirement. By executing retrain.py script, training images will be trained on top of the existing model. Let’s Test!!!</p><p>I have created a rest endpoint which accepts image and responds the predicted results with the percentage. We can integrate this API to a mobile app and make this model trained continuously with user feedbacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*3FD8IZBDnSYm3sepeL0CoQ.png" /></figure><p>Nothing in this world would be a perfect trained model. But we can continuously train a model through this approach and create somewhat perfect model for detecting vegetables and fruits.</p><p>All these setups available in docker containers. Simply you can download the dataset, pull the docker image, train, test and finally keep training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*-gB8p6-0ypW4C7cqxvjKqg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5361453769c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>