Micrometer-precise inline inspection of weld bead