CN114125226A - Image shooting method and device, electronic equipment and readable storage medium - Google Patents

Image shooting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114125226A
CN114125226A CN202111374013.1A CN202111374013A CN114125226A CN 114125226 A CN114125226 A CN 114125226A CN 202111374013 A CN202111374013 A CN 202111374013A CN 114125226 A CN114125226 A CN 114125226A
Authority
CN
China
Prior art keywords
image
smear
input
target
preview image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111374013.1A
Other languages
Chinese (zh)
Inventor
张潇飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111374013.1A priority Critical patent/CN114125226A/en
Publication of CN114125226A publication Critical patent/CN114125226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image shooting method and device, electronic equipment and a readable storage medium, and belongs to the technical field of shooting. The method is applied to electronic equipment, the electronic equipment comprises a lens module, and the method comprises the following steps: responding to a first input of a preview image in a shooting preview interface, and acquiring a smear direction and a smear distance; controlling the lens module to expose the preview image to obtain a target image; and exposing a target area in the preview image by adopting a first exposure mode, wherein the first exposure mode is to control the lens module to move the smear distance according to the smear direction.

Description

Image shooting method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of shooting, and particularly relates to an image shooting method and device, electronic equipment and a readable storage medium.
Background
With the development of video technology, more and more users are used to record life by taking images. However, because the level of the images shot by the users is different, and most users do not have the post-processing capability of the images, the images with artistic effects cannot be manufactured, and the interestingness of the images is low.
Disclosure of Invention
An embodiment of the present invention provides an image capturing method, an image capturing apparatus, an electronic device, and a readable storage medium, which can produce an image with artistic effect and increase the interest of the captured image.
In a first aspect, an embodiment of the present application provides an image capturing method applied to an electronic device, where the electronic device includes a lens module, and the method includes:
responding to a first input of a preview image in a shooting preview interface, and acquiring a smear direction and a smear distance;
controlling the lens module to expose the preview image to obtain a target image;
exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
In a second aspect, an embodiment of the present application provides an image capturing apparatus, which is applied to an electronic device, where the electronic device includes a lens module, and the apparatus includes:
the response module is used for responding to a first input of a preview image in the shooting preview interface, and acquiring a smear direction and a smear distance;
the control module is used for controlling the lens module to expose the preview image to obtain a target image;
exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the smear direction and the smear distance are acquired by responding to the first input of the preview image in the shooting preview interface; controlling the lens module to expose the preview image to obtain a target image; exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction. Therefore, an image with a smear effect can be generated in the target area of the image according to the acquired smear direction and the smear distance, and the interestingness of image shooting is increased.
Drawings
Fig. 1 is a schematic flowchart of an image capturing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an exposure manner of a rolling shutter in an image capturing method according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image capturing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of an image capturing method according to an embodiment of the present application. The image capturing method of the embodiment of the application can be executed by an image capturing device, for example, and the image capturing device can be arranged in an electronic device such as a smart phone, a tablet computer, and a smart watch. In this embodiment, the electronic device is further provided with a lens module and a lens module.
As shown in fig. 1, the image capturing method of the present embodiment may include steps 1100 to 1200 as follows:
step 1100, in response to a first input to a preview image in a capture preview interface, acquiring a smear direction and a smear distance.
The smear direction is a direction in which a smear is generated in an image selected by a user; the smear distance is the length of the smear generated in the image.
The smear direction and the smear distance may be obtained according to a sliding direction and a sliding distance of a finger of a user in the shooting preview interface, for example, the sliding direction may be any direction in the shooting preview interface, and the sliding distance does not exceed a boundary of the shooting preview interface.
Step 1200, controlling the lens module to expose the preview image to obtain a target image.
Exposing a target area in the preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
Exposing the preview image may be exposing the target area in the preview image using a first exposure mode.
It should be noted that, the exposure characteristic of the rolling shutter (rolling shutter) is to scan the pixels in the pixel array line by line through the lens module to perform exposure until all the pixels in the pixel array are exposed, so as to obtain the target image.
In this embodiment, in the process of exposing the preview image in the first exposure mode, the above-mentioned exposure characteristic of the rolling shutter is utilized, as shown in fig. 2, when a target area that needs to generate a smear effect is exposed, the lens module is controlled to use the first exposure mode, that is, the lens module is controlled to move the smear distance in the smear direction, and when the exposure of the target area is finished, the lens module is controlled to use the second exposure mode, that is, the common optical anti-shake mode is used for exposure, and the anti-shake processing is continuously performed on the preview image. Thus, a target image having a smear effect in the target region and a high-definition effect in the region other than the target region can be generated.
In practical applications, the target area may be determined by identifying the target object with an image capturing device, or by selecting the target area with a user according to a requirement.
In one embodiment, upon entering the capture preview interface, the image capture device may detect a target object in the current capture scene, such as a person, a scene, such as a hill, cliff, cloud, or an object, such as an airplane, building, etc., in conjunction with AI recognition, prior to responding to a first input to a preview image in the capture preview interface.
After detecting the target object, the target area may be identified from a preview image of the capture preview interface. Specifically, a region including the target object in the current shooting scene may be identified from the preview image of the shooting preview interface as a target region that needs to generate a smear effect. After determining the target area, the image photographing device detects whether a first input from a user is received. The first input is, for example, a sliding input of a finger of the user in the photographing preview interface.
In a case where a first input from a user is received, a smear direction and a smear distance are acquired in response to the first input to the preview image in the photographing preview interface.
In another embodiment, after entering the capture preview interface, the image capture device may further receive a second input to the preview image in the capture preview interface before responding to the first input to the preview image in the capture preview interface; in response to the second input, the target area is determined.
The second input may be, for example, a click input or a slide input of a finger of the user for previewing an image in the shooting preview interface. For example, when the image shooting device detects the click input of the finger of the user for previewing the image in the shooting preview interface, the position of the target area is determined according to the clicked position, and the size of the target area is determined according to the click strength. For another example, the slide input may be a closed shape drawn by a slide of a finger on the preview image in the image preview interface, and the image capturing apparatus determines the area of the slide input as the target area when detecting the slide input of the preview image in the capture preview interface by the user. After determining the target area, the image photographing device detects whether a first input from a user is received. The first input is, for example, a sliding input of a finger of the user in the photographing preview interface.
In a case where a first input from a user is received, a smear direction and a smear distance are acquired in response to the first input to the preview image in the photographing preview interface.
In one embodiment, in the case of shooting a target video, before controlling the lens module to expose the preview image, the image shooting device may further obtain a target time point, the smear direction and the smear distance in response to the first input to a target video picture; and when the target time point is reached, moving the image corresponding to the target time point by the smear distance according to the smear direction to obtain the target video.
For example, the target video includes 10 seconds, and the first input is a click input to a time axis of the target video screen. After receiving a 7 th-second click input on the time axis of the target video picture, the image shooting device responds to the first input, and obtains that the target time point is the 7 th second, namely, a first exposure mode is adopted for a frame image corresponding to the 7 th second to generate a smear effect.
Specifically, the image capturing device exposes each frame of image in the target video frame by frame, and exposes frame images corresponding to the 1 st second to the 6 th second and the 8 th to the 10 th second in a second exposure mode, that is, exposes frame images corresponding to the 1 st second to the 6 th second and the 8 th to the 10 th second in an optical anti-shake mode respectively; and exposing the frame image corresponding to the 7 th second by adopting a first exposure mode, namely, controlling the lens module group to move the smear distance to the frame image corresponding to the 7 th second according to the smear direction, and splicing the 10 second images after the exposure is finished to obtain the target video with the effect similar to the smear.
It should be noted that, during the non-exposure time, the lens module needs to be controlled to move to the central position, so as to ensure that the lens module always has the maximum anti-shake stroke.
According to the technical scheme of the embodiment of the application, the smear direction and the smear distance are obtained by responding to the first input of the preview image in the shooting preview interface; controlling the lens module to expose the preview image to obtain a target image; exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction. Therefore, an image with a smear effect can be generated in the target area of the image according to the acquired smear direction and the smear distance, and the interestingness of image shooting is increased.
The following describes a complete flow of the image capturing method according to the present embodiment with reference to a specific example.
In one example, the target area is identified by the image capture device for the target object.
Specifically, the user turns on the camera/shooting function, and at this time, the electronic device enters the shooting preview interface. After entering the shooting preview interface, the image shooting device may detect a target object in a preview image of the shooting preview interface in combination with AI recognition. The target object may be, for example, a person, a scene such as a hill, cliff, or a cloud, or an object such as an airplane, a building, or the like.
After detecting the target object, the target area may be identified from a preview image of the capture preview interface. After the target area is recognized, the image capturing device detects whether a first input from a user is received. The first input is, for example, a sliding input of a finger of the user in the photographing preview interface.
And under the condition that the first input is received, the image shooting device responds to the first input, obtains the sliding direction and the sliding distance of the finger of the user on the preview image of the shooting preview interface, determines the sliding direction as the smear direction, and determines the sliding distance as the smear distance.
After the smear direction and the smear distance are obtained, when the image shooting device detects that a user clicks the input of a shooting button of the shooting preview interface, the lens module is controlled to expose the preview image to obtain the target image in response to the input of the shooting button.
In the process of controlling the lens module to expose the preview image to obtain the target image, when a target area needing to generate a smear effect is exposed, controlling the lens module to expose by adopting a first exposure mode, namely, enabling the lens module to move the smear distance according to the smear direction; and when the exposure of the target area is finished, controlling the lens module to carry out exposure by adopting a second exposure mode, namely, enabling the lens module to carry out exposure by adopting a common optical anti-shake mode.
And exposing each row of the pixel array of the preview image according to the method until all pixel points in the pixel array are exposed to obtain the target image. Thus, a target image having a smear effect in the target region and a high-definition effect in the region other than the target region can be generated.
In another example, the target area is selected by the user on demand.
Specifically, the user turns on the camera/shooting function, and at this time, the electronic device enters the shooting preview interface. After entering the shooting preview interface, the image shooting device can receive a second input of a preview image of the shooting preview interface; and determining the target area in response to the second input.
In a case where the target area is determined, the image capturing apparatus acquires a sliding direction and a sliding distance of a finger of a user in a preview image of the photographing preview interface in response to the first input, determines the sliding direction as a smear direction, and determines the sliding distance as the smear distance.
After the smear direction and the smear distance are obtained, when the image shooting device detects that a user clicks the input of a shooting button of the shooting preview interface, the lens module is controlled to expose the preview image to obtain the target image in response to the input of the shooting button.
In the process of controlling the lens module to expose the preview image to obtain the target image, when a target area needing to generate a smear effect is exposed, controlling the lens module to expose by adopting a first exposure mode, namely, enabling the lens module to move the smear distance according to the smear direction; and when the exposure of the target area is finished, controlling the lens module to carry out exposure by adopting a second exposure mode, namely, enabling the lens module to carry out exposure by adopting a common optical anti-shake mode.
And exposing each row of the pixel array of the preview image according to the method until all pixel points in the pixel array are exposed to obtain the target image. Thus, a target image having a smear effect in the target region and a high-definition effect in the region other than the target region can be generated.
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, and the interest of the captured image is increased.
It should be noted that, in the image capturing method provided in the embodiment of the present application, the execution subject may be an image capturing apparatus, or a control module in the image capturing apparatus for executing the image capturing method. The image capturing apparatus provided in the embodiment of the present application is described with an example in which an image capturing apparatus executes an image capturing method.
Fig. 3 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present application. As shown in fig. 3, the image capturing apparatus 3000 according to the embodiment of the present application may include: a response module 3100 and a control module 3200.
The response module 3100 is configured to obtain a smear direction and a smear distance in response to a first input to capture a preview image in a preview interface.
The control module 3200 is configured to control the lens module to expose the preview image to obtain a target image.
Exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
In one embodiment, the apparatus 3000 further comprises: and the identification module is used for identifying the target area from the preview image.
In one embodiment, the apparatus 3000 further comprises: a receiving module, configured to receive a second input to the preview image; the response module 3100 is further configured to determine the target region in response to the second input.
In one embodiment, the response module 3100 is further configured to: in response to the first input to a target video picture, acquiring a target time point, the smear direction and the smear distance; the control module 3200 is further operable to: and when the target time point is reached, moving the image corresponding to the target time point by the smear distance according to the smear direction to obtain the target video.
The image shooting device of the embodiment is used for responding to the first input of the preview image in the shooting preview interface, acquiring the response module of the smear direction and the smear distance, and controlling the lens module to expose the preview image to obtain the control module of the target image, so that the image with the smear effect can be generated in the target area of the image according to the acquired smear direction and the smear distance, and the interestingness of shooting the image is increased.
The image capturing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device. The mobile electronic device may be, for example, a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application are not limited in particular.
The image capturing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The image capturing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 5000 according to an embodiment of the present application is further provided, and includes a processor 5100, a memory 5200, and a program or an instruction stored in the memory 5200 and executable on the processor 5100, where the program or the instruction, when executed by the processor 5100, implements each process of the embodiment of the image capturing method shown in fig. 1, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the processor 610 is configured to obtain a smear direction and a smear distance in response to a first input to capture a preview image in a preview interface; controlling the lens module to expose the preview image to obtain a target image; exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
In one embodiment, the processor 610 is further configured to: the target area is identified from the preview image.
In one embodiment, the user input unit 607 is configured to: a second input to the preview image is received. The processor 610 is further configured to: in response to the second input, the target area is determined.
In one embodiment, in response to the first input to the target video picture, a target time point, the smear direction and the smear distance are obtained; and when the target time point is reached, moving the image corresponding to the target time point by the smear distance according to the smear direction to obtain the target video.
The electronic device of the embodiment of the application can be used for executing the technical scheme of the embodiment of the method, and the implementation principle and the technical effect are similar, which are not described herein again.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image capturing method shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the image capturing method shown in fig. 1, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An image shooting method is applied to electronic equipment, the electronic equipment comprises a lens module, and the method is characterized by comprising the following steps:
responding to a first input of a preview image in a shooting preview interface, and acquiring a smear direction and a smear distance;
controlling the lens module to expose the preview image to obtain a target image;
exposing a target area in the preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
2. The method of claim 1, wherein in response to the first input to capture the preview image in the preview interface, the method further comprises:
the target area is identified from the preview image.
3. The method of claim 1, wherein in response to the first input to capture the preview image in the preview interface, the method further comprises:
receiving a second input to the preview image;
in response to the second input, the target area is determined.
4. The method according to claim 1, wherein in the case of shooting a target video, before the controlling the lens module to expose the preview image, the method further comprises:
in response to the first input to a target video picture, acquiring a target time point, the smear direction and the smear distance;
and when the target time point is reached, moving the image corresponding to the target time point by the smear distance according to the smear direction to obtain the target video.
5. An image shooting device is applied to electronic equipment, and the electronic equipment comprises a lens module, and is characterized in that the device comprises:
the response module is used for responding to a first input of a preview image in the shooting preview interface, and acquiring a smear direction and a smear distance;
the control module is used for controlling the lens module to expose the preview image to obtain a target image;
exposing a target area in a preview image by adopting a first exposure mode; the first exposure mode is to control the lens module to move the smear distance according to the smear direction.
6. The apparatus of claim 5, further comprising:
and the identification module is used for identifying the target area from the preview image.
7. The apparatus of claim 5, further comprising:
a receiving module, configured to receive a second input to the preview image;
the response module is further to determine the target area in response to the second input.
8. The apparatus of claim 5, wherein the response module is further configured to: in response to the first input to a target video picture, acquiring a target time point, the smear direction and the smear distance;
the control module is further configured to: and when the target time point is reached, moving the image corresponding to the target time point by the smear distance according to the smear direction to obtain the target video.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the image capture method of any of claims 1-4.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, carry out the steps of the image capturing method as claimed in any one of claims 1 to 4.
CN202111374013.1A 2021-11-18 2021-11-18 Image shooting method and device, electronic equipment and readable storage medium Pending CN114125226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111374013.1A CN114125226A (en) 2021-11-18 2021-11-18 Image shooting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111374013.1A CN114125226A (en) 2021-11-18 2021-11-18 Image shooting method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114125226A true CN114125226A (en) 2022-03-01

