CoolFace
Apppublic

Coralguard/Corals2

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
App README

๐Ÿชธ Coral Health Analysis System

An AI-powered system for coral species classification and health assessment using deep learning and color analysis.

๐ŸŽฏ Features

1. Coral Species Classification

  • โ€”Uses EfficientNet-B0 CNN model
  • โ€”Classifies into 4 coral types:
  • โ€”๐Ÿชจ Boulder Coral
  • โ€”๐ŸŒฟ Branched Coral
  • โ€”๐Ÿฝ๏ธ Plate Coral
  • โ€”๐ŸŒŠ Soft Coral
  • โ€”Displays confidence scores for each class

2. Health Assessment

  • โ€”CoralWatch color-based health scoring
  • โ€”Analyzes both dark and light color patches
  • โ€”Provides health status:
  • โ€”โœ… Healthy: Average score > 3
  • โ€”โš ๏ธ Stressed/Bleached: Average score โ‰ค 3

3. Advanced Segmentation

  • โ€”Removes water, sand, and background
  • โ€”Isolates coral regions for accurate analysis
  • โ€”Multi-strategy preprocessing

4. Visual Overlays

  • โ€”Color-coded health visualization
  • โ€”Segmentation masks
  • โ€”Confidence charts

๐Ÿš€ How to Use

  1. 1.Upload a coral image (JPG, PNG)
  2. 2.Click "Analyze Coral"
  3. 3.View results:
  4. 4.Species classification
  5. 5.Health status
  6. 6.Color analysis
  7. 7.Visual overlays

๐Ÿ”ฌ Technology Stack

  • โ€”Deep Learning: PyTorch, EfficientNet-B0
  • โ€”Computer Vision: OpenCV, scikit-learn
  • โ€”Interface: Gradio
  • โ€”Color Analysis: CoralWatch methodology

๐Ÿ“Š Model Details

  • โ€”Architecture: EfficientNet-B0
  • โ€”Input Size: 224x224
  • โ€”Training: ImageNet pretrained + fine-tuned on coral dataset
  • โ€”Classes: 4 coral species

๐ŸŽจ Health Scoring

Based on CoralWatch color reference chart:

  • โ€”Score 1-2: Severely bleached (lightest)
  • โ€”Score 3: Moderately stressed
  • โ€”Score 4-6: Healthy (darkest)

๐Ÿ“ Citation

If you use this system in your research, please cite:

Coral Health Analysis System
Powered by EfficientNet-B0 and CoralWatch methodology

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  • โ€”Report issues
  • โ€”Suggest improvements
  • โ€”Add new features

๐Ÿ“„ License

MIT License


Built with โค๏ธ for coral reef conservation