×

System and method for food categorization

  • US 10,671,657 B2
  • Filed: 10/13/2014
  • Issued: 06/02/2020
  • Est. Priority Date: 10/13/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, by a food categorization engine provided on a server and operating in a training mode, a training food data set including a plurality of text descriptions of a plurality of food items and a corresponding association of each of the plurality of food items of the training food data set with one or more food categories of a plurality of food categories, wherein the food categories are food nutrient categories, wherein the training food data set is provided from a database of crowd-sourced data records of food items, each of the data records entered into the database by a plurality of users of a fitness management system;

    extracting, by the food categorization engine, one or more features from each text description of the training food data set to generate a feature set for each food item of the training food data set;

    analyzing, by the food categorization engine, the feature set for each food item of the training food data set to determine sets of food categorization features that correlate to individual ones of the one or more food categories, wherein the sets of food categorization features are defined by a plurality of category vectors, each of the category vectors associated with one of the food categories;

    receiving, by the food categorization engine operating in an operational mode, a text description of a food item entered by a user via a client device, wherein the client device is in communication with the server, wherein the text description of the food item entered by the user is associated with a data record selected by the user as being indicative of a consumed item, the data record being provided from the database of crowd-sourced data records of food items;

    standardizing the text description of the food item by removing nonstandard words and/or characters from the one or more individual words and/or characters of the text description of the food item, wherein the nonstandard words and/or characters are inconsistent naming and spelling errors in the text description of the food item;

    analyzing, by the food categorization engine, one or more individual words and/or characters of the text description of the food item, wherein analyzing the one or more individual words and/or characters of the text description of the food item comprises generating a numerical vector representative thereof;

    automatically selecting, by the food categorization engine, one or more food categories with which to associate the food item based at least in part on a result of the analysis of the one or more individual words and/or characters of the text description of the food item, wherein automatically selecting one or more food categories comprises comparing the numerical vector to the plurality of category vectors associated with individual ones of the one or more food categories, wherein said comparing is accomplished by matrix-vector multiplication wherein the plurality of category vectors define a matrix and the numerical vector is multiplied by the matrix;

    amending the data record associated with the food item in the database to include the selected one or more food categories;

    selecting the amended data record based on the one or more food categories; and

    presenting data from the amended data record to the user on a display of the client device.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×