Skip to content

Latest commit

 

History

History
197 lines (130 loc) · 8.95 KB

README.md

File metadata and controls

197 lines (130 loc) · 8.95 KB

AGRI INNOVATIVE

Older Agriculture Modern Agriculture

GitHub forks GitHub Repo stars GitHub contributors GPL License GitHub pull requests GitHub issues

📝 Description

  • In India, where the livelihoods of millions depend on agriculture, embracing cutting-edge computer science technologies is essential for fostering sustainable growth and prosperity. Our mission is straightforward yet significant: to increase farmer's profitability while streamlining farming processes through innovative software solutions.

  • At the core of our initiative lies the recognition of agriculture's fundamental role in driving economic advancement. By leveraging the latest developments in computer science, particularly in areas like Machine Learning and Deep Learning, we strive to revolutionize age-old farming practices.

demo

🗂️Project Structure

The project is organized into the following directories and files:

  • app: This folder contains all the static files,templates and backend code written in python (flask) that through which we have converted the raw code and models into a meaning full project.
  • Static: This folder includes static files used in the project, such as images, stylesheets and scripts.
  • images: This folder contains all the relevant images used in this project, such as those used in document preparation, presentation materials, and visual aids to enhance understanding.
  • Templates: The templates folder contains HTML templates used for rendering web pages.
  • app.py: This is the main application file that runs the project's web application.
  • Data: The data folder contains the data used in this project.
  • Notebooks: This folder contains Jupyter notebooks with code covering data exploration, model building, and evaluation.
  • Models: This folder houses a collection of trained machine learning models.
  • Requirements: This requirements text file contains all the required dependencies that we need to install to run the project.

The structure of project files will look like this :

Project Structure

Left Image

App Structure

Right Image

👨🏻‍💻Technologies Used

  • Front End: HTML, CSS, Java Script
  • Back End: Flask
  • Python Libraries : Numpy, Pandas, Matplotlib, Seaborn
  • ML and DL Libraries : Scikit-Learn, TensorFlow
  • Database: MySQL

⏳ Dataset

In this project to train the machine learning and Deep Learning models we have taken datasets from Kaggle.

1.Fertilizer Recommendation Dataset

This dataset contains essential parameters for fertilizer recommendation models, aiding in the optimization of crop yield and soil health. The dataset includes the following fields:

N: Ratio of Nitrogen content in soil

P: Ratio of Phosphorous content in soil

K: Ratio of Potassium content in soil

Temperature: Temperature in degrees Celsius

Humidity: Relative humidity in percentage

Moisture: Moisture level in percentage

Crop Type: Name of the crop

Soil Type: Type of the soil

Download the fertilizer Recommendation dataset for custom training here

2.Crop Recommendation Dataset

This dataset serves as a valuable resource for crop recommendation systems, aiding in the selection of optimal crops based on various soil and environmental factors. The dataset comprises the following essential fields:

N: Ratio of Nitrogen content in soil

P: Ratio of Phosphorous content in soil

K: Ratio of Potassium content in soil

Temperature: Temperature in degrees Celsius

Humidity: Relative humidity in percentage

pH: pH value of the soil

Rainfall: Rainfall in millimeters

Download the Crop Recommendation dataset for custom training here

3.Disease Identification Dataset

This dataset is recreated using offline augmentation from the original dataset. This dataset consists of about 87K rgb images of healthy and diseased crop leaves which is categorized into 38 different classes. The total dataset is divided into 80/20 ratio of training and validation set preserving the directory structure. A directory containing 33 test images is created for prediction purpose.

Download the Disease Identification dataset for custom training here

📒Notebooks

🛠️How to Install and Run this Project?

To get started with the project, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/usmanbvp/agri-innovative.git
  1. Install the project dependencies by running the following command:
pip install -r requirements.txt
  1. Explore the project's directories and files to become familiar with its structure.

  2. Create database agritest by visiting this url https://localhost/phpmyadmin/

Then in that database create three tables with the following details to store fertilizer recommendation, crop recommendation and disease_identification results related info.

Fertilizer Info

fertilizer_images

Crop Info

crop_images

diseasedetails

disease_details

After that,run the following code to upload the results related info into those tables:

fertilizer_images: run_this_code

crop_images: run_this_code

disease_details: run_this_code

  1. Finally execute the following command to run the project locally:
python app.py

6.After executing app.py, access the provided localhost URL to utilize the project directly in your web browser on your local machine.

http:https://127.0.0.1:5000/

▶️Demo of the Project

The AgriInnovative project website mainly consists of six pages. They are

  • Home
  • Dashboard
  • Services
  • News
  • Connect
  • Login and SignUp

Let's see the demo of the project.

demo

📄 License

This project is licensed under the GPL License - see the LICENSE file for details.

📝Feedback and Support

If you have any feedback, suggestions, or questions regarding the project, please create an issue in the repository or contact me at [email protected]. or LinkedIn