FoodCam: A real-time food recognition system on a smartphone
beyond bags of features : spatial pyramid matching for recognizing natural scene categories .