UAT 453 UAS for Infrastructure, Energy and Utility Inspection
Worksheet 4 Measuring cracks and evaluating AI
Objective
Measure crack width from images with uncertainty, compare with on-site measurement and evaluate a detector with precision and recall
Equipment and materials
- Detail images from worksheet 3
- Crack gauge or scaled magnifier
- Crack detection model and labelled test set from the lecturer
- Python and the module 4 example code
Safety
- Analysis is desk work
- On-site measurement only from the ground or safely reachable points; no climbing on the structure
Steps
- Pick five cracks in the detail images; count spanning pixels; compute width and uncertainty with Example 1
- Measure the same cracks on site with the gauge and compare
- Run the detector on the labelled set; count TP, FP and FN; compute precision and recall
- Estimate inspector workload with Example 2
- Vary the confidence threshold and record how precision and recall change
Record of results
| Crack code | Pixels across | Camera angle (°) | Image width ± uncertainty (mm) | Gauge value (mm) | Within range? |
|---|---|---|---|---|---|
| Confidence threshold | TP | FP | FN | Precision | Recall |
|---|---|---|---|---|---|
Questions
Which crack in Table 1 has the highest relative uncertainty, and how will you report it?
Did the gauge values fall inside the image ranges? If not, what is the likely cause?
As the threshold changed, how did precision and recall trade off, and which threshold did you choose for structural inspection, and why?
With recall 0.90 on 3,000 images as in Example 2, about how many defects would be missed, and how would you reduce that risk?
Check before you hand in
What to hand in
- Image widths with uncertainty versus on-site
- TP, FP, FN, precision and recall table
- Plot or table by threshold
- Recommended threshold with workload