BeeGuardian

BeeGuard - AI-Powered Bee Health Monitoring System

Live Demo: https://elcago.github.io/BeeGuardian/

Overview

BeeGuardian is an integrated beekeeping management platform that combines AI-powered health analysis with localized resource matching, weather-based recommendations, and comprehensive education - making advanced beekeeping technology accessible to beekeepers of all experience levels.

The system analyzes visual and audio signals using a multimodal neural network to detect hive health issues with 92.6% accuracy on 1,639+ samples, then provides actionable guidance including local suppliers, treatment timing based on weather conditions, and educational resources.

Project Structure

BeeGuardian/
├── index.html              # Frontend web application
├── model_server.py         # Backend Flask API server
├── requirements.txt        # Python dependencies
├── README.md              # This file
└── bee_health_final_model.h5  # Trained ML model

Features

Fully Functional (Web Demo)

Backend Required (ML Analysis)

Setup Instructions

Frontend Only (Quick Start)

  1. Visit the live site: https://elcago.github.io/BeeGuardian/
  2. All features work except ML analysis (requires backend)

Full System with Backend

Prerequisites:

Step 1: Clone the repository git clone https://github.com/elcago/BeeGuardian.git cd BeeGuardian

Step 2: Install Python dependencies pip install -r requirements.txt

Step 3: Add the model file Place bee_health_final_model.h5 in the project root directory.

Step 4: Run the backend server python model_server.py

You should see: Loading models… Model loaded successfully! Starting BeeGuardian server on http://localhost:5001

Step 5: Serve the frontend (in a new terminal) python3 -m http.server 8000

Step 6: Open in browser Navigate to http://localhost:8000

API Endpoints

The backend provides several REST API endpoints:

Model Details

Architecture: Cross-Attention Multimodal Neural Network (CAMNN)

Performance:

Input formats:

Technologies Used

Frontend

Backend

Data Sources

Project Background

This application addresses the critical issue of declining bee populations (40% annual colony losses) by providing beekeepers with AI-powered diagnostic tools, practical local resources, and evidence-based educational content.

For Users

Quick Demo

  1. Visit the live site to see working features: https://elcago.github.io/BeeGuardian/
  2. Watch the demonstration video showing ML analysis in action
  3. View source code directly on GitHub

Running Backend Locally

While the backend can be run locally following the setup instructions above, the frontend demo showcases the complete user interface and integration design. The ML model file is not included in the repository due to size constraints (150MB+).

Technical Highlights

License

MIT License - See LICENSE file for details

Acknowledgments

Contact

For questions about the model or demo access, please open an issue on GitHub.