https://github.com/pavanmahi/agriintel
AI-powered soil classifier that predicts soil type from images using CNN and provides tailored agricultural and industrial recommendations. Built with Flask and deployed on Hugging Face Spaces.
https://github.com/pavanmahi/agriintel
cnn flask machine-learning nodejs py reactjs
Last synced: 3 months ago
JSON representation
AI-powered soil classifier that predicts soil type from images using CNN and provides tailored agricultural and industrial recommendations. Built with Flask and deployed on Hugging Face Spaces.
- Host: GitHub
- URL: https://github.com/pavanmahi/agriintel
- Owner: pavanmahi
- Created: 2025-04-30T14:13:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-27T10:46:30.000Z (10 months ago)
- Last Synced: 2025-08-27T19:59:03.993Z (10 months ago)
- Topics: cnn, flask, machine-learning, nodejs, py, reactjs
- Language: JavaScript
- Homepage: https://agriintel.onrender.com
- Size: 233 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฑ Agri Intel โ Soil Classifier
**Agri Intel** is an intelligent, web-based soil classification system that uses deep learning to identify soil types from images.
This project empowers farmers, agronomists, and agricultural planners by providing precise insights into soil characteristics along with tailored agricultural and industrial recommendations.
๐ **Live Demo:** [Agri Intel Soil Classifier](https://agriintel.onrender.com)
---
## ๐ What It Does
- ๐ธ Accepts a soil image uploaded by the user.
- ๐ง Utilizes a trained **Convolutional Neural Network (CNN)** to classify the image into one of several soil types: **Alluvial**, **Black**, **Clay**, or **Red**.
- ๐ Returns **agricultural** and **industrial** usage recommendations based on the predicted soil type.
- ๐งโ๐พ Assists farmers in selecting the right crops and helps industries assess material suitability.
---
## ๐ Backend & Model Deployment
- The backend is built using **Flask**, which handles image requests from the frontend.
- The trained CNN model is hosted on **Hugging Face Spaces** for fast, scalable, and serverless predictions.
- The frontend connects to the Hugging Face API to send soil images, receive the predicted soil type, and dynamically render relevant insights.
- No complex setup or heavy backend server required โ it's cloud-based and efficient.
---
## ๐ง Model Highlights
- Developed using **TensorFlow** and **Keras**
- Trained on a curated dataset of soil images
- Optimized for lightweight deployment and near real-time prediction
- High classification accuracy on test samples
---
## ๐ฎ Future Scope
- ๐ Include more regional and micro-level soil types
- ๐งช Suggest fertilizers and irrigation patterns based on soil nutrients
- ๐บ๏ธ Integrate GIS or satellite imagery for wider coverage
- ๐ Add support for regional languages and offline access
---
## ๐ค Contributing
Contributions are welcome! If you have suggestions or want to enhance features, feel free to fork the repo and submit a pull request.
---
## ๐ Acknowledgments
- **TensorFlow & Keras** for model development
- **Hugging Face Spaces** for free and scalable model hosting
- **Farmers, soil scientists, and open datasets** that inspired this application