Quality Checking Using Image Processing