Image shooting method, device, electronic device and readable storage medium

By obtaining the direction and distance of the dragging in the shooting preview interface, controlling the lens module for exposure, and generating images with dragging effects, solving the problem of low image interest in the prior art, and realizing image shooting with artistic effects.

CN114125226BActive Publication Date: 2025-02-18VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111374013.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2025-02-18
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

The prior art is difficult to produce images with artistic effects, resulting in less interesting images being taken.

Method used

By obtaining the direction of the dragging and the distance of the dragging in the shooting preview interface, the lens module is controlled to expose the preview image, and a dragging effect is generated in the target area using the first exposure mode.

Benefits of technology

It realizes the generation of images with a sweep effect in the target area of ​​the image, which increases the interest of shooting images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114125226B_ABST
    Figure CN114125226B_ABST
Patent Text Reader

Abstract

The present application discloses an image shooting method, device, electronic device and readable storage medium, belonging to the field of shooting technology. The method is applied to an electronic device, the electronic device includes a lens module, the method includes: in response to a first input of a preview image in a shooting preview interface, obtaining a smear direction and a smear distance; controlling the lens module to expose the preview image to obtain a target image; wherein a first exposure mode is used to expose a target area in the preview image, and the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of photographing technology, and specifically relates to an image photographing method, device, electronic device and readable storage medium. Background Art

[0002] With the development of imaging technology, more and more users are used to recording their lives by taking pictures. However, due to the differences in the level of image taking among users and the fact that most users do not have the ability to post-process images, they are unable to produce images with artistic effects, and the images are less interesting. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an image capturing method, device, electronic device and readable storage medium, which can produce images with artistic effects and increase the interest of captured images.

[0004] In a first aspect, an embodiment of the present application provides an image capturing method, which is applied to an electronic device, wherein the electronic device includes a lens module, and the method includes:

[0005] In response to a first input of a preview image in the shooting preview interface, acquiring a smear direction and a smear distance;

[0006] Controlling the lens module to expose the preview image to obtain a target image;

[0007] Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction.

[0008] In a second aspect, an embodiment of the present application provides an image capturing device, which is applied to an electronic device, wherein the electronic device includes a lens module, and the device includes:

[0009] A response module, configured to obtain a smear direction and a smear distance in response to a first input of a preview image in the shooting preview interface;

[0010] A control module, used for controlling the lens module to expose the preview image to obtain a target image;

[0011] Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0015] In the embodiment of the present application, by responding to the first input of the preview image in the shooting preview interface, the smear direction and the smear distance are obtained; the lens module is controlled to expose the preview image to obtain the target image; wherein the target area in the preview image is exposed using the first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction. Thus, an image with a smear effect can be generated in the target area of ​​the image according to the obtained smear direction and smear distance, which increases the interest of the captured image. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flowchart of an image capturing method according to an embodiment of the present application;

[0017] Figure 2 is a schematic diagram of an exposure mode of a rolling shutter in an image capturing method according to an embodiment of the present application;

[0018] Figure 3 A schematic diagram of the structure of an image capturing device according to an embodiment of the present application;

[0019] Figure 4 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0020] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0023] The image capturing method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0024] Figure 1 1 is a flow chart of an image capturing method according to an embodiment of the present application. The image capturing method according to an embodiment of the present application can be performed by an image capturing device, for example, and the image capturing device can be provided in an electronic device such as a smart phone, a tablet computer, or a smart watch. In this embodiment, the electronic device is also provided with a lens module and a lens module.

[0025] like Figure 1 As shown, the image capturing method of this embodiment may include the following steps 1100 to 1200:

[0026] Step 1100 , in response to a first input of a preview image in a shooting preview interface, obtaining a smear direction and a smear distance.

[0027] The smear direction is a direction in which smear is generated in an image selected by a user; and the smear distance is a length of smear generated in the image.

[0028] Among them, the afterimage direction and the afterimage distance can be obtained according to the sliding direction and sliding distance of the user's finger on the shooting preview interface, for example. The sliding direction can be any direction in the shooting preview interface, and the sliding distance does not exceed the boundary of the shooting preview interface.

[0029] Step 1200: Control the lens module to expose the preview image to obtain a target image.

[0030] Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction.

[0031] Exposing the preview image may be exposing the target area in the preview image using a first exposure mode.

[0032] It should be noted that the exposure characteristic of the rolling shutter is to expose the pixels in the pixel array row by row by means of a lens module until all the pixels in the pixel array are exposed, thereby obtaining a target image.

