A method of inspecting a part, comprising: applying a penetrant dye to a part, the penetrant dye exhibiting a fluorescent color when subjected to light from a lighting device; illuminating a portion of the part with light from the lighting device; automatically recording an image of the portion of the part with a camera while the portion is illuminated; automatically determining an uncertainty metric for the image indicative of a likelihood that pixels in the image having the fluorescent color represent damage to the part; automatically adjusting at least one of the part, the lighting device, and the camera based on the uncertainty metric being within a predefined range; iteratively repeating the automatic recording, determining, and adjusting steps until the uncertainty metric is greater than the predefined range, or a predefined number of iterations have been performed for the portion of the part; and determining that the portion of the part is damaged based on the uncertainty metric being greater than the predefined range, or determining that the portion of the part is not damaged based on the uncertainty metric not exceeding the predefined range for any of the iterations, wherein said automatically adjusting at least one of the part, the lighting device, and the camera comprises automatically adjusting at least one of the following: a relative position of the part with respect to one or both of the lighting device and the camera; an orientation of one or more of the part, the lighting device, and the camera; one or more of a light intensity, light illumination area, and polarization of the lighting device; and an exposure setting of the camera to accommodate the adjustment to the lighting device. applying a penetrant dye to a part, the penetrant dye exhibiting a fluorescent color when subjected to light from a lighting device; illuminating a portion of the part with light from the lighting device; automatically recording an image of the portion of the part with a camera while the portion is illuminated; automatically determining an uncertainty metric for the image indicative of a likelihood that pixels in the image having the fluorescent color represent damage to the part; automatically adjusting at least one of the part, the lighting device, and the camera based on the uncertainty metric being within a predefined range; iteratively repeating the automatic recording, determining, and adjusting steps until the uncertainty metric is greater than the predefined range, or a predefined number of iterations have been performed for the portion of the part; and determining that the portion of the part is damaged based on the uncertainty metric being greater than the predefined range, or determining that the portion of the part is not damaged based on the uncertainty metric not exceeding the predefined range for any of the iterations, wherein said automatically adjusting at least one of the part, the lighting device, and the camera comprises automatically adjusting at least one of the following: a relative position of the part with respect to one or both of the lighting device and the camera; an orientation of one or more of the part, the lighting device, and the camera; one or more of a light intensity, light illumination area, and polarization of the lighting device; and an exposure setting of the camera to accommodate the adjustment to the lighting device. a relative position of the part with respect to one or both of the lighting device and the camera; an orientation of one or more of the part, the lighting device, and the camera; one or more of a light intensity, light illumination area, and polarization of the lighting device; and an exposure setting of the camera to accommodate the adjustment to the lighting device.