glasseye-yolo-bfdd-cubit-v1 is a fine-tuned YOLOv8n model built for autonomous building façade defect detection within the GlassEye inspection pipeline.
It is trained on a combined dataset of real-world façade defect imagery from BFDD (Building Façade Defect Dataset) and CUBIT (Concrete Ultrasound / Building Inspection dataset), unified under a single binary defect class.
Model Summary
Base Architecture: YOLOv8n (yolov8n.pt, 3.2M parameters)
Evaluated strictly across three separate test sets using standard IoU thresholds (IoU = 0.50, confidence = 0.20, imgsz = 320):
1. BFDD Held-Out Test Benchmark (Primary Ground-Truth)
149 untouched images, 1,033 mask-derived ground truth boxes.
Model Checkpoint
mAP@50
mAP@50-95
Recall
Synthetic Baseline (glasseye-yolo-v1)
0.0131
0.0099
0.0165
BFDD-only (glasseye-yolo-real-bfdd-v1)
0.0940
0.0429
0.1413
BFDD + CUBIT (glasseye-yolo-bfdd-cubit-v1)
0.1512
0.0707
0.2014
Improvement: BFDD+CUBIT achieves +60.8% mAP@50, +64.8% mAP@50-95, and +42.5% Recall over the BFDD-only model on untouched held-out building façade images.
1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
34# Download model from Hugging Face5model_path = hf_hub_download(6 repo_id="sanjeevafk/glasseye-yolo-bfdd-cubit-v1",7 filename="best.pt"8)910# Load model11model = YOLO(model_path)1213# Predict on an image or video14results = model.predict(15 source="path/to/facade_image.jpg",16 conf=0.20,17 iou=0.45,18 imgsz=320,19 save=True20)2122for r in results:23for box in r.boxes:24print(f"Detected {model.names[int(box.cls)]} at {box.xyxy.tolist()} (conf: {float(box.conf):.3f})")
3. Ultralytics CLI
bash
1# Run detection directly2yolo predict model=best.pt source="https://example.com/facade.jpg"conf=0.20imgsz=320
Project Context
This model is integrated into GlassEye, a deterministic façade-inspection pipeline featuring YOLO object detection, panel projection mapping, event logging, and advisory VLM second opinions.