Skip to content

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.

Notifications You must be signed in to change notification settings

pavanmahi/AgriIntel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฑ 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

๐ŸŒ 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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published