Watch as I click this degraded farmland in Kenya. In seconds, our AI analyzes satellite data and provides: vegetation health score, erosion risks, water management tips, and the top regenerative action like 'plant drought-resistant cover crops
# 🌱 AI Land Health Scout
AI Land Health Scout is a web-based application that uses **Google Gemini AI** and **remote sensing data** to analyze global land health, vegetation conditions, and soil erosion risks through an interactive map interface.
---
## 🎮 FEATURES
### 🌍 Core Features
1. **Interactive Global Map**
- Multiple base layers (Street, Satellite, Terrain)
- Country borders and labels
- Click-to-analyze functionality for any location
2. **🤖 AI-Powered Land Analysis**
- Real-time land health assessment powered by **Google Gemini AI**
- Vegetation health scoring using **NDVI (Normalized Difference Vegetation Index)**
- Soil erosion and degradation risk analysis
- Water body and resource assessment for sustainability
3. **📍 Smart Location Detection**
- Automatic country recognition via geolocation
- Reverse geocoding for precise area names
- Provides regional environmental insights
4. **📊 Comprehensive Reporting**
- Automatically generates **structured land health reports**
- Offers **country-specific recommendations**
- One-click **export to PDF or CSV**
- Includes **actionable regeneration and sustainability plans**
---
### ⚙️ Advanced Features
- 🎲 Random country analysis (for demo/testing)
- 📡 “Use My Location” geolocation functionality
- 🗺️ Multiple map layer toggling
- 📱 Fully mobile-responsive UI
- 🔄 Offline fallback for cached analysis
---
## 🏃 GETTING STARTED
### ✅ Prerequisites
Before using this project, ensure you have:
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- Stable internet connection (for AI API requests)
- **Google Gemini API Key** (for full AI-based analysis)
---
### 💻 Installation & Setup
```bash
# 1. Clone the repository
git clone
github.com
# 2. Navigate into the project directory
cd ai-land-health-scout
# 3. Open the project in your browser
open index.html
# OR run a local server (Python example)
python -m http.server 8000
```
---
### 🧠 Usage
1. Open the app in yo …