[0033] In this embodiment, in the process of exposing the preview image in the first exposure mode, the above-mentioned exposure characteristics of the rolling shutter are utilized, such as Figure 2 As shown, when the target area that needs to produce a smear effect is exposed, the lens module is controlled to use the first exposure mode, that is, the lens module is moved in the smear direction by the smear distance. When the exposure of the target area is completed, the lens module is controlled to use the second exposure mode, that is, the ordinary optical image stabilization mode is used for exposure, and the preview image is continuously subjected to the smear processing. In this way, a target image can be generated in which the target area has a smear effect, and other areas outside the target area have a high-definition effect.

[0034] In practical applications, the target area may be determined by the image capturing device identifying the target object, or may be determined by the user according to their needs.

[0035] In one embodiment, after entering the shooting preview interface, before responding to the first input of the preview image in the shooting preview interface, the image capture device can combine AI recognition to detect the target object in the current shooting scene, wherein the target object can be, for example, a person, a scenery, such as a hillside, a cliff, or clouds, and the target object can also be an object, such as an airplane, a building, etc.

[0036] After detecting the target object, the target area can be identified from the preview image of the shooting preview interface. Specifically, the area including the target object in the current shooting scene can be identified from the preview image of the shooting preview interface as the target area for generating a smear effect. After determining the target area, the image capture device detects whether a first input from a user is received. The first input is, for example, a sliding input of a user's finger in the shooting preview interface.

[0037] When a first input from a user is received, in response to the first input to the preview image in the shooting preview interface, a smear direction and a smear distance are acquired.

[0038] In another embodiment, after entering the shooting preview interface, before responding to the first input of the preview image in the shooting preview interface, the image capture device can also receive a second input of the preview image in the shooting preview interface; and determine the target area in response to the second input.

[0039] The second input may be, for example, a click input or a sliding input of a user's finger on the preview image in the shooting preview interface. For example, when the image capture device detects a click input of a user's finger on the preview image in the shooting preview interface, the image capture device determines the position of the target area according to the position of the click, and determines the size of the target area according to the strength of the click. For another example, the sliding input may be a closed shape drawn by sliding a finger on the preview image in the image preview interface. When the image capture device detects a sliding input of a user on the preview image in the shooting preview interface, the image capture device determines the target area with the area of ​​the sliding input. After determining the target area, the image capture device detects whether the first input from the user is received. The first input may be, for example, a sliding input of a user's finger on the shooting preview interface.

[0040] When a first input from a user is received, in response to the first input to the preview image in the shooting preview interface, a smear direction and a smear distance are acquired.

[0041] In one embodiment, when shooting a target video, before controlling the lens module to expose the preview image, the image capture device can also respond to the first input of the target video screen to obtain the target time point, the smear direction and the smear distance; when reaching the target time point, the image corresponding to the target time point is moved by the smear distance according to the smear direction to obtain the target video.

[0042] For example, the target video includes 10 seconds, and the first input is a click input on the time axis of the target video screen. After receiving the click input on the 7th second on the time axis of the target video screen, the image capture device responds to the first input and obtains that the target time point is the 7th second, that is, the first exposure mode is used for the frame image corresponding to the 7th second to generate a smear effect.

[0043] Specifically, the image capture device exposes each frame of the target video frame by frame, and uses the second exposure mode to expose the frame images corresponding to the 1st to 6th seconds and the 8th to 10th seconds, that is, uses the optical image stabilization mode to expose the frame images corresponding to the 1st to 6th seconds and the 8th to 10th seconds respectively; uses the first exposure mode to expose the frame image corresponding to the 7th second, that is, controls the lens module to move the frame image corresponding to the 7th second by the smear distance according to the smear direction; after the exposure is completed, the 10 seconds of images are spliced ​​to obtain a target video with a smear-like effect.

[0044] It should be noted that during the non-exposure time, the lens module needs to be controlled to move toward the center position to ensure that the lens module always has the maximum anti-shake travel.

[0045] The technical solution of the embodiment of the present application is to obtain the smear direction and smear distance in response to the first input of the preview image in the shooting preview interface; control the lens module to expose the preview image to obtain the target image; wherein the target area in the preview image is exposed using the first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction. Thus, an image with a smear effect can be generated in the target area of ​​the image according to the obtained smear direction and smear distance, which increases the interest of the captured image.

[0046] The complete process of the image capturing method of this embodiment is described below with reference to specific examples.

[0047] In one example, the target area is obtained by the image capturing device identifying the target object.

