Semantic segmentation of food images for automatic dietary monitoring