- Problem Statement ID
- Our Approach
- Project Structure
- System Architecture Design
- Live Demos
- Presentation
- Research and References
- Problem ArogyaKrishi Addresses and Solves
- Features
- Tech Stack Used
- Installation Steps
- Feasibility Analysis
- Potential Challenges & Risks
- Impact and Benefits
- Contribution Guidelines
- Contributors
- License
Theme - Agri&tech Background: Crop diseases can devastate yields leading to significant financial losses for farmers. Early detection and timely intervention are crucial for effective management. Description: Develop an AI-driven system that analyzes crop images and environmental data to predict potential disease outbreaks. This system will provide farmers with actionable insights and treatment recommendations to mitigate risks. Expected Solution: A mobile and web-based application that utilizes machine learning algorithms to identify crop diseases and suggest preventive measures and treatments based on real-time data.
1.) Divided the problem statement into chunks and pieces .
2.) begain the searching with the each segement in the research papaers , you can visit kaggle , and UCI Machine learning Datasets , for the references and datasets,
3.) Then for the inspiration purpose we have reviewed and looked several projects and repositories available on the github and internet , you can visit , these repositories , repo1 , and repo2 , repo3 .
4.) For the innovation and ideas , we have used claude.ai , perlexity , gpt , research papaers
5.) Determine what are the common Problem faced by the indian farmers and also researched about that for reference visit , here , and how we can automate and mitigate it with the help of the Tech and innovation to an optimum level , such thtat the farmers life will be easier,
6.) After we have then searched for some common agricultural practices followed and weather forecast analysis report in the past years, which will help us to analyse why the things have become more complex for the crops to survive in the extreme conditions you can visit for the data
7.) After all the informationa has exhausted we have then move towards the most crucial part which is user behaviour , becuase it is the only thing where our product will ipmact and also , we were aware of how seamlessly we can onboard our user will create an , visibility and viability and easily accessibility of our product . so thouroughly researched about , how familier the indian farmer behaviour is using tech , whether it is mobile application or it is and web application , we thaught every aspect in terms of the language barrier to UI complexity to the navigation e, every nity , greety is tackled so we couldn't miss out anything , for the same we have researched about the things here
8.) At last we have iterated on our approach to look out if any breaches our setback is there or not , if it is then we have to restart the things from scratch but there wasnt , after all these brainstorming with the team and other things we were ready to move to the POC stage with our idea.
9.) so thats all these was our approach for the problem statement .
Arogya_Krishi_MVP/
|
โ
โโโ app.py # Main application file
โโโ requirements.txt # List of dependencies
โโโ .env # Environment variables
โ
โโโ models/ # Directory for machine learning models
โ โโโ RandomForest.pkl # Crop recommendation model
โ โโโ DenseNet121v2_95.h5 # Soil type prediction model
โ โโโ SoilNet_93_86.h5 # SoilNet model
โ โโโ plant_disease_model.pth # (if applicable) Disease prediction model
โ
โโโ utils/ # Utility functions and classes
โ โโโ disease.py # Disease-related utilities
โ โโโ fertilizer.py # Fertilizer-related utilities
โ โโโ model.py # Model-related utilities (e.g., ResNet9)
โ
โโโ uploads/ # Directory for uploaded files
โ โโโ (user-uploaded images) # Images uploaded by users
โ
โโโ static/ # Static files (CSS, JS, images)
โ โโโ css/ # CSS files
โ โโโ js/ # JavaScript files
โ โโโ images/ # Images used in the application
โ
โโโโโ templates/ # HTML templates for rendering
โ โโโ index.html # Main page
โ โโโ signup.html # Signup page
โ โโโ login.html # Login page
โ โโโ dashboard.html # User dashboard
โ โโโ crop.html # Crop recommendation page
โ โโโ fertilizer.html # Fertilizer suggestion page
โ โโโ disease.html # Disease prediction page
โ โโโ disease-result.html # Result page for disease prediction
โ โโโ crop-result.html # Result page for crop prediction
โ โโโ try_again.html # Error handling page
โ
โ
โโโโโ.gitattributes
โ
โโโโโ.gitignore
โ
โโโโโREADME.md
โ
โโโโโcrop-disease-detection.ipynb
โ
โโโโโconfig.py
โ
โ
โโโโโcrop_prediction_based_on_numeric_value.ipynb
โ
โ
โโโโโnotebooks/
โ
โโโโโ instance/
โ โโโโโ farmers_database.db
โ
โ
โ-----images/
โ
โโโโโ data/
โ ...csv files
โ
โโโโโ Data_Preprocessed/
.....cleaned_data
Screen.Recording.2024-08-23.014535.mp4
Explanation youtube Video :- Experience ArogyaKrishi in action Watch the Demo (Web APP Demo)
WhatsApp.Video.2024-11-14.at.17.33.53_69d24e35.mp4
see PPT Presentation Here by TEAM ANANT
-
Development of Machine Learning Methods for Accurate Prediction of Plant Disease Resistance (2024): https://www.sciencedirect.com/science/article/pii/S2095809924002431
-
Chinese cabbage leaf disease prediction and classification using Naive Bayes VGG-19 convolution deep neural network (2024) : https://ieeexplore.ieee.org/document/10407076
-
Image-based crop disease detection with federated learning (2023): https://www.nature.com/articles/s41598-023-46218-5
-
Deep learning-based crop disease prediction with web application (2023) : https://www.sciencedirect.com/science/article/pii/S2666154323002715
-
Seasonal Crops Disease Prediction and Classification Using Deep Convolutional Encoder Network (2019): https://link.springer.com/article/10.1007/s00034-019-01041-0 Cropin app link: https://www.cropin.com/farming-apps#:~:text=Cropin%20Grow%20is%20a%20robust, stakeholders%20in%20the%20agri%2Decosystem.
Arogya Krishi is an agricultural application that addresses critical challenges faced by farmers, including crop disease detection, optimal crop recommendations, and soil health assessment. It provides tailored fertilizer suggestions and integrates real-time weather data to help farmers make informed decisions. With a user-friendly interface and community engagement features, Arogya Krishi empowers farmers to enhance productivity and sustainability in their agricultural practices.
Arogya Krishi is a comprehensive agricultural application designed to address various challenges faced by farmers and agricultural stakeholders. Below are the key problems it addresses and the solutions it provides:
1. Crop Disease Detection:
Problem: Farmers often struggle to identify diseases affecting their crops, leading to reduced yields and economic losses. Early detection is crucial for effective management and treatment.
Solution: Arogya Krishi utilizes advanced image classification techniques powered by machine learning to analyze images of crops. The application can accurately identify diseases and provide detailed information about the disease, enabling farmers to take timely action.
2. Crop Recommendation:
Problem: Farmers may lack knowledge about which crops are best suited for their specific soil types and climatic conditions, leading to poor crop choices and low productivity.
Solution: The application offers crop recommendation features based on soil analysis and environmental factors. By analyzing soil characteristics and local climate data, Arogya Krishi suggests optimal crops that can thrive in the given conditions, enhancing productivity and profitability.
3.) Fertilizer Recommendations:
Problem: Farmers often face challenges in determining the right type and amount of fertilizers to use, which can lead to overuse or underuse, affecting crop health and the environment.
Solution: The application generates tailored fertilizer recommendations based on the specific crop being cultivated, soil health, and environmental conditions. This helps farmers optimize their fertilizer usage, improving crop yields while minimizing environmental impact.
4. Weather Data Integration:
Problem: Farmers need access to real-time weather data to make informed decisions about planting, irrigation, and harvesting. Lack of timely weather information can lead to crop losses.
Solution: Arogya Krishi integrates weather data from reliable sources, providing farmers with current weather conditions, forecasts, and alerts. This information helps farmers plan their activities more effectively, reducing risks associated with adverse weather.
6. User-Friendly Interface:
Problem: Many agricultural technologies are complex and difficult for farmers to use, especially those with limited technical knowledge.
Solution: Arogya Krishi is designed with a user-friendly interface that simplifies navigation and usage. It provides clear instructions and visual aids, making it accessible to farmers of all backgrounds.
7. Community and Knowledge Sharing:
Problem: Farmers often work in isolation and may lack access to shared knowledge and experiences from their peers.
Solution: The application can facilitate community engagement by allowing users to share their experiences, tips, and best practices. This fosters a sense of community and encourages collaborative learning among farmers.
Here're some of the project's best features:
- Multi Crop Disease Prediction .
- Fertilizer Recommendation
- Realtime Crop Disease Analysis Dashboard
- Soil Type Classification
- Farmer Data Tracking
- Weather Analysis's and Report
- Multilingual Support
- Google IO translate in your language
- Chat bot support assistance multilingual's
- Farmer Management
- Fertilizer Recommendations Based On Soil
Technologies used in the project:
- Flask
- Model development Pipeline
- Machine Learning
- Python
- transformers
- deep learning
- neural networks
- pretrained Models
- HTML
- CSS
- Javascript
- SCSS
- SQL-alchemy
1. Clone the Project
git clone https://github.com/Blacksujit/ArogyaKrishi.git
2. Install Required Dependencies:
pip install requirements.txt
3. Train The Models
run crop_prediction_based_on_numerical_value.ipynb
4. save the Pretrained Models
model/
resnet_mode_90.pkl
......pkl
etc
5. create the dotenv File at root of Project
.env
6. Add Your API Key
OPEN_WEATHER_APIKEY=YOUR_WEATHER_API_KEY
HUGGINGFACE_LOGIN_TOKEN=YOUR_HUGGING_FACE_TOKEN
7. Run the Project
python app.py
Before you begin, ensure you have the following installed on your machine:
Clone the project repository to your local machine:
git clone https://github.com/Blacksujit/ArogyaKrishi.git
Create a `.env` file in the root directory of the project and add your API keys:
OPEN_WEATHER_APIKEY=YOUR_WEATHER_API_KEY
HUGGINGFACE_LOGIN_TOKEN=YOUR_HUGGING_FACE_TOKEN
Use Docker Compose to build and run the application:
docker-compose up --build
- Build the Docker image defined in the Dockerfile
.
- Start the web application and the database service defined in docker-compose.yml
.
Once the containers are running, you can access the application in your web browser at:
To stop the application, press CTRL + C
in the terminal where the Docker containers are running. You can also run:
docker-compose down
YOUR_WEATHER_API_KEY and YOUR_HUGGING_FACE_TOKEN with your actual API keys in the .env file.
Ensure that the requirements.txt file is present in your project directory with all necessary dependencies listed.
โข High Feasibility: Advanced ML models and cloud deployment enable real-time disease prediction.
โข Scalability: Supports multilingual features
โข Personalized Alerts: Farmers get alerts based on crop type, region, and disease severity.
โข Data Quality: Poor data leads to inaccurate predictions
โข Accuracy of AI Models: Risk of false positives and false negatives cases.
โข Environmental Variability: Presence of Diverse conditions. Viability Analysis:
โข Early Detection: Detects diseases early, lowering treatment costs and preventing spread.
โข Economic Benefits: Lowers disease management costs, increasing productivity.
โข Environmental Impact: Optimizes pesticide/fertilizer use, promoting sustainability.
โข Data-Driven Decisions: Provides real-time insights for efficient farm management.
โข Resilience: Enhances farming practices and reduces risks of disease outbreaks.
โข Uniqueness:
-
Identify crop diseases
-
Predict disease outbreaks
-
Recommend preventive measure
-
Optimize resource allocation
-
Enhance agricultural productivity
-
Real-time performance
-
Userfriendliness
-
Scalability
We welcome contributions! please create an seperate branch and make your chnages and raise and PR if it matches the Project requirements and follow all the guidelines we will happy to merge it .
-
Fork the repository.
-
Create your feature branch:
git checkout -b feature/YourFeature
-
Commit your changes:
git commit -m 'Add some feature'
-
Push changes to the local branch:
git push origin feature/YourFeature
-
Open a pull request.
1.) Abhishek Kute
2.) Sanskar Awati
3.) Manas Kotian
4.) Minal
5.) Tanushri
This project is licensed under the MIT.