[0048] Specifically, the user turns on the camera / video function, and the electronic device enters the shooting preview interface. After entering the shooting preview interface, the image capture device can combine AI recognition to detect the target object in the preview image of the shooting preview interface. The target object can be, for example, a person, a scene, such as a hillside, a cliff, or a cloud. The target object can also be an object, such as an airplane or a building.

[0049] After detecting the target object, the target area can be identified from the preview image of the shooting preview interface. After identifying the target area, the image capture device detects whether a first input from the user is received. The first input is, for example, a sliding input of a user's finger in the shooting preview interface.

[0050] Upon receiving the first input, the image capture device obtains, in response to the first input, a sliding direction and a sliding distance of a user's finger on the preview image of the shooting preview interface, determines the sliding direction as the trailing direction, and determines the sliding distance as the trailing distance.

[0051] After obtaining the smear direction and the smear distance, when the image capture device detects that the user clicks the "shoot" button on the shooting preview interface, in response to the input of clicking the "shoot" button, the lens module is controlled to expose the preview image to obtain the target image.

[0052] In the process of controlling the lens module to expose the preview image to obtain the target image, when exposing to the target area where a smear effect needs to be produced, the lens module is controlled to adopt a first exposure mode for exposure, that is, the lens module is moved by the smear distance in the smear direction; when the exposure of the target area is completed, the lens module is controlled to adopt a second exposure mode for exposure, that is, the lens module is exposed in a normal optical image stabilization mode.

[0053] Each row of the pixel array of the preview image is exposed in the above manner until all the pixels in the pixel array are exposed to obtain the target image. In this way, a target image can be generated in which the target area has a smear effect and other areas outside the target area have a high-definition effect.

[0054] In another example, the target area is selected by the user according to needs.

[0055] Specifically, when the user turns on the camera / video function, the electronic device enters the shooting preview interface. After entering the shooting preview interface, the image capture device can receive a second input of a preview image of the shooting preview interface; and determine the target area in response to the second input.

[0056] When the target area is determined, the image capture device obtains the sliding direction and sliding distance of the user's finger in the preview image of the shooting preview interface in response to the first input, determines the sliding direction as the trailing direction, and determines the sliding distance as the trailing distance.

[0057] After obtaining the smear direction and the smear distance, when the image capture device detects that the user clicks the "shoot" button on the shooting preview interface, in response to the input of clicking the "shoot" button, the lens module is controlled to expose the preview image to obtain the target image.

[0058] In the process of controlling the lens module to expose the preview image to obtain the target image, when exposing to the target area where a smear effect needs to be produced, the lens module is controlled to adopt a first exposure mode for exposure, that is, the lens module is moved by the smear distance in the smear direction; when the exposure of the target area is completed, the lens module is controlled to adopt a second exposure mode for exposure, that is, the lens module is exposed in a normal optical image stabilization mode.

[0059] Each row of the pixel array of the preview image is exposed in the above manner until all the pixels in the pixel array are exposed to obtain the target image. In this way, a target image can be generated in which the target area has a smear effect and other areas outside the target area have a high-definition effect.

[0060] In this example, an image with a smear effect can be generated in the target area according to the acquired smear direction and smear distance, thereby increasing the interest of the captured image.

[0061] It should be noted that the image capture method provided in the embodiment of the present application can be executed by an image capture device or a control module in the image capture device for executing the image capture method. In the embodiment of the present application, the image capture device provided in the embodiment of the present application is described by taking the image capture method executed by the image capture device as an example.

[0062] Figure 3 FIG. 1 is a schematic diagram of the structure of an image capturing device according to an embodiment of the present application. Figure 3 As shown, the image capturing device 3000 of the embodiment of the present application may include: a response module 3100 and a control module 3200 .

[0063] The response module 3100 is used to obtain the smear direction and smear distance in response to the first input of the preview image in the shooting preview interface.

[0064] The control module 3200 is used to control the lens module to expose the preview image to obtain a target image.

[0065] Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction.

[0066] In one embodiment, the apparatus 3000 further includes: a recognition module, configured to recognize the target area from the preview image.

[0067] In one embodiment, the apparatus 3000 further includes: a receiving module, configured to receive a second input to the preview image; and the responding module 3100 is further configured to determine the target area in response to the second input.

[0068] In one embodiment, the response module 3100 is also used to: in response to the first input of the target video screen, obtain the target time point, the trailing direction and the trailing distance; the control module 3200 is also used to: when reaching the target time point, move the image corresponding to the target time point by the trailing distance according to the trailing direction to obtain the target video.

