| CPC G06F 11/3438 (2013.01) [G06N 3/08 (2013.01)] | 20 Claims |

|
1. A method for controlling an electronic device, the method comprising:
obtaining, by the electronic device, an image regarding at least one person around the electronic device;
analyzing, by the electronic device, the image to determine a number of persons in the image;
based on determining the number of persons in the image to be one person, determining, by the electronic device, a first service to be provided to the one person based on a context of the one person, and providing, by the electronic device, the first service; and
based on determining the number of persons in the image to be a plurality of persons, determining, by the electronic device, a second service to be provided to the plurality of persons based on a relationship between the plurality of persons, and providing, by the electronic device, the second service.
|