SMS dit: Food analysis: theory and practice