Giter Site home page Giter Site logo

riotonzuk / cropbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sagekhanuja/cropbot

1.0 0.0 0.0 1.44 MB

API: https://github.com/sagek21/CropBotApi || INSTRUCTIONS: https://docs.google.com/document/d/1eBbbZMfbLueC5wJ6-OG92vWIda-PyUdOaB2Brr3-Reg/edit?usp=sharing

Python 11.25% Swift 88.47% Ruby 0.29%

cropbot's Introduction

CropBot: Empowering Low-Income Farmers with AI

By Nikolas Ioannou, Rinav Kasthuri, and Sage Khanuja

Overview

CropBot is a mobile application that allows farmers across the globe to more smartly utilize their fields. This smarter utilization is facilitated through a voice assistant which asks the farmer relevant questions about the state of his or her field to gauge prospective betterments and then implement them.

Inspiration

Most of our team comes from India. We’d witnessed the robbing of numerous farmers’ livelihoods due to preying middlemen, landlords, or simply a lack of relevant knowledge. We were surprised to find that there were no existing apps that focused on increasing accessibility of this knowledge for impoverished farmers. Thus, it became clear to us that there’d be prominent utility for an app that could combat crop diseases, predict shock events such as droughts or floods, and provide useful information like what the best crop would be to grow based on the land’s geographical features. Moreover, this presented our team with an opportunity and a challenge—to utilize our machine learning and app development skill sets to better the lives of millions.

Functional Framework

To explain our app's functioning on a technical level, we will use an example of a farmer who thinks his crops have some fungus. The farmer first explains his problem to CropBot, who then interprets the message using NLP. In this particular case, CropBot will assess the farmer's message as a "Crop Disease intent" message. CropBot will then ask the farmer to take a picture of the crop using the app. CropBot will then resize the image and feed it to the app's relevant Keras model. The model will output a softmax vector which will then be appropriately categorized and returned to the API, which finally displays the relevant disease and gives suggestions for what the farmer could do next.

Methods

The app currently features crop disease and weed detection and best crop, crop price, and drought prediction.

This section will be split into three subsections to delineate the three distinct TF 2.0 models used to produce the aforementioned features:

  1. Crop Disease and Weed Detection
  2. Best Crop and Crop Price Prediction
  3. Drought Prediction

1. Crop Disease and Weed Detection

Model Structure - CDWD

(A novel CNN architecture designed specifically for this app)

The N-long softmax vector (where N is the number of classifiable crop diseases or weeds) of the model are sent to a Google API which then appropriately categorizes the outputs into the relevant disease and displays it.

2. Best Crop and Crop Price Prediction

Model Structure - BCP

(A DNN for the Best Crop predictor and a LSTM-based net for the Crop Price predictor)

For the Best Crop Predictor, an N-long softmax vector (where N is the number of classifiable crops) is utilized by the aforementioned Google API to produce the relevant output. In the case of the Crop Price predictor, a LSTM-based network predicts the price of a crop on the next day based on the previous three days' prices.

Impact

Our primary goal with CropBot is to help the impoverished and illiterate farmers who are being left to starve when droughts, storms, and floods, ravenous landlords or relatively richer farmers simply discard their livelihoods. Using CropBot, these farmers can significantly improve their situations by not only learning more on the field, but also by learning more about the field itself. Additionally, we have implemented our application through both text and voice to accommodate the desponding illiteracy that still unfortunately prevails in today’s world. In its ideal form, the app could potentially reduce the disparity between the yields of rich and poor farmers from 214% to a miniscule 5% (Restuccia et al., 2017).

cropbot's People

Contributors

riotonzuk avatar sagekhanuja avatar nikolasgioannou avatar

Stargazers

Pedro Gronda Garrigues avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.