UAT 453 UAS for Infrastructure, Energy and Utility Inspection

Worksheet 4 Measuring cracks and evaluating AI

Lab 4 hAssesses CLO2

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

  1. Pick five cracks in the detail images; count spanning pixels; compute width and uncertainty with Example 1
  2. Measure the same cracks on site with the gauge and compare
  3. Run the detector on the labelled set; count TP, FP and FN; compute precision and recall
  4. Estimate inspector workload with Example 2
  5. Vary the confidence threshold and record how precision and recall change

Record of results

Table 1 Crack width from images versus the on-site gauge
Crack codePixels acrossCamera angle (°)Image width ± uncertainty (mm)Gauge value (mm)Within range?
Table 2 Detector results by confidence threshold
Confidence thresholdTPFPFNPrecisionRecall
Inspector workload and proposed threshold (show working)

Questions

  1. Which crack in Table 1 has the highest relative uncertainty, and how will you report it?

  2. Did the gauge values fall inside the image ranges? If not, what is the likely cause?

  3. As the threshold changed, how did precision and recall trade off, and which threshold did you choose for structural inspection, and why?

  4. 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

CLO2 Acquire and analyse data to detect anomalies. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack