Abstract: In this study, the quality of a nut is discussed by considering images of the internal thread, and an analysis is conducted using traditional machine-learning and deep-learning algorithms.