[0069] The image capture device of this embodiment is provided with a response module for obtaining the smear direction and smear distance in response to the first input of the preview image in the shooting preview interface, and a control module for controlling the lens module to expose the preview image to obtain the target image. Thus, an image with a smear effect can be generated in the target area of ​​the image according to the obtained smear direction and smear distance, thereby increasing the interest of the captured image.

[0070] The image capture device in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., which is not specifically limited in the embodiments of the present application.

[0071] The image capture device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0072] The image capture device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0073] Alternatively, if Figure 4 As shown, the embodiment of the present application also provides an electronic device 5000, including a processor 5100, a memory 5200, and a program or instruction stored in the memory 5200 and executable on the processor 5100, wherein the program or instruction is executed by the processor 5100 to implement the above Figure 1 The various processes of the image capturing method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0074] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device described above.

[0075] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0076] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0077] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0078] The processor 610 is used to obtain the smear direction and smear distance in response to a first input of a preview image in a shooting preview interface; control the lens module to expose the preview image to obtain a target image; wherein a first exposure mode is used to expose the target area in the preview image; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.

[0079] In one embodiment, the processor 610 is further configured to: identify the target area from the preview image.

[0080] In one embodiment, the user input unit 607 is used to receive a second input on the preview image. The processor 610 is further used to determine the target area in response to the second input.

[0081] In one embodiment, in response to the first input of the target video picture, the target time point, the smear direction and the smear distance are obtained; when the target time point is reached, the image corresponding to the target time point is moved by the smear distance according to the smear direction to obtain the target video.

[0082] The electronic device of the embodiment of the present application can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar and will not be repeated here.

[0083] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.

[0084] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the above Figure 1 The various processes of the image capturing method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0085] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0086] The present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the above Figure 1 The various processes of the image capturing method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0087] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0088] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0090] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An image shooting method, applied to an electronic device, wherein the electronic device comprises a lens module, characterized in that: The method comprises: In response to a first input of a preview image in a shooting preview interface, a smear direction and a smear distance are obtained; the smear direction and the smear distance are obtained according to a sliding direction and a sliding distance of a user's finger on the shooting preview interface; Controlling the lens module to expose the preview image to obtain a target image; Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction; The method further includes: when the exposure of the target area is completed, controlling the lens module to use a second exposure mode for exposure, wherein the second exposure mode is an optical image stabilization mode.

2. The method according to claim 1, characterized in that Before responding to a first input of the preview image in the shooting preview interface, the method further includes: The target area is identified from the preview image.

3. The method according to claim 1, characterized in that Before responding to a first input of the preview image in the shooting preview interface, the method further includes: receiving a second input of the preview image; In response to the second input, the target area is determined.

4. The method according to claim 1, characterized in that: In the case of shooting a target video, before controlling the lens module to expose the preview image, the method further includes: In response to the first input of the target video picture, acquiring a target time point, the smear direction and the smear distance; When the target time point is reached, the image corresponding to the target time point is moved by the shadow distance according to the shadow direction to obtain the target video.

5. An image capture device, applied to an electronic device, wherein the electronic device comprises a lens module, characterized in that: The device comprises: A response module, configured to obtain a smear direction and a smear distance in response to a first input of a preview image in a shooting preview interface; the smear direction and the smear distance are obtained according to a sliding direction and a sliding distance of a user's finger in the shooting preview interface; A control module, used to control the lens module to expose the preview image to obtain a target image; and when the exposure of the target area in the preview image is completed, control the lens module to use a second exposure mode for exposure, wherein the second exposure mode is an optical image stabilization mode; Wherein, the target area in the preview image is exposed using a first exposure mode; the first exposure mode is to control the lens module to move the trailing distance according to the trailing direction.

6. The device according to claim 5, characterized in that The device also includes: The recognition module is used to recognize the target area from the preview image.

7. The device according to claim 5, characterized in that The device also includes: A receiving module, configured to receive a second input of the preview image; The response module is further configured to determine the target area in response to the second input.

8. The device according to claim 5, characterized in that The response module is further used for: in response to the first input of the target video picture, acquiring the target time point, the smear direction and the smear distance; The control module is also used for: when reaching the target time point, moving the image corresponding to the target time point by the trailing distance according to the trailing direction to obtain the target video.

9. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the image capturing method according to any one of claims 1 to 4.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the image capturing method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Shooting method and equipment

    CN113630545A