AGROTREND
A Deep Learning + Time Series Model for Farmers This project combines plant disease detection (via CNN) with market price forecasting (via LSTM + Govt of India mandi API). Farmers can upload a crop leaf image, and the system will: ✅ Detect if the crop is healthy/diseased. ✅ Assign a health score to adjust crop price. ✅ Fetch real mandi prices from the official Govt API. ✅ Predict the price for which the farmer can sell his crop, given the trends.
🚀 Features CNN (MobileNetV2) for leaf disease classification (38 crop classes). Health Score Integration → prices adjusted by crop condition. Mandi API Integration (data.gov.in) → fetches real commodity price data. LSTM Forecasting → predicts price trends over the next 7 days. Trend Detection → Rising 📈, Falling 📉, or Stable ➖ markets. Location-based Filtering → choose mandi prices by state.
🛠️ Tech Stack Python 3.12+ TensorFlow / Keras (CNN + LSTM) scikit-learn (scaling + preprocessing) pandas, numpy (data wrangling) Matplotlib (visualization, optional) Govt of India Data API (mandi prices)