Family

ID=80396596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111374013.1A Pending CN114125226A (en) 2021-11-18 2021-11-18 Image shooting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114125226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361502A (en) * 2022-08-26 2022-11-18 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361502A (en) * 2022-08-26 2022-11-18 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111866392B (en) Shooting prompting method and device, storage medium and electronic equipment
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
CN112822412B (en) Exposure method, exposure device, electronic equipment and storage medium
CN112291475B (en) Photographing method and device and electronic equipment
CN112291473B (en) Focusing method and device and electronic equipment
CN113099122A (en) Shooting method, shooting device, shooting equipment and storage medium
CN112333382B (en) Shooting method and device and electronic equipment
CN112532881A (en) Image processing method and device and electronic equipment
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN113873166A (en) Video shooting method and device, electronic equipment and readable storage medium
CN112492215A (en) Shooting control method and device and electronic equipment
CN114390201A (en) Focusing method and device thereof
CN112788244B (en) Shooting method, shooting device and electronic equipment
CN113866782A (en) Image processing method and device and electronic equipment
CN112511743B (en) Video shooting method and device
CN113709368A (en) Image display method, device and equipment
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112734661A (en) Image processing method and device
CN112437231A (en) Image shooting method and device, electronic equipment and storage medium
US20230164446A1 (en) Imaging exposure control method and apparatus, device and storage medium
CN114286011B (en) Focusing method and device
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN112653841B (en) Shooting method and device and electronic equipment
CN112153291B (en) Photographing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination