CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of India Provisional Specification Application No. 202041003084 filed Jan. 23, 2020, India Provisional Specification Application No. 202041039808 filed Sep. 14, 2020, India Complete Specification Application No. 202041003084 filed Sep. 15, 2020, and Korean Patent Application No. 10-2020-0152072 filed Nov. 13, 2020, all of which are incorporated herein by reference in their entireties.

FIELD

This disclosure relates to an electronic device and a method for controlling the electronic device, and more particularly, to an electronic device that triggers a Super Slow Motion (SSM) function automatically and a controlling method thereof.

DESCRIPTION OF THE RELATED ART

An SSM video is generally captured for recording high-speed motions in a scene. A frame rate of image capturing is very high for example 480 Frames Per Second (fps), 960 fps, etc. for generating the SSM video. A large amount of computational resources, storage resources, and electric power is consumed to generate the SSM video with a time duration of just 1 minute. It is preferred to generate the SSM video of only a relevant event in a scene with a small-time duration. A user can manually activate SSM video recording only when needed to record the relevant event in the scene. Such a manual activation of the SSM video recording implies a possibility that the user may activate the SSM video recording early or late due to fast movements in the scene which is not being expected by the user. Hence, the user may miss to capture the SSM video of the relevant event in the scene or size of the SSM video may be of very large due to capturing images of the relevant and irrelevant events in the scene.

As a solution for this problem, existing image sensors are designed to detect the relevant event in the scene for the SSM video recording based on motion detection. The image sensors are limited to handle at most to a wide field of vision. Moreover, a manufacturing cost of the image sensors increases due to designing the image sensors with a capability to automatically trigger the SSM video recording. Inbuilt storage resources available at the image sensors are suitable to record videos with lower frame rates only such as 60 fps. Thus, it is desired to address the above-mentioned shortcomings or at least provide a useful alternative.

SUMMARY

An electronic device according to an embodiment includes a memory, a first camera including a first image sensor and at least one processor, and the at least one processor is configured to obtain a plurality of image frames by photographing surroundings of the electronic device through the first camera, set a region of interest (ROI) on the plurality of image frames, obtain a motion identification map corresponding to each of the plurality of image frames and select at least one image frame from among the plurality of image frames based on the obtained motion identification map, identify whether there is a motion of an object on the ROI set on the selected at least one image frame, and perform a Super Slow Motion (SSM) function through the first camera based on a result of the identification, and the motion identification map is generated based on motion data detected in each of the plurality of image frames.

A controlling method of an electronic device that includes a first camera including a first image sensor according to an embodiment includes obtaining a plurality of image frames by photographing surroundings of the electronic device through the first camera, setting a region of interest (ROI) on the plurality of image frames, obtaining a motion identification map corresponding to each of the plurality of image frames and selecting at least one image frame from among the plurality of image frames based on the obtained motion identification map, identifying whether there is a motion of an object on the ROI set on the selected at least one image frame, and performing an SSM function through the first camera based on a result of the identification.

