Semantic food segmentation for automatic dietary monitoring