Logo Lanfrica

Baraka-Malila/Crop-Recommendation-with-ML

Domain:

agriculture

Record type:

software
Creator:
Bar
Host:
# Smart Crop Recommendation System ## Overview The Smart Crop Recommendation System is a modern, user-friendly web application designed to help farmers and agricultural professionals identify the best crops to plant based on environmental factors and soil conditions. This system leverages machine learning techniques to analyze soil parameters (N, P, K), environmental conditions (temperature, humidity, rainfall), and pH levels to provide accurate crop recommendations. ## ✨ Features - **Modern UI/UX**: Clean, responsive interface with gradient backgrounds and smooth animations - **Real-time Validation**: Input validation with visual feedback and range checking - **Smart Recommendations**: ML-powered crop suggestions with emojis and detailed feedback - **Mobile-Friendly**: Fully responsive design that works on all devices - **Interactive Elements**: Loading states, hover effects, and smooth transitions - **Error Handling**: Comprehensive error handling with user-friendly messages ## 🚀 Recent Updates (2025) - **Complete UI Overhaul**: Modern gradient design with glassmorphism effects - **Enhanced User Experience**: Loading animations, form validation, and interactive feedback - **Improved Accessibility**: Better contrast, clear icons, and intuitive navigation - **Mobile Optimization**: Responsive grid layout for all screen sizes - **Better Error Handling**: Detailed validation messages and range checking - **Visual Enhancements**: Font Awesome icons, custom animations, and modern typography ## Project Structure - `app.py`: Flask web application with enhanced error handling and validation - `crops.ipynb`: Jupyter Notebook for model development and analysis - `Crop_recommendation.csv`: Training dataset with crop and environmental data - `model.pkl`: Pre-trained machine learning model for predictions - `static/`: Static assets (CSS, images) - `style.css`: Custom styles and animations - `templates/`: HTML templates - `index.html`: Modern responsive interface ## How …

Languages