Automated Defect Detection With Limited Training Data: A Comparative Study of Classical Machine Learning And Deep Learning Approaches In Manufacturing