This application claims the priority benefit of Taiwan application serial no. 112143355, filed on Nov. 10, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to an electronic device and a control method of image capturing thereof, and particularly relates to an electronic device capable of zooming in and automatically taking photos during video recording, and a control method of image capturing thereof.
As the photography capabilities of electronic devices continue to improve, the users often use electronic devices to record videos in certain situations. Besides video recording, the users may also want to take close-up photos of a specific object in the video.
According to the conventional technology, when the user has such needs, the user is required to switch the electronic device between the video recording mode and the photography mode for capturing static images, which is inconvenient.
The disclosure provides an electronic device and a control method of image capturing thereof. The control method includes: performing a recording operation on a dynamic image by providing an image capturer; performing a zooming operation on a local area of a recorded image by receiving a zooming command, and obtaining a zoomed image; automatically generating a photographing start signal according to movement information of the image capturer, a magnification of the zooming operation, and a duration of the zoomed image; and performing a photographing operation on the local area of the recorded image according to the photographing start signal to obtain a static image.
The electronic device of the disclosure includes an image capturer, a display, a sensor, and a controller. The image capturer is configured to perform a recording operation on a dynamic image. The display is configured to display a recorded image. The sensor is configured to sense movement information of the electronic device. The controller is coupled to the image capturer, the display, and the sensor. The controller is configured to: perform a zooming operation on a local area of the recorded image by receiving a zooming command, and display a zoomed image on the display; generate a photographing start signal according to movement information of the image capturer, a magnification of the zooming operation, and a duration of the zoomed image; and enable the image capturer to perform a photographing operation on the local area of the recorded image according to the photographing start signal to obtain a static image.
Based on the above, the electronic device according to the disclosure performs the zooming operation on the local area of the recorded image according to the zooming command during video recording. In addition, the electronic device determines whether the zoomed image at this time meets the photographing condition, and performs the photographing operation in response to the photographing condition being met. In this way, the electronic device performs the automatic photographing operation on the zoomed image during video recording, thereby improving the convenience of use.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Please refer to
Next, in step S130, the electronic device 200 may generate a photographing start signal according to movement information of the image capturer, a magnification of the zooming operation, and a duration of the zoomed image 211. In step S130, the electronic device 200 may perform a determination operation to determine whether a photographing condition is met. Specifically, the electronic device 200 may determine whether to activate an automatic photographing function by determining the stability of the image capturer, the magnification of the zooming operation, and whether the duration of the zoomed image being displayed on the display 210 is long enough.
In detail, the electronic device 200 may be provided with a sensor (such as a gravity sensor (G-sensor) or a gyroscope sensor) to obtain movement information of the electronic device 200. The electronic device 200 may determine whether a movement amount of the electronic device 200 is less than a first threshold according to the movement information so as to determine the stability of the electronic device 200. Further, the electronic device 200 may obtain the magnification according to a zoom factor in the received zooming command, and determine whether the size of the zoomed image 211 is large enough according to whether the magnification is greater than a second threshold. Furthermore, the electronic device 200 may calculate the duration after the zoom factor of the zooming command is determined and no longer changes to obtain the duration of the zoomed image being displayed on the display 210, and determine whether the duration of the zoomed image being displayed on the display 210 is long enough according to whether the above-mentioned duration is greater than a third threshold.
In addition, the photographing start signal may be enabled in response to the electronic device 200 determining that the image capturer is in a relatively stable state, the magnification of the zooming operation is sufficient, and the duration of the zoomed image being displayed on the display 210 is long enough.
In step S140, the electronic device 200 may perform a photographing operation on the local area 211 of the recorded image according to the photographing start signal and thereby obtain a static image 212, as shown in
It is worth mentioning that, in this embodiment, the recording operation continues during the process of automatic photographing. After capturing the static image 212, the display 210 may display the static image 212 for a preset period of time and then stop the display, and change to display the image being recorded.
It can be known from the above description that, in the embodiment of the disclosure, the electronic device may zoom in the local area of the recorded image during the recording operation of the dynamic image, and automatically perform the photographing operation on the zoomed local area in response to the photographing condition being met, which effectively reduces the complexity of capturing a static image from a dynamic image in the recording process and improves the convenience.
Please refer to
In step S331, the electronic device may determine whether the magnification of the zoomed image is greater than the first threshold, and execute step S332 in response to a determination result of YES. On the other hand, in response to a determination result of NO in step S331, step S340 is executed and a detection operation is performed again. In step S332, the electronic device may determine whether the movement information thereof is greater than the second threshold, and execute step S333 in response to a determination result of YES. Similarly, in response to a determination result of NO in step S332, step S340 is executed and the detection operation is performed again. In step S333, the electronic device may determine whether the duration of the zoomed image is greater than the third threshold, and execute step S350 to activate the photographing operation in response to a determination result of YES. Similarly, in response to a determination result of NO in step S333, step S340 is executed and the detection operation is performed again.
It is worth noting that, in this embodiment, the above-mentioned steps S331 to S333 are executed in sequence. However, in other embodiments of the disclosure, the order of executing steps S331 to S333 may be changed as required without specific limitations. Alternatively, steps S331 to S333 may also be executed synchronously and may not be executed in sequence. Nevertheless, step S350 is executed in response to all the determination results of steps S331 to S333 are YES. If the determination result of at least one of steps S331 to S333 is NO, step S340 is executed and the detection operation is performed again.
The above-mentioned first threshold, second threshold, and third threshold may all be preset values. In order to improve the convenience, the above-mentioned first threshold, second threshold, and third threshold may be adjusted by the user.
Please refer to
Here, the sensor 430 is a gyroscope sensor, as an example. In response to an automatic photographing function being activated, the controller 440 may execute an algorithm during the recording operation. While executing the algorithm, in response to a zooming command being received, the controller 440 may record a zoom factor Zm for generating the zoomed image in the recording operation. The controller 440 also obtains X-axis, Y-axis, and Z-axis information of the gyroscope sensor from the sensor 430. In response to the controller 440 determining that the zoom factor Zm no longer changes, the controller 440 may then determine whether the zoom factor Zm is greater than the first threshold, and proceed to the next step in response to the zoom factor Zm being greater than the first threshold. Next, the controller 440 calculates the information of the three axes of the gyroscope sensor at this time, calculates the information changes dx, dy, and dz on the three axes of the gyroscope sensor, and calculates the displacement information of the electronic device 400 based on the information changes dx, dy, and dz. In response to the displacement information of the electronic device 400 being less than the second threshold, the controller 440 may time to determine whether the duration of this state is greater than the third threshold, and then start the automatic photographing operation.
Here, the sensing operation performed by the sensor 430 for sensing the displacement information may be implemented using gravity sensing technology known to those skilled in the art without specific limitations.
In this embodiment, the image capturer 410 may be a video recorder (or camera) that is capable of capturing static and dynamic images. The display 420 may be any form of display without specific limitations. The sensor 430 may be any device that is configured to sense movement information of the electronic device, such as a G-sensor or a gyroscope sensor.
In this embodiment, the controller 410 may be a hardware circuit that is designed using Hardware Description Language (HDL) or any other digital circuit design method known to those skilled in the art, and implemented through Field Programmable Gate Array (FPGA), Complex Programmable Logic Device (CPLD), or Application-specific Integrated Circuit (ASIC).
Please refer to
It goes without saying that the setting interface 421 in
To sum up, the electronic device according to the disclosure automatically and immediately executes the operation of capturing a static image of the local area during video recording in response to receiving a zooming command and determining that the photographing condition is met, which effectively improves the convenience of use of the electronic device.
Number | Date | Country | Kind |
---|---|---|---|
112143355 | Nov 2023 | TW | national |