How bishti04062005/coralclear-ai works
CoralClear AI is a research-oriented coral-health classifier and Streamlit application. Its user workflow is image upload → per-model preprocessing and inference → threshold-based healthy/bleached predictions, optionally across seven models. The application also exposes research and external-validation results. Separately, the repository contains dataset preparation, model-training and image-enhancement experiments, evaluation, and statistical/reporting tools. Some of these research links are documented in the README but their full implementations were not sampled; those relationships are omitted or marked unverified.
Main entry points: inference.py Prediction inference · app.py Streamlit app · external_evaluation.py External evaluation · bootstrap_analysis.py Statistical analysis
Components 16
User application
- Streamlit app
ml/app/app.py - Dashboard results
ml/experiments
Inference and models
- Prediction inference
ml/app/inference.py - Model checkpoints
ml/models - Private HF models
Research workflow
- Coral image dataset
- Dataset pipeline
ml/src/data_pipeline.py - Model training
ml/src/train.py - Fine tuning
ml/src/fine_tune.py - Enhancement experiments
ml/src
Evaluation and reporting
- External evaluation
external_evaluation.py - Statistical analysis
bootstrap_analysis.py - Research figures
create_research_figures.py - Research tables
create_research_tables.py - Research report
ml/src/stage4_13_4_generate_research_report.py
Other components
- Image uploader
Connections 15
- Image uploader → Streamlit app: uploads image
README.md - Streamlit app → Prediction inference: requests prediction
ml/app/app.py - Prediction inference → Model checkpoints: loads checkpoint
README.md - Prediction inference → Private HF models: downloads checkpoint
ml/app/inference.py - Streamlit app → Dashboard results: reads results
ml/app/app.py - Coral image dataset → Dataset pipeline: loads images
ml/src/data_pipeline.py - Dataset pipeline → Model training: supplies datasets
- Model training → Fine tuning: extends baseline
- Enhancement experiments → Model training: tests configurations
README.md - Prediction inference → External evaluation: provides inference
external_evaluation.py - External evaluation → Statistical analysis: yields predictions
- External evaluation → Research figures: provides metrics
- Statistical analysis → Research tables: summarizes results
- Statistical analysis → Research report: informs report
- Dashboard results → Streamlit app: feeds dashboard
ml/app/app.py