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
Challenge
Contractors climbed roofs to mark hail damage by hand, which was slow, inconsistent and dangerous.
Solution
Image pre-processing, roof classification, YOLOv8 hail damage detection and a human-in-the-loop review app, built in Dataiku.
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.
AI
- Image classification (EfficientNet)
- Object detection (YOLOv8)
- Transfer learning
Machine learning
- Dataiku AutoML
- Retraining from reviewer feedback
Data
- 134,569 labelled roof images
- ~13,000 annotated damage images
Development
- Dataiku
- Python
- OpenCV
Interface
- Dataiku web app for review and feedback
Proven Results
More Results for Our Clients
- 75%+Less analyst effortOpen-Source LLM Text-to-SQL for Investment Insights: 75%+ Less Analyst EffortAnalysts ask questions in plain English and get SQL-backed answers, charts and explanations from the bank's own database, using open-source LLMs that run inside its environment.Read the case study →
- Hours → minutesCountry-level analysis timeCountry-Level Investment Forecasting Using Natural Language Querying & RAG: Analysis Cut from Hours to MinutesAn AI research assistant answers plain-English questions about country-level economies by combining structured data with unstructured reports.Read the case study →
- Better liquiditySmarter trade executionAI Trading Platform with Collaborative-Filtering Recommendations for Better Liquidity & Trade ExecutionA scalable trading engine with collaborative-filtering recommendations suggests alternative instruments when assets are unavailable, improving liquidity and execution.Read the case study →
- 60%+Less manual investigation timeGenAI Fraud Investigation with Neo4j Graph Analytics & Natural Language Queries: 60%+ Less Investigation TimeInvestigators ask questions in plain English, GenAI agents query a Neo4j transaction graph, and a ReAct agent explains how suspicious transactions connect.Read the case study →
Open-Source LLM Text-to-SQL for Investment Insights: 75%+ Less Analyst Effort
Analysts ask questions in plain English and get SQL-backed answers, charts and explanations from the bank's own database, using open-source LLMs that run inside its environment.
Country-Level Investment Forecasting Using Natural Language Querying & RAG: Analysis Cut from Hours to Minutes
An AI research assistant answers plain-English questions about country-level economies by combining structured data with unstructured reports.
AI Trading Platform with Collaborative-Filtering Recommendations for Better Liquidity & Trade Execution
A scalable trading engine with collaborative-filtering recommendations suggests alternative instruments when assets are unavailable, improving liquidity and execution.
GenAI Fraud Investigation with Neo4j Graph Analytics & Natural Language Queries: 60%+ Less Investigation Time
Investigators ask questions in plain English, GenAI agents query a Neo4j transaction graph, and a ReAct agent explains how suspicious transactions connect.
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