Comparing discriminative and generative approach to detection of defects on injection moulded routing disc