Text this: Active learning and novel model calibration measurements for automated visual inspection in manufacturing