An electronic apparatus, which performs auto-crawling based on artificial intelligence, comprising:
- a crawling unit acquiring images including a food, using an artificial intelligence model;
- a target identifying unit identifying a food matching the acquired image;
- a user interface detecting an input from a user;
- a processor controlling operations of the crawling unit and the target identifying unit,
- wherein the processor is configured to:
- select a particular crawling level among a plurality of crawling levels, by analyzing images captured by a user, wherein the plurality of crawling levels include:
- a first crawling level searching for first images, in which the food is shown but a body portion and a face of a person are not shown;
- a second crawling level searching for the first images, and also searching second images, in which both the food and the body portion of the person are shown but the face of the person is not shown;
- and
- a third crawling level searching for the first images, the second images, and third images, in which all of the food, and the body portion and the face of the person are shown;
- automatically classify and search for all images including the food among a plurality of images stored in a predetermined area, according to the selected crawling level even if there is no user input for an image selection;
- perform vision processing of the automatically searched images including the food to identify the food;
- and
- transmit the automatically searched images including the food, along with food information generated by the vision procession, to a server, or store the automatically searched images including the food, along with food information generated by the vision procession, in a memory, and
- wherein the processor is further configured to automatically update the automatically searched images including the food, and the food information generated by the vision procession, in response to:
- recognizing an addition of new images to the predetermined area;
- receiving an image auto-search command from the user interface;
- or reaching a predetermined cycle, and
- wherein the processor is further configured to compare the images, and does not delete the images when the images include different foods and save the plurality of images, and the processor is further configured to compare the images, and when types of the food included in the images are the same, input and save only one image;
- and
- a display unit configured to
- display a graph showing bars having lengths corresponding to values of consumption calories and intake calories, and additionally displays a parameter with a greater value between the consumption calories and the intake calories, and a difference value of a difference between the consumption calories and the intake calories, wherein the processor is configured to calculate the intake calories based on the type and quantity of the food included in the image, and also based on user information including activity metabolism that is measured by using a sensor of the electronic apparatus.