Book a discovery call
Book a discovery call

AI Hail Damage Detection on Roofs with Computer Vision: 97.5% Roof Classification Accuracy

Roof classification, YOLOv8 object detection and a human-in-the-loop review app, built in Dataiku, assess hail damage on shingle roofs without climbing a ladder.

Quick Summary

The Case at a Glance

  1. Challenge

    Contractors climbed roofs to mark hail damage by hand, which was slow, inconsistent and dangerous.

  2. Solution

    Image pre-processing, roof classification, YOLOv8 hail damage detection and a human-in-the-loop review app, built in Dataiku.

  3. Results

    97.5% roof classification accuracy and 91% detection precision, with no physical roof climbs needed.

The Challenge

What Was Getting in the Way

Insurance companies have traditionally relied on contractors to physically climb onto roofs and mark hail damage by hand. The process was time-consuming and resource-heavy, prone to human error and inconsistency, and risky for the inspectors themselves.

Every inspection slowed down the claims process, and customers waited longer for settlements. After a major storm, the number of roofs to inspect far outstripped the people available to climb them.

The client needed an automated, scalable and safe way to assess hail damage on shingle roofs accurately, without manual inspection.

Pain Points

  • Contractors climbing roofs to mark damage

  • Time-consuming and resource-heavy inspections

  • Human error and inconsistent marking

  • Physical risk to inspectors

  • Slower claims and lower customer satisfaction

The Solution

How Tatras Built It

Tatras built an AI hail damage assessment pipeline in Dataiku, delivered in four modules.

Clean images, then confirm the roof

OpenCV thresholding removes white backgrounds and chalk markings that would bias detection, producing cleaner training data. A roof classification model (EfficientNet, trained with Dataiku AutoML and transfer learning on 134,569 labelled images) then confirms whether each image shows a roof, reaching 97.5% accuracy and a 97.3% F1 score.

Finding the hail damage

For images confirmed as roofs, a YOLOv8 object detection model, trained on about 13,000 annotated images and evaluated on 2,370 test images, locates hail damage with bounding boxes and visual overlays.

People in the loop

A Dataiku web app shows every detection to reviewers, who can resize, move, relabel, create or delete bounding boxes. Their edits feed back into retraining, so accuracy improves while people keep the final say on every claim.

The result: physical roof climbs eliminated, inspection time cut drastically, faster and more reliable claims assessments, a process that scales to thousands of roofs at once, and human-in-the-loop quality assurance for compliance and trust.

Results

What Changed

  • 97.5%

    Roof classification accuracy (97.3% F1)

  • 91%

    Hail damage detection precision

  • No climbs

    Physical roof inspections eliminated

  • At scale

    Thousands of roofs assessed at once

Figures: 97.5% classification accuracy and 97.3% F1 score; YOLOv8 baseline at 91% precision and 53% recall (limited by expert-labelled data), as reported in the Tatras case study record.

Tech Stack

What It Runs On

    • Image classification (EfficientNet)
    • Object detection (YOLOv8)
    • Transfer learning
    • Dataiku AutoML
    • Retraining from reviewer feedback
    • 134,569 labelled roof images
    • ~13,000 annotated damage images
    • Dataiku
    • Python
    • OpenCV
    • Dataiku web app for review and feedback

Tap any layer to see its full stack.

  1. AI

    • Image classification (EfficientNet)
    • Object detection (YOLOv8)
    • Transfer learning
  2. Machine learning

    • Dataiku AutoML
    • Retraining from reviewer feedback
  3. Data

    • 134,569 labelled roof images
    • ~13,000 annotated damage images
  4. Development

    • Dataiku
    • Python
    • OpenCV
  5. Interface

    • Dataiku web app for review and feedback

Proven Results

More Results for Our Clients

See all case studies

FAQs

How does AI detect hail damage on roofs?

It confirms that an image shows a roof, then a YOLOv8 object detection model locates hail damage with bounding boxes.

How accurate is it?

Roof classification reached 97.5% accuracy and a 97.3% F1 score; damage detection reached 91% precision.

Why remove chalk marks first?

Chalk and white backgrounds bias detection, so OpenCV removes them to produce cleaner data.

Do people still review the results?

Yes. Reviewers adjust detections in a Dataiku web app, and their edits retrain the models.

Which platform was it built on?

Dataiku, with EfficientNet trained through Dataiku AutoML and YOLOv8 for detection.

Does it remove the need to climb roofs?

Yes. Assessments are made from images, eliminating physical roof climbs.

Can it handle storm surges?

Yes. It scales to thousands of roof assessments at once.

Will detection improve?

Yes. Recall is limited by expert-labelled data and improves as reviewers' corrections are added.

Get Started

Could AI Do the Same for Your Business?

Book a discovery call and we'll look at your data, your use case and the results worth aiming for.

Book a discovery call