An electronic device comprising: an image sensor; and a processor, wherein the processor is configured to: detect a movement of an object, using an image generated by the image sensor; identify a size value of the object; correct the size value of the object based on a location of the object within the image; and perform an operation corresponding to the movement of the object, based on the corrected size value, characterized in that the processor is further configured to: divide the image into a plurality of regions; when the object is included in one region among the plurality of regions, identify the region including the object among the divided plurality of regions; and correct the size value of the object, using a correction coefficient corresponding to the region including the object; when the object is included in regions among the plurality of regions, identify a regional size value for each region of the regions, each regional size value being a size value of a part of the object included in each of the regions; correct each regional size value using each correction coefficient corresponding to each of the regions; and calculate the corrected size value of the object by summing the corrected regional size values. an image sensor; and a processor, wherein the processor is configured to: detect a movement of an object, using an image generated by the image sensor; identify a size value of the object; correct the size value of the object based on a location of the object within the image; and perform an operation corresponding to the movement of the object, based on the corrected size value, characterized in that the processor is further configured to: divide the image into a plurality of regions; when the object is included in one region among the plurality of regions, identify the region including the object among the divided plurality of regions; and correct the size value of the object, using a correction coefficient corresponding to the region including the object; when the object is included in regions among the plurality of regions, identify a regional size value for each region of the regions, each regional size value being a size value of a part of the object included in each of the regions; correct each regional size value using each correction coefficient corresponding to each of the regions; and calculate the corrected size value of the object by summing the corrected regional size values. detect a movement of an object, using an image generated by the image sensor; identify a size value of the object; correct the size value of the object based on a location of the object within the image; and perform an operation corresponding to the movement of the object, based on the corrected size value, characterized in that the processor is further configured to: divide the image into a plurality of regions; when the object is included in one region among the plurality of regions, identify the region including the object among the divided plurality of regions; and correct the size value of the object, using a correction coefficient corresponding to the region including the object; when the object is included in regions among the plurality of regions, identify a regional size value for each region of the regions, each regional size value being a size value of a part of the object included in each of the regions; correct each regional size value using each correction coefficient corresponding to each of the regions; and calculate the corrected size value of the object by summing the corrected regional size values. divide the image into a plurality of regions; when the object is included in one region among the plurality of regions, identify the region including the object among the divided plurality of regions; and correct the size value of the object, using a correction coefficient corresponding to the region including the object; when the object is included in regions among the plurality of regions, identify a regional size value for each region of the regions, each regional size value being a size value of a part of the object included in each of the regions; correct each regional size value using each correction coefficient corresponding to each of the regions; and calculate the corrected size value of the object by summing the corrected regional size values.