Skip to content

iblamesrix/SmartSoilAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฑ SmartSoilAI

An AI-powered predictive soil analysis and smart fertilizer recommendation system built using Machine Learning, Flask, and Scikit-learn.

SmartSoilAI helps analyze soil parameters, predict soil health conditions, and recommend suitable fertilizers for improving agricultural productivity and crop sustainability.


๐Ÿš€ Features

  • ๐ŸŒพ Soil health prediction using Machine Learning
  • ๐Ÿงช Smart fertilizer recommendation system
  • ๐Ÿ“Š Interactive dashboard interface
  • ๐Ÿ—‚ Soil records database management
  • ๐Ÿค– Multiple ML model implementation
  • ๐Ÿ“ˆ Prediction accuracy comparison
  • ๐ŸŒ Agriculture-focused AI solution

๐Ÿ›  Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap

Backend

  • Python
  • Flask

Machine Learning

  • Scikit-learn
  • Pandas
  • NumPy

Database

  • SQLite

๐Ÿง  Machine Learning Models Used

  • Random Forest Classifier
  • Bagging Classifier
  • Decision Tree Classifier

๐Ÿ“‚ Project Structure

SmartSoilAI/
โ”‚
โ”œโ”€โ”€ media/
โ”œโ”€โ”€ user_management/
โ”œโ”€โ”€ templates/
โ”œโ”€โ”€ static/
โ”‚
โ”œโ”€โ”€ data_cleaning.ipynb
โ”œโ”€โ”€ feature_engineering.ipynb
โ”œโ”€โ”€ random_forest_training.ipynb
โ”œโ”€โ”€ bagging_model_training.ipynb
โ”‚
โ”œโ”€โ”€ soil_health.csv
โ”œโ”€โ”€ soil.pkl
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿ“ธ Screenshots

Screenshot 2026-04-06 192739 Screenshot 2026-04-06 192413 Screenshot 2026-04-06 192320 Screenshot 2026-04-06 192237 Screenshot 2026-04-06 192104 Screenshot 2026-04-06 223323

โš™๏ธ Installation

1๏ธโƒฃ Clone the Repository

git clone https://github.com/iblamesrix/SmartSoilAI.git

2๏ธโƒฃ Navigate to Project Folder

cd SmartSoilAI

3๏ธโƒฃ Create Virtual Environment

python -m venv venv

4๏ธโƒฃ Activate Environment

Windows

venv\Scripts\activate

Linux/Mac

source venv/bin/activate

5๏ธโƒฃ Install Dependencies

pip install -r requirements.txt

6๏ธโƒฃ Run the Application

python app.py

๐Ÿ“Š Input Parameters

The system analyzes multiple soil parameters including:

  • Soil pH
  • Organic Carbon
  • Electrical Conductivity
  • Soil Moisture
  • Temperature
  • Humidity
  • Bulk Density
  • Biochar Application Rate

๐Ÿ“ˆ Model Performance

Model Accuracy
Random Forest 94%
Bagging Classifier 91%
Decision Tree 88%

๐ŸŒ Real World Applications

  • Smart farming solutions
  • Precision agriculture
  • Soil monitoring systems
  • Fertilizer optimization
  • Agricultural research

๐Ÿ”ฎ Future Enhancements

  • Deep Learning integration
  • Real-time IoT sensor support
  • Satellite soil analysis
  • Mobile application
  • Cloud deployment
  • Weather API integration

๐Ÿง‘โ€๐Ÿ’ป Author

Sri Kanth

Machine Learning Enthusiast | AI Developer | Full Stack python devloper


๐Ÿ“œ License

This project is licensed under the MIT License.


About

AI-powered soil analysis and smart fertilizer recommendation platform built with Python, Flask, and Machine Learning.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors