Quality inspection of industrial bread by image analysis