Patent attributes
The electronic device includes a camera, a non-volatile memory storing at least one instruction and a plurality of object recognition models, a volatile memory, and a processor, connected to the non-volatile memory, the volatile memory, and the camera, and configured to control the electronic device. The processor, by executing the at least one instruction, is configured to, based on an operation mode of the electronic device, load, to the volatile memory, a hierarchical object recognition model having a hierarchical structure corresponding to the operation mode, the hierarchical object recognition model including objection recognition models among the plurality of object recognition models, obtain information on an object by inputting an object image obtained through the camera to the hierarchical object recognition model, and determine an operation of the electronic device based on the information on the object.