Skip to content

gdsc-konkuk/24-25-proj-RtoG-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

82 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ RtoG: Wildfire Fast Detection Server (Red to Green)

This repository powers the RtoG (Red to Green) server β€” an AI-driven system for fast and accurate wildfire detection. It uses YOLOv8 for real-time object detection and integrates Gemini Vision API for verification, enabling early fire detection from video footage like CCTV or drone sources.

From red (wildfire) to green (safe forest) β€” detect fast, act faster.


πŸš€ Project Structure (Mono Repository)

This project has been refactored into a monorepo with independent virtual environments:

RtoG/
β”œβ”€β”€ server/           # Web server (FastAPI)
β”‚   β”œβ”€β”€ venv/             # App server virtual environment
β”‚   └── requirements.txt  # App server dependencies
β”‚
β”œβ”€β”€ preprocessing/        # Image preprocessing tools
β”‚   β”œβ”€β”€ venv/             # Preprocessing virtual environment
β”‚   └── requirements.txt  # Preprocessing dependencies
β”‚
β”œβ”€β”€ model-training/       # Model training code
β”‚   β”œβ”€β”€ venv/             # Model training virtual environment
β”‚   └── requirements.txt  # Model training dependencies
β”‚
β”œβ”€β”€ Other project files...

πŸ’» Virtual Environment Setup

Each project uses an independent virtual environment to prevent dependency conflicts:

server

cd server
python3 -m venv venv
source venv/bin/activate  # Linux/Mac
pip install -r requirements.txt

preprocessing

cd preprocessing
python3 -m venv venv
source venv/bin/activate  # Linux/Mac
pip install -r requirements.txt

model-training

cd model-training
python3 -m venv venv
source venv/bin/activate  # Linux/Mac
pip install -r requirements.txt

🧠 Model Class Mapping

ID Class Label
0 흑색연기 (Black Smoke)
1 백색/νšŒμƒ‰μ—°κΈ° (White/Grey Smoke)
2 ν™”μ—Ό (Flame)
3 ꡬ름 (Cloud)
4 μ•ˆκ°œ/연무 (Fog/Mist)
5 κ΅΄λšμ—°κΈ° (Chimney Smoke)

About

🌲 From Red to Green β€” detect early, act fast.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •