Sheet metal stamping is widely used for high-volume production. Despite the wide adoption, it can lead to defects in the manufactured components, making their quality unacceptable. Because of the variety of defects that can occur on the final product, human inspectors are frequently employed to detect them. However, they can be unreliable and costly, particularly at speeds that match the stamping rate. In this paper, we propose an automatic inspection framework for the stamping process that is based on computer vision and deep learning techniques. The low cost, remote sensing capability and simple implementation mean that it can be easily deployed in an industrial setting. A particular focus of the framework is to account for the harsh lighting conditions found in manufacturing environments that affect optical sensing techniques by making it difficult to capture the details of a scene. To test the framework, sheet metal ’Nakajima’ samples were manufactured with an industrial stamping press. Then optimally exposed, sequence of exposures, tone-mapped and high-dynamic-range images of the samples were used to train convolutional neural network based detectors. Analysis of the resulting models showed that HDR-based models achieved substantially higher accuracy and minimal false-positive predictions.