A comprehensive agriculture tool that provides intelligent recommendations for plant care, watering schedules, and crop selection based on environmental conditions and soil analysis. Available as a web application and iOS companion app.

- Calculates optimal watering schedules based on:
- Soil type and composition
- Local weather conditions
- Plant-specific requirements
- Container size and type
- Supports both pot and yard area calculations
- Generates detailed watering plans with frequency and amount recommendations
- Provides crop suggestions based on:
- Local climate data
- Soil conditions
- Temperature and humidity
- Available growing space
- Supports both optimal and selective modes
- Includes detailed growing requirements for each crop
- Plant identification using PlantNet API
- Disease detection using YOLO and ResNet-34 models
- Growth stage classification
- Detailed plant health analysis
- Treatment recommendations for identified issues
- Python 3.x
- Flask web framework
- Gunicorn WSGI server
- Key Dependencies:
ultralytics(YOLO)torchandtorchvisionrasteriofor geospatial datapandasfor data manipulationrequestsfor API callsgunicornfor production deployment
- Python 3.x
- pip (Python package manager)
- Virtual environment (recommended)
- Required API keys:
- OpenWeather API
- PlantNet API
- Visual Crossing API
-
Download the Repository from releases (don't clone the repo, it doesn't contain all the files), unzip, and navigate to the folder
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
export OPENWEATHER_API_KEY="your_key" export PLANTNET_API_KEY="your_key" export VISUAL_CROSSING_API_KEY="your_key"
-
Run the development server:
python server.py
POST /api/watering- Input: Location, soil type, container details
- Output: Watering schedule and recommendations
POST /api/crop_recommendation- Input: Location, soil conditions, preferences
- Output: Crop recommendations with details
POST /api/plant_analysis- Input: Plant image
- Output: Plant identification and health analysis
- API key management
- Secure file uploads
- Input validation
- Session management
- HTTPS support
- Location data privacy
- Secure image handling
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository or contact the maintainers.
- PlantNet API for plant identification
- OpenWeather API for weather data
- Visual Crossing API for historical climate data
- YOLO and ResNet-34 for image analysis