Automated Quality Inspection using Computer Vision