WO2022179331A1 - 拍摄方法、装置、移动终端及存储介质 - Google Patents

拍摄方法、装置、移动终端及存储介质 Download PDF

Info

Publication number
WO2022179331A1
WO2022179331A1 PCT/CN2022/071833 CN2022071833W WO2022179331A1 WO 2022179331 A1 WO2022179331 A1 WO 2022179331A1 CN 2022071833 W CN2022071833 W CN 2022071833W WO 2022179331 A1 WO2022179331 A1 WO 2022179331A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
end position
sliding operation
focus
sliding
Prior art date
Application number
PCT/CN2022/071833
Other languages
English (en)
French (fr)
Inventor
邓俊杰
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022179331A1 publication Critical patent/WO2022179331A1/zh

Links

Images

Classifications

    • 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/62Control of parameters via user interfaces
    • 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/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Definitions

  • the present application relates to the technical field of mobile terminals, and more particularly, to a photographing method, device, mobile terminal and storage medium.
  • Mobile terminals such as mobile phones, tablet computers, etc.
  • a mobile terminal is usually provided with a camera, so as to realize the shooting function.
  • the mobile terminal usually has a focusing function, but when the user performs focusing and shooting, it is inconvenient for the user to operate.
  • the present application proposes a photographing method, device, mobile terminal and storage medium.
  • an embodiment of the present application provides a shooting method, which is applied to a mobile terminal.
  • the method includes: displaying a shooting interface, where the shooting interface includes a preview area and a shooting button; and responding to a sliding operation on the shooting button, When the end position of the sliding operation is located in the preview area, a shooting focus is determined according to the end position; focusing is performed according to the shooting focus; and a shooting operation is triggered after the focusing is completed.
  • an embodiment of the present application provides a photographing apparatus, which is applied to a mobile terminal.
  • the apparatus includes: an interface display module, a focus determination module, a focus execution module, and a photographing execution module, wherein the interface display module is used for Displaying a shooting interface, the shooting interface includes a preview area and a shooting button; the focus determination module is configured to respond to a sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, according to the The end position is determined to determine the shooting focus; the focusing execution module is used for focusing according to the shooting focus; the shooting execution module is used for triggering a shooting operation after the focusing is completed.
  • embodiments of the present application provide a mobile terminal, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and The one or more programs are configured to be executed by the one or more processors, and the one or more programs are configured to execute the shooting method provided by the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the shooting provided in the first aspect above. method.
  • FIG. 1 shows a flowchart of a photographing method according to an embodiment of the present application.
  • FIG. 2 shows a schematic diagram of an interface provided by an embodiment of the present application.
  • FIG. 3 shows another schematic diagram of an interface provided by an embodiment of the present application.
  • FIG. 4 shows another schematic diagram of an interface provided by an embodiment of the present application.
  • FIG. 5 shows a flowchart of a photographing method according to another embodiment of the present application.
  • FIG. 6 shows a flowchart of a photographing method according to yet another embodiment of the present application.
  • FIG. 7 shows a schematic diagram of an interface provided by another embodiment of the present application.
  • FIG. 8 shows another interface schematic diagram provided by another embodiment of the present application.
  • FIG. 9 is a schematic diagram of another interface provided by another embodiment of the present application.
  • FIG. 10 shows a flowchart of a photographing method according to still another embodiment of the present application.
  • FIG. 11 shows a schematic diagram of an interface provided by another embodiment of the present application.
  • FIG. 12 shows a block diagram of a photographing apparatus according to an embodiment of the present application.
  • FIG. 13 is a block diagram of a mobile terminal for executing a photographing method according to an embodiment of the present application according to an embodiment of the present application.
  • FIG. 14 is a storage unit for storing or carrying a program code for implementing the photographing method according to the embodiment of the present application according to the embodiment of the present application.
  • the penetration rate of mobile terminals in daily life is close to universal coverage.
  • the camera module has become the main function point of the smart terminal. Users can take photos and videos through the camera function of the mobile terminal, and the obtained images can be taken immediately. It is convenient and fast, not only that, but users often upload the captured images to the Internet to share with others. Shooting with mobile terminals has basically replaced traditional cameras.
  • the first focus shooting scheme is: click on the preview screen to determine the focus area, slide two fingers in the preview screen at the same time, and adjust the zoom factor by adjusting the distance between the two fingers to focus. Then click the capture button to shoot.
  • the second focusing scheme is: click on the preview screen to determine the focus area, use your finger to control the zoom factor adjustment button in the preview interface to adjust the zoom factor to focus, and then click the shooting button to shoot.
  • the inventor found that in the focus shooting scheme, when taking pictures with one hand, the distance between the focus area and the shutter area is far away, and the operation is inconvenient. The focus operation may have failed.
  • the inventor proposes the shooting method, device, mobile terminal and storage medium provided by the embodiments of the present application, which can realize that the user can focus and trigger the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the shooting operation.
  • the user's operation improves the shooting experience.
  • the specific shooting method will be described in detail in the following embodiments.
  • This embodiment provides a shooting method, which is applied to a mobile terminal, and the method includes:
  • the shooting interface includes a preview area and a shooting button
  • the shooting method when the response to the sliding operation of the shooting button, when the end position of the sliding operation is located in the preview area, before determining the shooting focus according to the end position, the shooting method It may also include the following process: in response to a pressing operation on the shooting button, judging whether the pressing operation satisfies a preset pressing condition; if the pressing operation satisfies the preset pressing condition, responding to a sliding operation on the shooting button , and when the end position of the sliding operation is located in the preview area, the shooting focus is determined according to the end position.
  • the preset pressing condition includes at least one of the following conditions:
  • the pressing duration corresponding to the pressing operation is greater than the first duration
  • the pressing area corresponding to the pressing operation is larger than the preset area
  • the pressing pressure value corresponding to the pressing operation is greater than the preset pressure value.
  • the triggering a shooting operation after the focusing is completed includes: after the focusing is completed, triggering a shooting operation when a finger is detected to leave the screen.
  • the method before triggering a shooting operation when the finger is detected to leave the screen after the focusing is completed, the method further includes: responding to a new sliding operation performed at the end position, according to At the end position of the new sliding operation, the shooting focus is re-determined; focusing is performed according to the re-determined shooting focus.
  • the method before the determining of the shooting focus according to the end position, the method further includes: detecting the duration that the end position is continuously pressed as a second duration, and the start of the second duration The moment is the sliding end moment of the sliding operation; when the second duration is greater than the third duration, the shooting focus is determined according to the end position.
  • the method further includes: when the second time period is greater than the third time period and the end position is continuously pressed, displaying an area corresponding to the end position for adjusting the specified value. Indication information of shooting parameters; in response to a parameter adjustment operation based on the instruction information, the specified shooting parameters are adjusted.
  • the indication information includes a parameter indication bar
  • the parameter indication bar includes different parameter values corresponding to the specified shooting parameters
  • the response is based on a parameter adjustment operation based on the indication information
  • the specified parameter is adjusted for the specified shooting parameter.
  • Adjusting the shooting parameters includes: obtaining the selected parameter value in response to a designated sliding operation based on the parameter indicator bar, where the designated sliding operation is performed under the condition that the end position is continuously pressed; Set to the selected parameter value.
  • the indication information includes a parameter value corresponding to the designated shooting parameter
  • the adjusting the designated shooting parameter in response to a parameter adjustment operation based on the indication information includes: according to the end point The pressing force when the position is continued to be pressed determines the corresponding parameter value; the specified shooting parameter is set as the corresponding parameter value.
  • the indication information includes a parameter value corresponding to the designated shooting parameter
  • the adjusting the designated shooting parameter in response to a parameter adjustment operation based on the indication information includes: according to the end point The pressing duration when the position is continuously pressed determines the corresponding parameter value; the specified shooting parameter is set as the corresponding parameter value.
  • the responding to the sliding operation for the shooting button includes: displaying an indication control in response to the sliding operation for the shooting button, and controlling the indication control to move according to the sliding track of the sliding operation , the indicating control is used to indicate the end position of the sliding operation.
  • controlling the indication control to move according to the sliding trajectory of the sliding operation includes: controlling the indication control to move according to the sliding trajectory of the sliding operation.
  • the responding to the sliding operation of the shooting button includes: controlling the shooting button to move according to the sliding track of the sliding operation.
  • the method further includes: controlling the shooting button to move back to an initial position in the shooting interface.
  • controlling the shooting button to move back to the initial position in the shooting interface includes: according to the sliding track of the sliding operation, controlling the shooting button to move back to the shooting interface the initial position.
  • controlling the shooting button to move back to the initial position in the shooting interface includes: determining the shortest path for the shooting button to move from the current position back to the initial position; controlling the shooting button according to the shortest path The shooting button moves back to the original position in the shooting interface.
  • determining the shooting focus according to the end position includes: responding to the sliding operation for the preview area. For the sliding operation of the shooting button, if the sliding operation satisfies the preset sliding condition, when the end position of the sliding operation is located in the preview area, the shooting focus is determined according to the end position.
  • This embodiment also provides a photographing device, which is applied to a mobile terminal.
  • the device includes: an interface display module, a focus determination module, a focus execution module, and a photographing execution module, wherein the interface display module is used to display a photographing interface, and the
  • the shooting interface includes a preview area and a shooting button; the focus determination module is configured to respond to a sliding operation for the shooting button, and when the end position of the sliding operation is located in the preview area, determine the shooting according to the end position focus; the focus execution module is used for focusing according to the shooting focus; the shooting execution module is used for triggering a shooting operation after the focusing is completed.
  • This embodiment also provides a mobile terminal, comprising: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be The one or more processors are executed, and the one or more programs are configured to execute the above-mentioned shooting method.
  • This embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the above-mentioned shooting method.
  • FIG. 1 shows a schematic flowchart of a photographing method provided by an embodiment of the present application.
  • the photographing method is applied to the photographing apparatus 400 shown in FIG. 12 and the mobile terminal 100 ( FIG. 13 ) equipped with the photographing apparatus 400 .
  • the following will take a mobile terminal as an example to describe the specific process of this embodiment.
  • the mobile terminal applied in this embodiment may be a smart phone, a tablet computer, a smart watch, smart glasses, etc., which is not limited here. .
  • the process shown in FIG. 1 will be described in detail below, and the shooting method may specifically include the following steps:
  • Step S110 Display a shooting interface, where the shooting interface includes a preview area and a shooting button.
  • the shooting interface is an interface displayed in a shooting mode.
  • a shooting interface can be displayed.
  • the shooting mode may be that when the mobile terminal detects that the system camera is turned on, the system camera is operated in the foreground to enter the shooting mode, and the shooting interface of the system camera is displayed.
  • the shooting mode can also be that when the mobile terminal detects that the third-party camera application is turned on, it runs the third-party camera application in the foreground to enter the shooting mode, and displays the shooting interface of the third-party system camera; the shooting mode can also be that the mobile terminal is in the shooting mode.
  • the camera is called to shoot, and the shooting mode is entered, and the shooting interface is displayed.
  • the above-mentioned system camera, third-party camera application and other camera applications can be opened by detecting the touch operation on the control (icon) of the application. Of course, the opening of the camera application can also be triggered by voice control. Do limit.
  • the shooting interface may include a preview area and a shooting button.
  • the preview area is used to display the shooting preview image;
  • the shooting button is used to trigger the shooting of the image, and may also refer to the shutter button or the shutter button.
  • the shooting interface A1 includes a preview area A2 and a shooting button A3, the preview area A2 is used to display the shooting preview image, and the shooting button A3 can be used to control the image shooting. When the shooting button A3 is clicked, it can Control the camera to capture images.
  • the shooting interface may also include other content.
  • the shooting interface may also include: a selection area for shooting modes, an album button, a camera switching button, etc.
  • the selection area of the shooting mode is used to select different shooting modes, such as night scene, video, portrait, photo and other shooting modes;
  • the album button is used to trigger the start of the album;
  • the camera switch button can be used to switch the front camera and the rear camera. , which is not limited here.
  • Step S120 In response to the sliding operation on the shooting button, when the end position of the sliding operation is located in the preview area, determine the shooting focus according to the end position.
  • the mobile terminal may detect a touch operation in the shooting interface, and the touch operation may include a pressing operation, a click operation, a sliding operation, etc. acting on the shooting interface.
  • the mobile terminal may respond to the touch operation, and determine whether the touch operation is a sliding operation.
  • the sliding operation on the shooting button refers to touching the shooting button, and after selecting the shooting button, the sliding operation is performed without leaving the screen with the finger.
  • the mobile terminal may respond to the sliding operation and determine whether the end position of the sliding operation is located in the preview area, that is, determine whether the sliding operation of the sliding operation is performed. After stopping, whether the end position of its sliding track is in the preview area. If the end position of the sliding operation is located in the preview area, it means that the current user needs to focus on the position. Therefore, the focus area corresponding to the end position in the preview image of the preview area can be determined according to the end position to obtain the shooting focus.
  • the focus area may be an area of a preset size centered on the end position, and the specific value of the preset size may not be limited. Of course, the focus area may also be an area of a preset size where the end position is not in the center, that is, the end position only needs to be within the focus area.
  • Step S130 Focus according to the shooting focus.
  • the mobile terminal after determining the shooting focus, can focus according to the shooting focus. Focusing refers to the process of making the image of the object clear by changing the distance and position of the object, also called focusing and focusing. Among them, the mobile terminal can use contrast focusing, phase focusing and triangular ranging focusing, etc., and the specific focusing method is not limited.
  • contrast focusing uses an algorithm to identify the screen contrast, and when the contrast is the highest, it is confirmed that the focusing is successful , as the focusing lens begins to move, the picture becomes clearer and the contrast begins to rise; when the picture is the clearest and the contrast is the highest, it is already in focus, but the camera doesn't know it, so it will continue to move the lens until it finds that the contrast begins to decrease; Move the lens further and find that the contrast is further reduced, and the camera knows that it has missed focus; the lens retreats to the position with the highest contrast, and the focus is completed.
  • Step S140 After the focusing is completed, a shooting operation is triggered.
  • a shooting operation can be triggered, that is, the shooting operation is automatically performed, the scene is shot, and the shot image is obtained.
  • the user can perform the focusing operation and trigger the shooting operation by sliding the shooting button to the position that needs to be focused, which greatly facilitates the user to focus and perform the shooting operation when shooting.
  • the mobile terminal can respond to the sliding operation of the shooting button A2, and when the sliding operation is slid to the position B in the preview area A3, the shooting focus can be determined according to the position B, and the focus is performed. After that, perform the shooting operation.
  • the shooting interface includes a preview area and a shooting button, and in response to a sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, the shooting is determined according to the end position. Focus, and then focus according to the shooting focus, when the focus is completed, trigger the shooting operation. In this way, the user can perform focusing and triggering to complete the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the user's operation and improves the shooting experience.
  • FIG. 5 shows a schematic flowchart of a photographing method provided by another embodiment of the present application.
  • the photographing method is applied to the above-mentioned mobile terminal, and the flow shown in FIG. 5 will be described in detail below.
  • the photographing method may specifically include the following steps:
  • Step S210 Display a shooting interface, where the shooting interface includes a preview area and a shooting button.
  • step S210 reference may be made to the content of the foregoing embodiments, and details are not described herein again.
  • Step S220 In response to the pressing operation on the shooting button, determine whether the pressing operation satisfies a preset pressing condition.
  • the mobile terminal may determine whether the pressing operation satisfies the preset pressing conditions when detecting the pressing operation of the shooting button in the shooting interface. It is understandable that after the mobile terminal displays the shooting interface, the user may touch the shooting button by mistake and slide the shooting button when operating the mobile terminal, and after sliding to the preview area, the focus and shooting will be triggered by mistake. Moreover, if the user needs to focus and shoot, when moving the shooting button, he needs to touch the shooting button first, and then the pressing operation of the shooting button is detected.
  • a preset pressing condition can be set, and when a pressing operation on the shooting button is detected, it is necessary to determine whether the pressing operation determines the preset pressing condition; if the pressing operation satisfies the preset pressing condition, it means that the user needs to perform Focus operation and subsequent trigger shooting operation; if the pressing operation does not meet the preset pressing conditions, it means that the user's previous operation does not require the user to perform focusing and subsequent trigger shooting operations.
  • the pressing operation is that the user normally clicks the shooting button to trigger Shooting operations, etc.
  • the compression conditions include at least one of the following conditions:
  • the pressing duration corresponding to the pressing operation is greater than the first duration; the pressing area corresponding to the pressing operation is greater than the preset area; and the pressing pressure value corresponding to the pressing operation is greater than the preset pressure value.
  • the preset pressing conditions include that when the pressing duration corresponding to the pressing operation is greater than the first duration, if the pressing operation of the shooting button in the photographing interface is detected, it can be determined whether the pressing duration of the pressing operation is greater than the first duration, if If the pressing duration of the pressing operation is longer than the first duration, it is determined that the pressing operation satisfies the preset pressing condition; otherwise, it can be determined that the pressing operation does not meet the preset pressing condition.
  • the first duration may be 1 second, 1.5 seconds, 2 seconds, etc., and the specific value may not be limited.
  • the preset pressing conditions include that when the pressing area corresponding to the pressing operation is larger than the predetermined area, when the mobile terminal detects the pressing operation of the shooting button, it can determine whether the pressing area of the pressing operation is larger than the preset area, and if the pressing operation is If the pressing area of the operation is larger than the preset area, it is determined that the pressing operation satisfies the preset pressing condition; otherwise, it can be determined that the pressing operation does not satisfy the preset pressing condition.
  • the specific value of the preset area may not be limited.
  • the preset pressing conditions include that when the pressing pressure value corresponding to the pressing operation is greater than the preset pressure value, when the mobile terminal detects the pressing operation on the shooting button, it can determine whether the pressing force of the pressing operation is greater than the preset pressure value , if the pressing force of the pressing operation is greater than the preset pressure value, it is determined that the pressing operation satisfies the preset pressing condition; otherwise, it can be determined that the pressing operation does not meet the preset pressing condition.
  • the specific value of the preset pressure value may not be limited.
  • the above preset pressing conditions may also be combined, for example, the pressing operation needs to satisfy the pressing pressure value greater than the preset pressing pressure value and the pressing duration greater than the first duration at the same time.
  • Step S230 If the pressing operation satisfies the preset pressing condition, in response to the sliding operation on the shooting button, when the end position of the sliding operation is located in the preview area, determine the shooting focus according to the end position .
  • the mobile terminal can respond to the sliding operation for the shooting button, and when the end position of the sliding operation is located in the preview area, determine the shooting focus according to the end position. That is, if the pressing operation satisfies the preset pressing condition, if it is detected that the shooting button is slid to the preview area, the determination of the shooting focus and subsequent steps can be performed. If the pressing operation does not satisfy the preset pressing condition, even if the sliding operation is detected, the sliding operation is not responded, that is, the determination of the shooting focus and the subsequent steps are not performed.
  • Step S240 Focus according to the shooting focus.
  • Step S250 After the focusing is completed, a shooting operation is triggered.
  • step S240 and step S250 may refer to the contents of other embodiments, which will not be repeated here.
  • the shooting interface includes a preview area and a shooting button, and in response to a sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, the shooting is determined according to the end position. Focus, and then focus according to the shooting focus, when the focus is completed, trigger the shooting operation. Therefore, it can be realized that the user can focus and trigger to complete the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the user's operation and improves the shooting experience.
  • the sliding operation on the shooting button and subsequent steps are performed only when the pressing operation satisfies the preset pressing conditions, which can effectively avoid false triggering of focusing and shooting operations.
  • FIG. 6 shows a schematic flowchart of a photographing method provided by another embodiment of the present application.
  • the photographing method is applied to the above-mentioned mobile terminal, and the flow shown in FIG. 6 will be described in detail below.
  • the photographing method may specifically include the following steps:
  • Step S310 Display a shooting interface, where the shooting interface includes a preview area and a shooting button.
  • step S310 reference may be made to the contents of other embodiments, and details are not repeated here.
  • Step S320 In response to the sliding operation on the shooting button, when the end position of the sliding operation is located in the preview area, determine the shooting focus according to the end position.
  • the mobile terminal when the mobile terminal detects the sliding operation of the shooting button in the shooting interface, if the end position of the sliding operation is located in the preview area, the mobile terminal determines the shooting focus according to the end position.
  • the mobile terminal when detecting a sliding operation on the shooting button, may also display an indication control in response to the sliding operation for the shooting button, and control the indication control to move according to the sliding trajectory of the sliding operation.
  • the indication control is used to indicate the end position of the sliding operation.
  • the mobile terminal may display an indication control, and the indication control moves along the sliding trajectory of the sliding operation, that is, to which position the sliding operation is currently slid, the indication control also moves.
  • the indication control moves along the sliding trajectory of the sliding operation, that is, to which position the sliding operation is currently slid, the indication control also moves.
  • the specific presentation form of the indication control may not be limited.
  • the indicating control A4 may be a circle-shaped control, and when the sliding operation is an upward sliding operation, the indicating control A4 also moves upward along the sliding track.
  • the indicating control A4 may also be a control mirrored with the shooting button. In the above manner, when the user performs a sliding operation on the shooting button, the realism of sliding the shooting button can be improved.
  • the mobile terminal when it detects the sliding operation on the shooting button, it can also control the shooting button in the shooting interface to move in response to the sliding operation for the shooting button, and the shooting button follows the sliding trajectory of the sliding operation. make a move. In this way, the user can feel the real experience of moving the shooting button.
  • the mobile terminal can complete the shooting operation subsequently, and after the shooting is completed, control the shooting button to move back to the initial position in the shooting interface.
  • the mobile terminal can control the shooting button to move back to the initial position in the shooting interface according to the sliding trajectory of the sliding operation on the shooting button; as another way, the mobile terminal can determine that the shooting button is moved from the current position The shortest path to move back to the initial position, and then control the shooting button to move back to the initial position in the shooting interface according to the shortest path.
  • the mobile terminal can display the animation effect of the restoration of the shooting button, thereby improving the user experience.
  • a preset sliding condition for the sliding operation may also be set. That is to say, if the sliding operation satisfies the preset sliding condition, the step of determining the shooting focus according to the end position when the end position of the sliding operation is located in the preview area is performed.
  • the preset sliding condition may be: the sliding track satisfies the preset sliding track, the sliding length is greater than the specified length, and the like. Exemplarily, after the user slides the shooting button to satisfy the sliding operation of the preset sliding track, and then slides to the position where the user wants to focus, the focusing and shooting operations can be triggered.
  • Step S330 Focus according to the shooting focus.
  • step S330 reference may be made to the contents of other embodiments, and details are not described herein again.
  • Step S340 After the focusing is completed, when it is detected that the finger leaves the screen, a shooting operation is triggered.
  • the user may need to determine whether the effect of the focused preview image is the desired focusing effect. Therefore, the shooting operation may not be triggered temporarily, and the user may detect that the finger leaves the screen. , trigger the shooting operation, that is, when the user lets go of the hand, the shooting operation is automatically performed, the scene is shot, and the shot image is obtained. In this way, it can be realized that the user can perform the focusing operation and trigger the shooting operation by sliding the shooting button to the position that needs to be focused, which greatly facilitates the user to focus and perform the shooting operation when shooting.
  • the mobile terminal after the mobile terminal completes the focusing operation, if the user's finger does not leave the screen, and the user determines that the effect of the focused preview image is not the intended focusing effect, the user can respond to the above end position.
  • the shooting focus is re-determined according to the end position of the new sliding operation, and then the focusing is performed according to the re-determined shooting focus.
  • the shooting operation is triggered.
  • the user if the user is still not satisfied with the focusing effect, he can continue to perform a new sliding operation until the focusing effect is the desired focusing effect, and then let go, so that the mobile terminal detects that the finger has left the screen and triggers the shooting operation.
  • the shooting method provided by this embodiment of the present application can also be combined with the shooting method provided in the previous embodiment, that is, after the shooting interface is displayed, in response to the pressing operation of the shooting button, it is judged whether the pressing operation satisfies the preset pressing Condition; if the pressing operation satisfies the preset pressing conditions, in response to the sliding operation of the shooting button, when the end position of the sliding operation is located in the preview area, the shooting focus is determined according to the end position; when the focusing is completed, when it is detected that the finger leaves the screen , trigger the shooting operation.
  • the mobile terminal can use the front camera to collect a face image, and determine whether the user's face is a user's face according to the collected face image.
  • a corresponding facial expression action is performed, and when a corresponding facial expression action is detected, a shooting operation can be triggered.
  • the facial expression actions may be actions such as blinking, pouting, and the like, and the specific facial expression actions may not be limited.
  • the facial expression action is an eye blinking action
  • the mobile terminal can continuously collect face images, and when it is determined that the human face blinks continuously (for example, blinking 3 times) according to the continuously collected multiple face images, trigger the Shooting operation.
  • the mobile terminal can collect the voice through the microphone, and after the voice is collected, perform voice recognition on the collected voice, and determine Whether the voice recognition result contains a preset keyword, and if it contains the preset keyword, a shooting operation is triggered.
  • the shooting interface includes a preview area and a shooting button, and in response to a sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, the shooting is determined according to the end position. Focus, and then focus according to the shooting focus, when the focus is completed, trigger the shooting operation. Therefore, it can be realized that the user can focus and trigger to complete the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the user's operation and improves the shooting experience.
  • the shooting operation can be performed only when it is detected that the user's finger has left the screen, so that the user can check the focusing effect, and determine whether to refocus according to the focusing effect, so as to meet the user's needs for focusing.
  • FIG. 10 shows a schematic flowchart of a photographing method provided by still another embodiment of the present application.
  • the photographing method is applied to the above-mentioned mobile terminal, and the flow shown in FIG. 10 will be described in detail below.
  • the photographing method may specifically include the following steps:
  • Step S410 Display a shooting interface, where the shooting interface includes a preview area and a shooting button.
  • step S410 reference may be made to the content of the foregoing embodiments, and details are not described herein again.
  • Step S420 In response to the sliding operation on the shooting button, when the end position of the sliding operation is located in the preview area, detect the duration of the continuous pressing of the end position as the second duration, and the start of the second duration.
  • the start time is the slide end time of the slide operation.
  • the mobile terminal when detecting the sliding operation of the shooting button, the mobile terminal may monitor the sliding trajectory of the sliding operation, and after the sliding operation stops sliding, detect the duration that the end position is continuously pressed as the second duration.
  • the start time of the second duration is the end time of the sliding operation of the sliding operation. That is to say, after the sliding operation stops sliding, when the finger does not leave the screen, that is, when the finger continues to stay at the end position, the duration of the continuous pressing of the end position is detected as the third duration to determine whether the second duration is greater than the third duration. duration. It is understandable that after the user slides the shooting button, the user may be slow to select the focus, so there may be a short stay when sliding.
  • the second duration and determine whether the second duration is greater than the third duration; if the second duration is greater than the third duration, it means that the user has actually stopped the sliding operation; if the second duration is less than or equal to the third duration, it means that the user is currently It might just be a brief pause during the swipe, rather than actually stopping the swipe.
  • the third duration may be 1 second, 2 seconds, 3 seconds, etc., and the specific value thereof may not be limited.
  • Step S430 When the second duration is greater than the third duration, determine the shooting focus according to the end position.
  • the mobile terminal may determine whether to perform the determination of the shooting focus and subsequent steps according to the determination result. If it is determined that the second duration is greater than the third duration, it means that the current user has stopped the sliding operation, so the shooting focus can be determined according to the end position. If it is determined that the second duration is not greater than the third duration, it means that the current user has not stopped the sliding operation. Since the user may continue to perform the sliding operation, determining the shooting focus based on the end position may not be performed temporarily.
  • the third duration may be 1 second, 2 seconds, etc., and the specific value may be determined according to the user's habit.
  • Step S440 When the second duration is longer than the third duration and the end position is continuously pressed, display instruction information for adjusting the specified shooting parameters in the area corresponding to the end position.
  • the shooting parameters can also be adjusted in response to the user's operation before shooting. Specifically, after it is determined that the second duration is greater than the third duration, and the end position is continuously pressed, instruction information for adjusting the specified shooting parameters may be displayed in the area corresponding to the end position.
  • the area corresponding to the end position may be an area near the end position.
  • the mobile terminal may display a display near the indication control for adjusting the specified control Indicative information for shooting parameters.
  • the mobile terminal may determine the pressing area of the current finger, and display instruction information for adjusting the specified shooting parameters at a position that is a preset distance from the pressing area.
  • the manner in which the mobile terminal displays the indication information may not be limited.
  • the designated shooting parameters may be preset shooting parameters, that is, the designated shooting parameters may be preset.
  • the specified shooting parameters may include: exposure compensation value, zoom ratio, focal length, sensitivity, aperture size, or contrast.
  • the specific designated shooting parameters may not be limited.
  • Step S450 Adjust the designated shooting parameters in response to the parameter adjustment operation based on the indication information.
  • the mobile terminal after displaying the above instruction information for adjusting the specified shooting parameters, the mobile terminal can continue to detect the user's operation on the shooting interface, and in the case of detecting the parameter adjustment operation, respond to the parameter adjustment operation and respond to the parameter adjustment operation.
  • the shooting parameters specified above are adjusted.
  • the above indication information may be a parameter indication bar, and the parameter indication bar includes different parameter values corresponding to the specified shooting parameters.
  • the mobile terminal can obtain the selected parameter value in response to the specified sliding operation based on the parameter indicator bar, the specified sliding operation is performed under the condition that the end position is continuously pressed; and the specified shooting parameter is set as the selected parameter value.
  • the parameter indication bars may be displayed in a vertical arrangement or a horizontal arrangement.
  • the parameter indication bar A5 is displayed in a vertical arrangement, and the middle position of the parameter indication bar A5 may correspond to the above end position. In this way, the user can continue to perform vertical The sliding operation in the direction to select different parameter values on the parameter indicator bar A5.
  • the parameter indicator bar is displayed in a vertical arrangement, and the top position of the parameter indicator bar can correspond to the above end position. In this way, the user can continue to slide down vertically from the end position. to select a different parameter value on the parameter bar.
  • the parameter indicator bar is displayed in a vertical arrangement, and the bottom position of the parameter indicator bar can correspond to the above end position. In this way, the user can continue to perform the vertical upward sliding operation from the end position. to select a different parameter value on the parameter bar.
  • processing can also be performed with reference to the above vertical arrangement.
  • the indication information may include parameter values corresponding to the specified shooting parameters, and the mobile terminal may determine the corresponding parameter values according to the pressing force when the above end position is continuously pressed; set the specified shooting parameters to the the corresponding parameter value.
  • the current parameter value corresponding to the above-specified shooting parameter may be displayed near the above-mentioned end position in the form of indication information.
  • the mobile terminal may determine the corresponding parameter value according to the pressing force when the above end position is continuously pressed.
  • the current parameter values displayed above also change accordingly, so that the user can view the currently selected shooting parameter values, so that the user can select the required parameter values.
  • the parameter value corresponding to the detected pressing force can be used as the parameter value finally selected by the user, and the specified shooting parameter can be set as the detected pressing force. the corresponding parameter value.
  • the indication information may include parameter values corresponding to the specified shooting parameters, and the current parameter values corresponding to the above specified shooting parameters may be displayed near the above end position in the form of indication information.
  • the mobile terminal may determine the corresponding parameter value according to the duration of the above-mentioned end position being continuously pressed, and set the specified shooting parameter as the corresponding parameter value.
  • the displayed current parameter value also changes accordingly, so that the user can view the currently selected shooting parameter value, so that the user can select the required parameter value.
  • the subsequent steps can be performed, that is, after the focusing is completed, the shooting operation is triggered.
  • the mobile terminal can also move to the above end position.
  • the indicating controls or shooting buttons of the are displayed as roulette controls, and the roulette controls are used to adjust the specified shooting parameters to meet the user's adjustment requirements for the specified shooting parameters.
  • the roulette control is used to adjust the specified shooting parameters, that is, by operating the roulette control, the shooting parameters of the camera application can be changed, and the changed parameters are sent to the camera service After that, the adjustment effect of the shooting parameters required by the user is achieved.
  • the control is a user interface control
  • the roulette control can be a user interface control with a similar appearance to a roulette among the user interface controls.
  • the roulette control is not limited to the traditional roulette-shaped control. It can also be a frame-shaped user interface control in the user interface control, and the roulette control can also be a list-shaped control, which is not limited here.
  • the operation on the roulette control may include continuing to operate at the end position, and controlling the roulette control may specifically include one or more of a pressing operation, a rotating operation, and the like.
  • the roulette control includes a pointer and multiple parameter values.
  • the pointer By detecting the rotation operation at the above end position, the pointer is placed at the position of different parameter values, so as to complete the selection of different parameter values, and assign the specified The shooting parameters are adjusted to the corresponding parameter values; for another example, the roulette control includes a pointer and multiple parameter values.
  • the pointer By detecting the pressing operation at the above terminal position, the pointer can be placed in different positions according to the pressing force, pressing duration, etc. The position of the parameter value is completed, thereby completing the selection of different parameter values, and adjusting the specified shooting parameters to the corresponding parameter values.
  • Step S460 After the focusing is completed, a shooting operation is triggered.
  • the shooting interface in response to the pressing operation on the shooting button, it is judged whether the pressing operation satisfies the preset pressing condition; if the pressing operation satisfies the preset pressing condition, in response to the sliding operation on the shooting button, the end position of the sliding operation is located at When previewing the area, the duration for which the end position is continuously pressed is detected as the second duration, and the starting moment of the second duration is the sliding end moment of the sliding operation; when the second duration is greater than the third duration, According to the end position, the shooting focus is determined; when the second duration is longer than the third duration and the end position is continuously pressed, an area corresponding to the end position is displayed to adjust the specified shooting parameters. Indication information; in response to a parameter adjustment operation based on the indication information, the specified shooting parameters are adjusted; after the focusing is completed, when it is detected that the finger leaves the screen, the shooting operation is triggered.
  • the above adjustment of the shooting parameters is located in the sliding operation at the end position.
  • the indication information will be displayed, so the preset track can be slid from the end position.
  • the end position is re-determined according to the continued sliding operation, and the step of detecting the duration of the end position being continuously pressed as the second duration is performed until after the focusing is completed, when the finger is detected Step that triggers a capture action when you leave the screen.
  • the mobile terminal may also be preset with a one-handed mode.
  • the mobile terminal may perform the subsequent steps in response to the sliding operation of the shooting button only in the case of the one-handed mode.
  • the mobile terminal can display a control control corresponding to the one-handed mode, and the control control is used to control the opening or closing of the one-handed mode; Matching with the preset swipe gesture, you can control the one-handed mode to be turned on or off.
  • the specific way of controlling the turning on or off of the one-handed mode may not be limited.
  • the shooting interface includes a preview area and a shooting button, and in response to a sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, the shooting is determined according to the end position. Focus, and then focus according to the shooting focus, when the focus is completed, trigger the shooting operation. Therefore, it can be realized that the user can focus and trigger to complete the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the user's operation and improves the shooting experience.
  • the determination of the shooting focus and subsequent A step of is also displayed, so that the user can adjust the parameter values of the designated shooting parameters to meet the shooting needs of the user.
  • FIG. 12 shows a structural block diagram of a photographing apparatus 400 provided by an embodiment of the present application.
  • the photographing apparatus 400 applies the above-mentioned mobile terminal, and the photographing apparatus 400 includes: an interface display module 410 , a focus determination module 420 , a focus execution module 430 and a photographing execution module 440 .
  • the interface display module 410 is used to display the shooting interface, and the shooting interface includes a preview area and a shooting button; the focus determination module 420 is used to respond to the sliding operation for the shooting button, at the end point of the sliding operation When the position is in the preview area, the shooting focus is determined according to the end position; the focus execution module 430 is used for focusing according to the shooting focus; the shooting execution module 440 is used for triggering when the focusing is completed Shooting operation.
  • the photographing apparatus 400 may further include: a pressing determination module.
  • the pressing judging module is configured to respond to the pressing operation for the shooting button and determine whether the pressing operation satisfies the preset pressing condition;
  • the focus determining module 420 is configured to respond to the pressing operation if the pressing operation satisfies the preset pressing condition In the sliding operation of the shooting button, when the end position of the sliding operation is located in the preview area, the shooting focus is determined according to the end position.
  • the preset pressing condition includes at least one of the following conditions:
  • the pressing duration corresponding to the pressing operation is greater than the first duration
  • the pressing area corresponding to the pressing operation is larger than the preset area
  • the pressing pressure value corresponding to the pressing operation is greater than the preset pressure value.
  • the shooting execution module 440 may be specifically configured to trigger a shooting operation when it is detected that the finger leaves the screen after the focusing is completed.
  • the focus determination module 420 may be further configured to: in response to a new sliding operation performed at the end position, re-determine the shooting focus according to the end position of the new sliding operation; and according to the newly determined shooting focus to focus.
  • the photographing apparatus 400 may further include: a pressing duration acquisition module.
  • the pressing duration acquiring module is configured to detect the duration that the end position is continuously pressed as the second duration, and the start time of the third duration is the end moment of the sliding operation of the sliding operation.
  • the focus determination module 420 may be configured to determine the shooting focus according to the end position when the second duration is greater than the third duration.
  • the photographing device 400 may further include: an indication information display module and a parameter adjustment module.
  • the instruction information display module is used to display instruction information for adjusting the specified shooting parameters in the area corresponding to the end position when the second duration is longer than the third duration and the end position is continuously pressed; parameters
  • the adjustment module is configured to adjust the specified shooting parameters in response to the parameter adjustment operation based on the indication information.
  • the indication information includes a parameter indication bar
  • the parameter indication bar includes different parameter values corresponding to the specified shooting parameters.
  • the parameter adjustment module may be specifically configured to: acquire the selected parameter value in response to a specified sliding operation based on the parameter indicator bar, and the specified sliding operation is performed under the condition that the end position is continued to be pressed; The parameter is set to the selected parameter value.
  • the indication information includes parameter values corresponding to the specified shooting parameters.
  • the parameter adjustment module may be specifically configured to: determine the corresponding parameter value according to the pressing force when the end position is continuously pressed; and set the designated shooting parameter to the corresponding parameter value.
  • the indication information includes parameter values corresponding to the specified shooting parameters.
  • the parameter adjustment module may be specifically configured to: determine the corresponding parameter value according to the pressing duration when the end position is continued to be pressed; and set the designated shooting parameter to the corresponding parameter value.
  • the photographing apparatus 400 may further include: a control display module.
  • the control display module may be specifically configured to: in response to a sliding operation on the shooting button, display an indication control, and control the indication control to move according to the sliding trajectory of the sliding operation, and the indication control is used to indicate the position of the sliding operation. end position.
  • control display module may be specifically configured to: control the indication control to move following the sliding track of the sliding operation.
  • the photographing apparatus 400 may further include: a button control module.
  • the button control module is configured to: in response to a sliding operation on the shooting button, control the shooting button to move according to the sliding track of the sliding operation.
  • the button control module may be further configured to: control the shooting button to move back to the initial position in the shooting interface after the shooting operation is triggered after the focusing is completed.
  • the button control module may be specifically configured to: control the shooting button to move back to the initial position in the shooting interface according to the sliding trajectory of the sliding operation.
  • the button control module may be specifically configured to: determine the shortest path for the shooting button to move from the current position back to the initial position; and control the shooting button to move back to the initial position in the shooting interface according to the shortest path.
  • the focus determination module may be specifically configured to: in response to a sliding operation on the shooting button, if the sliding operation satisfies a preset sliding condition, execute the end position of the sliding operation at the preview When the area is selected, the shooting focus is determined according to the end position.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the shooting interface includes a preview area and a shooting button, and in response to the sliding operation for the shooting button, when the end position of the sliding operation is located in the preview area, according to the end position, Determine the shooting focus, then focus according to the shooting focus, and trigger the shooting operation when the focus is completed. Therefore, it can be realized that the user can focus and trigger to complete the shooting operation by sliding the shooting button to the corresponding position in the preview area, which simplifies the user's operation and improves the shooting experience.
  • the mobile terminal 100 may be a mobile terminal capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or the like.
  • the mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a display screen 130, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and accessed by Configured to be executed by one or more processors 110, the one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts in the entire mobile terminal 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120.
  • the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, and is implemented by a communication chip alone.
  • the memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data created by the terminal 100 during use (such as phone book, audio and video data, chat record data) and the like.
  • the display screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the mobile terminal 100, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof.
  • the display screen 130 may be a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED), which is not limited herein.
  • FIG. 14 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 800 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium.
  • Computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products.
  • Program code 810 may be compressed, for example, in a suitable form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种拍摄方法、装置、移动终端及存储介质,该方法包括:显示拍摄界面,拍摄界面包括预览区域以及拍摄按钮;响应针对拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点;根据拍摄焦点进行对焦;当对焦完成后,触发拍摄操作。本方法可以方便用户进行对焦和完成拍摄操作。

Description

拍摄方法、装置、移动终端及存储介质
相关申请的交叉引用
本申请要求于2021年2月23日提交的申请号为202110203653.X的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及移动终端技术领域,更具体地,涉及一种拍摄方法、装置、移动终端及存储介质。
背景技术
移动终端,例如手机、平板电脑等,已经成为人们日常生活中最常用的消费型电子产品之一。随着科技水平的发展,移动终端通常会设置有摄像头,从而实现拍摄功能。并且移动终端通常具有对焦功能,但用户在进行对焦和拍摄时,存在不方便用户操作的情况。
发明内容
鉴于上述问题,本申请提出了一种拍摄方法、装置、移动终端及存储介质。
第一方面,本申请实施例提供了一种拍摄方法,应用于移动终端,所述方法包括:显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;根据所述拍摄焦点进行对焦;当所述对焦完成后,触发拍摄操作。
第二方面,本申请实施例提供了一种拍摄装置,应用于移动终端,所述装置包括:界面显示模块、焦点确定模块、对焦执行模块以及拍摄执行模块,其中,所述界面显示模块用于显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;所述焦点确定模块用于响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;所述对焦执行模块用于根据所述拍摄焦点进行对焦;所述拍摄执行模块用于当所述对焦完成后,触发拍摄操作。
第三方面,本申请实施例提供了一种移动终端,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的拍摄方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的拍摄方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据本申请一个实施例的拍摄方法流程图。
图2示出了本申请一个实施例提供的一种界面示意图。
图3示出了本申请一个实施例提供的另一种界面示意图。
图4示出了本申请一个实施例提供的又一种界面示意图。
图5示出了根据本申请另一个实施例的拍摄方法流程图。
图6示出了根据本申请又一个实施例的拍摄方法流程图。
图7示出了本申请又一个实施例提供的一种界面示意图。
图8示出了本申请又一个实施例提供的另一种界面示意图。
图9示出了本申请又一个实施例提供的又一种界面示意图。
图10示出了根据本申请再一个实施例的拍摄方法流程图。
图11示出了本申请再一个实施例提供的一种界面示意图。
图12示出了根据本申请一个实施例的拍摄装置的一种框图。
图13是本申请实施例的用于执行根据本申请实施例的拍摄方法的移动终端的框图。
图14是本申请实施例的用于保存或者携带实现根据本申请实施例的拍摄方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
当前,移动终端在日常生活使用中,普及率已近乎全民覆盖,其中,相机模块,已成为智能终端主要功能点,用户可通过移动终端的相机功能,拍摄照片与视频,所得的图像即拍即得,方便快捷,不仅如此,用户也经常将拍摄的图像上传到网上与他人一起分享。移动终端进行拍摄已基本取代了传统的摄像机。
在通过移动终端进行拍摄时,用户时常会有对焦的需求。目前常用的对焦拍摄方案主要有如下两种:第一种对焦拍摄方案为:在预览画面中点击确定对焦区域,两手指同时在预览画面中滑动,通过调整两手指间距离调整变焦倍数进行对焦,然后再点击拍摄按钮进行拍摄。第二种对焦方案为:在预览画面中点击确定对焦区域,通过手指控制预览界面中的变焦倍数调节按钮来调整变焦倍数进行对焦,然后再点击拍摄按钮进行拍摄。
发明人经过长期的研究发现,在对焦拍摄的方案中,单手拍照时,对焦区域与快门区域距离较远,操作不方便,另外,对焦具有时效性,在对焦后再将手指移动至快门,可能对焦操作已经失效。
针对上述问题,发明人提出了本申请实施例提供的拍摄方法、装置、移动终端以及存储介质,可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户的操作,提升了拍摄体验。其中,具体的拍摄方法在后续的实施例中进行详细的说明。
本实施例提供一种拍摄方法,应用于移动终端,所述方法包括:
显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;
响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;
根据所述拍摄焦点进行对焦;
当所述对焦完成后,触发拍摄操作。
在一种实施方式中,在所述响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点之前,所述拍摄方法还可以包括如下流程:响应针对所述拍摄按钮的按压操作,判断所述按压操作是否满足预设按压条件;若所述按压操作满足所述预设按压条件,响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
在一种实施方式中,所述预设按压条件包括以下条件中至少一种:
所述按压操作对应的按压时长大于第一时长;
所述按压操作对应的按压面积大于预设面积;
所述按压操作对应的按压压力值大于预设压力值。
在一种实施方式中,所述当所述对焦完成后,触发拍摄操作,包括:当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
在一种实施方式中,在所述当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作之前,所述方法还包括:响应于所述终点位置进行的新的滑动操作,根据所述新的滑动操作的终点位置,重新确定拍摄焦点;根据重新确定的拍摄焦点进行对焦。
在一种实施方式中,在所述根据所述终点位置,确定拍摄焦点之前,所述方法还包括:检测所述终点位置被持续按压的时长作为第二时长,所述第二时长的起始时刻为所述滑动操作的滑动结束时刻;在所述第二时长大于第三时长时,根据所述终点位置,确定拍摄焦点。
在一种实施方式中,所述方法还包括:在所述第二时长大于所述第三时长,且所述终点位 置被继续按压时,于所述终点位置对应的区域,显示用于调整指定拍摄参数的指示信息;响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整。
在一种实施方式中,所述指示信息包括参数指示条,所述参数指示条包括所述指定拍摄参数对应的不同参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:响应基于所述参数指示条的指定滑动操作,获取选取的参数值,所述指定滑动操作为所述终点位置被继续按压的情况下进行的;将所述指定拍摄参数设置为所述选取的参数值。
在一种实施方式中,所述指示信息包括所述指定拍摄参数对应的参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:根据所述终点位置被继续按压时的按压力度,确定对应的参数值;将所述指定拍摄参数设置为所述对应的参数值。
在一种实施方式中,所述指示信息包括所述指定拍摄参数对应的参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:根据所述终点位置被继续按压时的按压时长,确定对应的参数值;将所述指定拍摄参数设置为所述对应的参数值。
在一种实施方式中,所述响应针对所述拍摄按钮的滑动操作,包括:响应针对所述拍摄按钮的滑动操作,显示指示控件,并控制所述指示控件根据所述滑动操作的滑动轨迹移动,所述指示控件用于指示所述滑动操作的终点位置。
在一种实施方式中,所述控制所述指示控件根据所述滑动操作的滑动轨迹移动,包括:控制所述指示控件跟随所述滑动操作的滑动轨迹而移动。
在一种实施方式中,所述响应针对所述拍摄按钮的滑动操作,包括:控制所述拍摄按钮根据所述滑动操作的滑动轨迹移动。
在一种实施方式中,在所述当所述对焦完成后,触发拍摄操作之后,所述方法还包括:控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
在一种实施方式中,所述控制所述拍摄按钮移回至所述拍摄界面中的初始位置,包括:按照所述滑动操作的滑动轨迹,控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
在一种实施方式中,所述控制所述拍摄按钮移回至所述拍摄界面中的初始位置,包括:确定所述拍摄按钮由当前位置移动回初始位置的最短路径;按所述最短路径控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
在一种实施方式中,所述响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点,包括:响应针对所述拍摄按钮的滑动操作,若所述滑动操作满足预设滑动条件,执行所述在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
本实施例还提供一种拍摄装置,应用于移动终端,所述装置包括:界面显示模块、焦点确定模块、对焦执行模块以及拍摄执行模块,其中,所述界面显示模块用于显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;所述焦点确定模块用于响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;所述对焦执行模块用于根据所述拍摄焦点进行对焦;所述拍摄执行模块用于当所述对焦完成后,触发拍摄操作。
本实施例还提供一种移动终端,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的拍摄方法。
本实施例还提供一种计算机可读取存储介质,其所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述的拍摄方法。
请参阅图1,图1示出了本申请一个实施例提供的拍摄方法的流程示意图。在具体的实施例中,所述拍摄方法应用于如图12所示的拍摄装置400以及配置有所述拍摄装置400的移动终端100(图13)。下面将以移动终端为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的移动终端可以为智能手机、平板电脑、智能手表、智能眼镜等,在此不做限定。下面将针对图1所示的流程进行详细的阐述,所述拍摄方法具体可以包括以下步骤:
步骤S110:显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮。
在本申请实施例中,该拍摄界面为拍摄模式下显示的界面。移动终端在进入到拍摄模式时,可以显示拍摄界面。该拍摄模式可以是移动终端在检测到系统相机被开启时,在前台运行系统 相机进入拍摄模式,并显示系统相机的拍摄界面。
该拍摄模式也可以是移动终端在检测到第三方相机应用被开启时,在前台运行第三方相机应用进入拍摄模式,并显示该第三方系统相机的拍摄界面;该拍摄模式还可以是移动终端在检测到应用运行时调用摄像头进行拍摄,而进入拍摄模式,并显示拍摄界面。上述系统相机、第三方相机应用等相机应用的开启,可以通过检测到对应用的控件(图标)进行触控操作,当然,也可以通过语音控制等方式,触发对相机应用的开启,在此不做限定。
在一些实施方式中,该拍摄界面可以包括:预览区域以及拍摄按钮。其中,预览区域用于显示拍摄预览图;该拍摄按钮用于触发对图像的拍摄,也可以指快门按钮或者快门按键。例如,请参阅图2,拍摄界面A1中包括预览区域A2以及拍摄按钮A3,预览区域A2用于展示拍摄预览图像,拍摄按钮A3可以用于控制图像拍摄,当拍摄按钮A3被点击时,则可以控制摄像头进行图像拍摄。
当然,拍摄界面中也还可以包括其他内容,例如,拍摄界面中还可以包括:拍摄模式的选择区域、相册按钮、摄像头切换按钮等,当然,拍摄界面中的具体内容可以做限定。拍摄模式的选择区域用于选取不同的拍摄模式,例如可以选取夜景、视频、人像、照片等拍摄模;相册按钮用于触发相册的启动;摄像头切换按钮可以用于切换前置摄像头与后置摄像头,在此不做限定。
步骤S120:响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
在本申请实施例中,移动终端可以对拍摄界面中的触控操作检测,触控操作可以包括作用于拍摄界面中的按压操作、点击操作、滑动操作等。当检测到拍摄界面中对拍摄按钮的触控操作时,移动终端可以响应该触控操作,并且判断该触控操作是否为滑动操作。其中,对拍摄按钮的滑动操作指触控拍摄按钮,对拍摄按钮选中后,手指不离开屏幕的情况下进行滑动操作。
在本申请实施例中,在检测到针对拍摄界面中的拍摄按钮的滑动操作时,则移动终端可以响应该滑动操作,确定该滑动操作的终点位置是否位于预览区域,即确定该滑动操作的滑动停止后,其滑动轨迹的终点位置是否位于预览区域。若滑动操作的终点位置位于预览区域,则表示当前用户需要对该位置进行对焦,因此可以根据该终点位置,确定预览区域的预览图像中与该终点位置对应的对焦区域,得到拍摄焦点。可选的,对焦区域可以是以该终点位置为中心的预设大小的区域,预设大小的具体数值可以不做限定。当然,对焦区域也可以是终点位置不在中心的预设大小的区域,即只需要终点位置在该对焦区域内即可。
步骤S130:根据所述拍摄焦点进行对焦。
在本申请实施例中,移动终端在确定出拍摄焦点后,则可以根据拍摄焦点进行对焦。对焦指通过变动物距和相距的位置,使被拍物成像清晰的过程,也叫对光、聚焦。其中,移动终端进行对焦可以利用反差对焦,相位对焦和三角测距对焦等,具体对焦方式可以不做限定,以反差对焦为例,反差对焦是利用算法识别画面对比度,当对比度最高时确认对焦成功,随着对焦镜片开始移动,画面逐渐清晰,对比度开始上升;当画面最清晰,对比度最高时,其实已经处于合焦状态,但相机并不知道,所以会继续移动镜头,当发现对比度开始下降;进一步移动镜片,发现对比度进一步下降,相机知道已经错过焦点;镜片回退至对比度最高的位置,完成对焦。
步骤S140:当所述对焦完成后,触发拍摄操作。
在本申请实施例中,当移动终端完成对焦操作后,则可以触发拍摄操作,即自动执行拍摄操作,对场景进行拍摄,获得拍摄图像。由此,可以实现用户通过对拍摄按钮进行滑动到需要对焦的位置处,即可进行对焦操作以及触发拍摄操作,极大的方便了用户拍摄时进行对焦和进行拍摄操作。
示例性的,请参阅图3及图4,移动终端可以响应对拍摄按钮A2的滑动操作,当滑动操作滑动至预览区域A3中的位置B处,则可以根据位置B确定拍摄焦点,并进行对焦后,执行拍摄操作。
本申请实施例提供的拍摄方法,通过显示拍摄界面,该拍摄界面包括预览区域以及拍摄按钮,响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点,然后根据拍摄焦点进行对焦,当对焦完成后,触发拍摄操作。从而可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户 的操作,提升了拍摄体验。
请参阅图5,图5示出了本申请另一个实施例提供的拍摄方法的流程示意图。该拍摄方法应用于上述移动终端,下面将针对图5所示的流程进行详细的阐述,所述拍摄方法具体可以包括以下步骤:
步骤S210:显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮。
在本申请实施例中,步骤S210可以参阅前述实施例的内容,在此不再赘述。
步骤S220:响应针对所述拍摄按钮的按压操作,判断所述按压操作是否满足预设按压条件。
在本申请实施例中,为避免用户误触发对焦以及拍摄操作的情况,移动终端可以在检测到拍摄界面中对拍摄按钮的按压操作时,判断按压操作是否满足预设按压条件。可以理解地,移动终端在显示拍摄界面后,用户在操作移动终端时,可能会存在误触拍摄按钮并滑动拍摄按钮的情况,而且恰好滑动至预览区域后,则会导致误触发对焦和触发拍摄;并且,若用户需要进行对焦和拍摄,对拍摄按钮进行移动时,则需要先触控拍摄按钮,而检测到对拍摄按钮的按压操作。因此,可以设置预设按压条件,在检测到对拍摄按钮的按压操作的情况下,需要判断按压操作是否判断该预设按压条件;若按压操作满足该预设按压条件,则表示是用户需要进行对焦操作和后续触发拍摄操作;若按压操作不满足该预设按压条件,则表示用户此前的操作并不是用户需要进行对焦和后续触发拍摄操作,例如,该按压操作是用户正常点击拍摄按钮,触发拍摄操作等。
在一些实施方式中,按压条件包括以下条件中至少一种:
所述按压操作对应的按压时长大于第一时长;所述按压操作对应的按压面积大于预设面积;所述按压操作对应的按压压力值大于预设压力值。
在该实施方式中,预设按压条件包括按压操作对应的按压时长大于第一时长时,若检测到拍摄界面中对拍摄按钮的按压操作,可以判断按压操作的按压时长是否大于第一时长,如果按压操作的按压时长大于第一时长,则确定该按压操作满足预设按压条件,反之,则可以确定该按压操作不满足预设按压条件。其中,第一时长可以为1秒,1.5秒,2秒等,具体数值可以不做限定。
在该实施方式中,预设按压条件包括按压操作对应的按压面积大于预设面积时,移动终端检测到对拍摄按钮的按压操作时,可以判断按压操作的按压面积是否大于预设面积,如果按压操作的按压面积大于预设面积,则确定该按压操作满足预设按压条件,反之,则可以确定该按压操作不满足预设按压条件。其中,预设面积的具体数值可以不做限定。
在该实施方式中,预设按压条件包括按压操作对应的按压压力值大于预设压力值时,移动终端检测到对拍摄按钮的按压操作时,可以判断按压操作的按压力度是否大于预设压力值,如果按压操作的按压力度大于预设压力值,则确定该按压操作满足预设按压条件,反之,则可以确定该按压操作不满足预设按压条件。其中,预设压力值的具体数值可以不做限定。
在一些实施方式中,以上预设按压条件也可以组合,例如,按压操作需要同时满足按压压力值大于预设按压压力值,且按压时长大于第一时长。
步骤S230:若所述按压操作满足所述预设按压条件,响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
在本申请实施例中,在检测到按压操作是否满足预设按压条件后,则可以根据检测结果,确定是否执行拍摄焦点的确定以及后续的步骤。其中,若按压操作满足预设按压条件时,则移动终端可以响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据该终点位置,确定拍摄焦点。也就是说,若按压操作满足预设按压条件时,若检测到对该拍摄按钮进行滑动,且滑动至预览区域,则可以执行拍摄焦点的确定以及后续的步骤。若按压操作不满足预设按压条件时,即使检测到滑动操作,也不响应滑动操作,即不执行拍摄焦点的确定以及后续的步骤。
步骤S240:根据所述拍摄焦点进行对焦。
步骤S250:当所述对焦完成后,触发拍摄操作。
在本申请实施例中,步骤S240以及步骤S250可以参阅其他实施例的内容,在此不再赘述。
本申请实施例提供的拍摄方法,通过显示拍摄界面,该拍摄界面包括预览区域以及拍摄按 钮,响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点,然后根据拍摄焦点进行对焦,当对焦完成后,触发拍摄操作。从而可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户的操作,提升了拍摄体验。另外,在检测到对拍摄按钮的按压操作时,在按压操作满足预设按压条件的情况下,才执行响应对拍摄按钮的滑动操作以及后续的步骤,可以有效避免误触发进行对焦以及拍摄操作。
请参阅图6,图6示出了本申请又一个实施例提供的拍摄方法的流程示意图。该拍摄方法应用于上述移动终端,下面将针对图6所示的流程进行详细的阐述,所述拍摄方法具体可以包括以下步骤:
步骤S310:显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮。
在本申请实施例中,步骤S310可以参阅其他实施例的内容,在此不再赘述。
步骤S320:响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
在本申请实施例中,移动终端在检测到拍摄界面中对拍摄按钮的滑动操作的情况下,若滑动操作的终点位置位于预览区域时,则执行根据终点位置,确定拍摄焦点。
在一些实施方式中,移动终端检测到对拍摄按钮的滑动操作时,还可以响应针对该拍摄按钮的滑动操作,显示指示控件,并控制指示控件根据滑动操作的滑动轨迹移动。其中,指示控件用于指示滑动操作的终点位置。
在该实施方式中,为便于用户知晓当前滑动操作滑动至的位置,移动终端可以显示指示控件,该指示控件跟随滑动操作的滑动轨迹而移动,即滑动操作当前滑动至哪个位置,则指示控件也跟随移动至该位置。
在该实施方式中,指示控件的具体呈现形式可以不做限定。示例性的,请同时参阅图7、图8及图9,指示控件A4可以为圆圈形状的控件,滑动操作为往上滑动的操作时,指示控件A4也跟随滑动轨迹往上移动。示例性的,指示控件A4也可以为与拍摄按钮镜像的控件。通过以上方式,可以使用户在对拍摄按钮进行滑动操作时,可以提升滑动拍摄按钮的真实感。
在一些实施方式中,移动终端检测到对拍摄按钮的滑动操作时,还可以响应针对该拍摄按钮的滑动操作,控制拍摄界面中的该拍摄按钮进行移动,并且该拍摄按钮跟随滑动操作的滑动轨迹进行移动。通过该方式,可以使用户感受到对拍摄按钮进行移动的真实体验。
在该实施方式下,由于拍摄按钮进行了位置的移动,移动终端可以在后续完成拍摄操作,拍摄完成之后,控制拍摄按钮移动回拍摄界面中的初始位置。作为一种方式,移动终端可以根据对拍摄按钮的滑动操作的滑动轨迹,按照该滑动轨迹控制拍摄按钮移动回拍摄界面中的初始位置;作为另一种方式,移动终端可以确定拍摄按钮由当前位置移动回初始位置的最短路径,然后按照该最短路径控制拍摄按钮移动回拍摄界面中的初始位置。通过以上方式,使得移动终端可以展示拍摄按钮复原的动画效果,提升用户体验。
在一些实施方式中,在检测到对拍摄按钮的滑动操作时,为避免用户误触发对焦以及触发拍摄操作,还可以设置滑动操作的预设滑动条件。也就是说,若滑动操作满足预设滑动条件,才执行所述在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点的步骤。该预设滑动条件可以为:滑动轨迹满足预设滑动轨迹、滑动长度大于指定长度等。示例性的,用户在对拍摄按钮滑动满足预设滑动轨迹的滑动操作之后,再滑动至想要对焦的位置处,即可触发对焦以及拍摄操作。
步骤S330:根据所述拍摄焦点进行对焦。
在本申请实施例中,步骤S330可以参阅其他实施例的内容,在此不再赘述。
步骤S340:当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
在本申请实施例中,当移动终端完成对焦操作后,用户可能需要确定对焦后的预览图像的效果是不是其想要的对焦效果,因此可以暂时不触发拍摄操作,而是检测到手指离开屏幕时,触发拍摄操作,即用户松手时自动执行拍摄操作,对场景进行拍摄,获得拍摄图像。由此,可以实现用户通过对拍摄按钮进行滑动到需要对焦的位置处,即可进行对焦操作以及触发拍摄操作,极大的方便了用户拍摄时进行对焦和进行拍摄操作。
在一些实施方式中,当移动终端完成对焦操作后,若用户的手指未离开屏幕,且用户确定对焦后的预览图像的效果不是想要的对焦效果时,则用户可以响应于以上终点位置进行的新的 滑动操作,根据新的滑动操作的终点位置,重新确定拍摄焦点,然后再根据重新确定的拍摄焦点进行对焦。在对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。当然,若用户仍对对焦效果不满意,则可以继续进行新的滑动操作,直至对焦效果为其想要的对焦效果后,再松手,使移动终端检测到手指离开屏幕,触发拍摄操作。
在一些实施方式中,本申请实施例提供的拍摄方法,也可以与前一个实施例提供的拍摄方法结合,即显示拍摄界面后,响应针对拍摄按钮的按压操作,判断按压操作是否满足预设按压条件;若按压操作满足预设按压条件,响应针对拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点;当对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
在一些实施方式中,作为利用手指离开屏幕触发拍摄操作的变形实施例,在对焦完成后,移动终端可以利用前置的摄像头采集人脸图像,并根据采集的人脸图像,确定用户人脸是否执行相应的人脸表情动作,在检测到相应的人脸表情动作时,则可以触发拍摄操作。其中,人脸表情动作可以为眨眼、嘟嘴等动作,具体的人脸表情动作可以不做限定。示例性的,人脸表情动作为眨眼动作时,移动终端可以连续采集人脸图像,在根据连续采集的多张人脸图像,确定出人脸做出连续眨眼(例如眨眼3次)时,触发拍摄操作。
在另一些实施方式中,作为利用手指离开屏幕触发拍摄操作的变形实施例,在对焦完成后,移动终端可以通过麦克风采集语音,在采集到语音后,对采集到的语音进行语音识别,并确定语音识别结果是否包含预设关键词,若包含预设关键词,则触发拍摄操作。
本申请实施例提供的拍摄方法,通过显示拍摄界面,该拍摄界面包括预览区域以及拍摄按钮,响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点,然后根据拍摄焦点进行对焦,当对焦完成后,触发拍摄操作。从而可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户的操作,提升了拍摄体验。另外,完成对焦后,可以在检测到用户手指离开屏幕时,才执行拍摄操作,使得用户可以查看对焦效果,并根据对焦效果确定是否重新进行对焦,满足用户对于对焦的需求。
请参阅图10,图10示出了本申请再一个实施例提供的拍摄方法的流程示意图。该拍摄方法应用于上述移动终端,下面将针对图10所示的流程进行详细的阐述,所述拍摄方法具体可以包括以下步骤:
步骤S410:显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮。
在本申请实施例中,步骤S410可以参阅前述实施例的内容,在此不再赘述。
步骤S420:响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,检测所述终点位置被持续按压的时长作为第二时长,所述第二时长的起始时刻为所述滑动操作的滑动结束时刻。
在本申请实施例中,移动终端在检测到对拍摄按钮的滑动操作时,可以监测滑动操作的滑动轨迹,在滑动操作停止滑动后,检测所述终点位置被持续按压的时长作为第二时长。该第二时长的起始时刻为滑动操作的滑动结束时刻。也就是说,在滑动操作停止滑动后,在手指未离开屏幕时,即手指继续停留在终点位置时,检测终点位置被持续按压的时长作为第三时长,以确定该第二时长是否大于第三时长。可以理解的,用户对拍摄按钮进行滑动操作后,可能用户在选取焦点时的操作较慢,因此可能出现滑动时短暂停留的情况,为避免该情况下出现误触发拍摄焦点的确定,可以检测以上第二时长,并确定第二时长是否大于第三时长;若第二时长大于第三时长,表示用户当前真正进行了滑动操作的停止;若第二时长小于或等于第三时长,则表示用户当前可能只是在滑动过程中进行了短暂的停留,而不是真正停止了滑动操作。其中,第三时长可以为1秒、2秒、3秒等,其具体数值可以不做限定。
步骤S430:在所述第二时长大于第三时长时,根据所述终点位置,确定拍摄焦点。
在本申请实施例中,移动终端在检测出第二时长,并判断第二时长是否大于第三时长之后,则可以根据判断结果,确定是否执行拍摄焦点的确定以及后续步骤。若判断出第二时长大于第三时长时,表示当前用户停止了滑动操作,因此可以根据终点位置,确定拍摄焦点。若判断出第二时长不大于第三时长时,表示当前用户未停止滑动操作,由于用户可能继续进行滑动操作,因此可以暂时不执行根据该终点位置,确定拍摄焦点。其中,第三时长可以为1秒,2秒等,具体数值可以根据用户的习惯确定。
步骤S440:在所述第二时长大于所述第三时长,且所述终点位置被继续按压时,于所述终点位置对应的区域,显示用于调整指定拍摄参数的指示信息。
在本申请实施例中,考虑到用户在拍摄前可能需要进行拍摄参数的调整,因此,在执行拍摄前,还可以响应用户操作,进行拍摄参数的调整。具体地,在判断出以上第二时长大于第三时长后,且终点位置被继续按压时,可以于终点位置对应的区域,显示用于调整指定拍摄参数的指示信息。
在一些实施方式中,终点位置对应的区域,可以为终点位置附近的区域。作为一种方式,若移动终端在检测到对拍摄按钮的滑动操作后,显示指示控件,并控制指示控件跟随滑动轨迹进行移动的情况下,移动终端可以于该指示控件的附近显示用于调整指定拍摄参数的指示信息。作为另一种方式,移动终端可以确定当前手指的按压区域,并在相距按压区域预设距离的位置处显示用于调整指定拍摄参数的指示信息。当然,移动终端显示指示信息的方式可以不做限定。
在一些实施方式中,指定拍摄参数可以为预先设定的拍摄参数,也就是说,指定拍摄参数可以预先设定。其中,指定拍摄参数可以包括:曝光补偿值、变焦倍数、焦距、感光度、光圈大小、或者对比度。当然,具体的指定拍摄参数可以不作限定。
步骤S450:响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整。
在本申请实施例中,移动终端在显示以上用于调整指定拍摄参数的指示信息后,则可以继续检测用户于拍摄界面的操作,在检测到参数调整操作的情况下,响应参数调整操作,对以上指定拍摄参数进行调整。
在一些实施方式中,以上指示信息可以为参数指示条,参数指示条包括所述指定拍摄参数对应的不同参数值。移动终端可以响应基于参数指示条的指定滑动操作,获取选取的参数值,该指定滑动操作为终点位置被继续按压的情况下进行的;将指定拍摄参数设置为所述选取的参数值。
在该实施方式中,参数指示条可以以竖直排列、或者横向排列的方式进行显示。作为一种方式,请参阅图11,参数指示条A5以竖直排列的方式进行显示,参数指示条A5的中间位置可以与以上终点位置对应,该方式下,用户可以由终点位置继续进行竖直方向的滑动操作,以选取参数指示条A5上不同的参数值。作为另一种方式,参数指示条以竖直排列的方式进行显示,参数指示条的顶部位置可以与以上终点位置对应,该方式下,用户可以由终点位置继续进行竖直往下的滑动操作,以选取参数指示条上不同的参数值。作为又一种方式,参数指示条以竖直排列的方式进行显示,参数指示条的底部位置可以与以上终点位置对应,该方式下,用户可以由终点位置继续进行竖直往上的滑动操作,以选取参数指示条上不同的参数值。当然,参数指示条以横向排列的方式进行显示时,也可以参考以上竖直排列的方式进行处理。
在另一些实施方式中,指示信息可以包括指定拍摄参数对应的参数值,移动终端可以根据以上终点位置被继续按压时的按压力度,确定对应的参数值;将所述指定拍摄参数设置为所述对应的参数值。
在该实施方式中,以上指定拍摄参数对应的当前参数值可以以指示信息的形式显示于以上终点位置附近。在移动终端被继续按压时,移动终端可以根据以上终点位置被继续按压时的按压力度,确定对应的参数值。当检测到不同的按压力度时,以上显示的当前参数值也相应变化,使用户可以查看到当前选取的拍摄参数值,以便用户选取需求的参数值。在超过第四时长后,若检测到按压力度不发生变化时,则可以将检测到的按压力度对应的参数值,作为用户最终选取的参数值,并将指定拍摄参数设置为检测到的按压力度对应的参数值。
在又一些实施方式中,指示信息可以包括指定拍摄参数对应的参数值,以上指定拍摄参数对应的当前参数值可以以指示信息的形式显示于以上终点位置附近。移动终端被继续按压时,移动终端可以根据以上终点位置被继续按压的时长,确定对应的参数值,并将指定拍摄参数设置为该对应的参数值。当检测到该时长变化时,显示的当前参数值也相应变化,使用户可以查看到当前选取的拍摄参数值,以便用户选取需求的参数值。在检测到手指离开屏幕后,则可以执行后续步骤,即对焦完成后,触发拍摄操作。
在再一些实施方式中,若移动终端显示指示控件跟随滑动轨迹移动至以上终点位置处,或者移动终端控制拍摄按钮跟随滑动轨迹移动至以上终点位置处,移动终端也可以将位移至以上终点位置处的指示控件或者拍摄按钮显示为轮盘控件,该轮盘控件用于对指定拍摄参数的调 整,以满足用户对指定拍摄参数的调整需求。
在该实施方式中,轮盘控件用于对指定拍摄参数进行调整,也就是说,通过对轮盘控件进行操作,可以使得相机应用的拍摄参数发生变化,在将变化后的参数发送给相机服务之后,从而达到用户需求的拍摄参数的调整效果。其中,控件为用户界面控件,轮盘控件可以为用户界面控件中的一种外表与轮盘相似的用户界面控件,当然,轮盘控件并不局限于传统的轮盘造型的控件,轮盘控件也可以为用户界面控件中外部为框型的用户界面控件,轮盘控件还可以为列表形式的控件,在此不做限定。
可选的,对轮盘控件的操作可以包括在终点位置处继续进行操作,控制轮盘控件,具体可以包括按压操作、转动操作等操作中的一种或者多种。例如,轮盘控件中包括指针,以及多个参数值,通过检测到对在以上终点位置处进行的转动操作,使指针处于不同参数值的位置,从而完成对不同参数值的选取,并将指定拍摄参数调整为相应的参数值;又例如,轮盘控件中包括指针,以及多个参数值,可以通过检测对在以上终端位置处的按压操作,根据按压力度、按压时长等,使指针处于不同参数值的位置,从而完成对不同参数值的选取,并将指定拍摄参数调整为相应的参数值。
步骤S460:当所述对焦完成后,触发拍摄操作。
需要说明的是,本申请实施例提供的拍摄方法的实施方式,也可以与其他实施例中提供的实施方式结合。
具体地,显示拍摄界面后,响应针对拍摄按钮的按压操作,判断按压操作是否满足预设按压条件;若按压操作满足预设按压条件,响应针对拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,检测所述终点位置被持续按压的时长作为第二时长,所述第二时长的起始时刻为所述滑动操作的滑动结束时刻;在所述第二时长大于第三时长时,根据所述终点位置,确定拍摄焦点;在所述第二时长大于所述第三时长,且所述终点位置被继续按压时,于所述终点位置对应的区域,显示用于调整指定拍摄参数的指示信息;响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整;当对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
可以理解的是,在以上整个过程中,需满足手指未离开屏幕,也就是,在滑动结束后需要于终点位置停留,以及在终点位置处手指未离开屏幕的情况下进行拍摄参数的调整,最后,在对焦完成后,检测到手指离开屏幕时,触发拍摄操作。
另外,若以上对拍摄参数的调整位于终点位置处的滑动操作。在检测到手指离开屏幕时,触发拍摄操作之前,若用户需要重新确定拍摄焦点,由于在以上第二时长大于第三时长时,会显示指示信息,因此可以由终点位置处进行预设轨迹的滑动操作取消指示信息的显示后,再根据继续进行的滑动操作,重新确定终点位置,并执行检测所述终点位置被持续按压的时长作为第二时长的步骤,至当对焦完成后,在检测到手指离开屏幕时,触发拍摄操作的步骤。
在一些实施方式中,移动终端中还可以预先设置有单手模式。移动终端可以在单手模式的情况下,才响应对拍摄按钮的滑动操作,而执行后续的步骤。可选的,移动终端可以显示单手模式对应的控制控件,该控制控件用于控制单手模式的开启或者关闭;可选的,移动终端也可以根据于拍摄界面中的滑动手势,若滑动手势与预设的滑动手势匹配,则可以控制单手模式的开启或者关闭。当然,具体控制单手模式的开启或者关闭的方式可以不做限定。
本申请实施例提供的拍摄方法,通过显示拍摄界面,该拍摄界面包括预览区域以及拍摄按钮,响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点,然后根据拍摄焦点进行对焦,当对焦完成后,触发拍摄操作。从而可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户的操作,提升了拍摄体验。另外,为避免用户在对拍摄按钮进行滑动过程中的短暂停留的情况,而误触发拍摄焦点的确定,还在终点位置被持续按压的时长大于第三时长时,才执行拍摄焦点的确定以及后续的步骤。并且,在拍摄前,还显示用于调整指定拍摄参数的指示信息,以便用户调整指定拍摄参数的参数值,满足用户的拍摄需求。
请参阅图12,其示出了本申请实施例提供的一种拍摄装置400的结构框图。该拍摄装置400应用上述的移动终端,该拍摄装置400包括:界面显示模块410、焦点确定模块420、对焦执行模块430以及拍摄执行440。其中,所述界面显示模块410用于显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;所述焦点确定模块420用于响应针对所述拍摄按钮的滑动 操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;所述对焦执行模块430用于根据所述拍摄焦点进行对焦;所述拍摄执行模块440用于当所述对焦完成后,触发拍摄操作。
在一些实施方式中,该拍摄装置400还可以包括:按压判断模块。按压判断模块用于响应针对所述拍摄按钮的按压操作,判断所述按压操作是否满足预设按压条件;焦点确定模块420用于若所述按压操作满足所述预设按压条件,响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
可选的,所述预设按压条件包括以下条件中至少一种:
所述按压操作对应的按压时长大于第一时长;
所述按压操作对应的按压面积大于预设面积;
所述按压操作对应的按压压力值大于预设压力值。
在一些实施方式中,拍摄执行模块440可以具体用于:当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
在一些实施方式中,焦点确定模块420还可以用于:响应于所述终点位置进行的新的滑动操作,根据所述新的滑动操作的终点位置,重新确定拍摄焦点;根据重新确定的拍摄焦点进行对焦。
在一些实施方式中,该拍摄装置400还可以包括:按压时长获取模块。按压时长获取模块用于检测所述终点位置被持续按压的时长作为第二时长,所述第三时长的起始时刻为所述滑动操作的滑动结束时刻。焦点确定模块420可以用于在所述第二时长大于第三时长时,根据所述终点位置,确定拍摄焦点。
在该实施方式下,该拍摄装置400还可以包括:指示信息显示模块以及参数调整模块。指示信息显示模块用于在所述第二时长大于所述第三时长,且所述终点位置被继续按压时,于所述终点位置对应的区域,显示用于调整指定拍摄参数的指示信息;参数调整模块用于响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整。
可选的,所述指示信息包括参数指示条,所述参数指示条包括所述指定拍摄参数对应的不同参数值。参数调整模块可以具体用于:响应基于所述参数指示条的指定滑动操作,获取选取的参数值,所述指定滑动操作为所述终点位置被继续按压的情况下进行的;将所述指定拍摄参数设置为所述选取的参数值。
可选的,所述指示信息包括所述指定拍摄参数对应的参数值。参数调整模块可以具体用于:根据所述终点位置被继续按压时的按压力度,确定对应的参数值;将所述指定拍摄参数设置为所述对应的参数值。
可选的,所述指示信息包括所述指定拍摄参数对应的参数值。参数调整模块可以具体用于:根据所述终点位置被继续按压时的按压时长,确定对应的参数值;将所述指定拍摄参数设置为所述对应的参数值。
在一些实施方式中,该拍摄装置400还可以包括:控件显示模块。控件显示模块可以具体用于:响应针对所述拍摄按钮的滑动操作,显示指示控件,并控制所述指示控件根据所述滑动操作的滑动轨迹移动,所述指示控件用于指示所述滑动操作的终点位置。
可选的,控件显示模块可以具体用于:控制所述指示控件跟随所述滑动操作的滑动轨迹而移动。
在一些实施方式中,该拍摄装置400还可以包括:按钮控制模块。按钮控制模块用于:响应针对所述拍摄按钮的滑动操作,控制所述拍摄按钮根据所述滑动操作的滑动轨迹移动。
可选的,按钮控制模块还可以用于:在所述当所述对焦完成后,触发拍摄操作之后,控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
可选的,按钮控制模块可以具体用于:按照所述滑动操作的滑动轨迹,控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
可选的,按钮控制模块可以具体用于:确定所述拍摄按钮由当前位置移动回初始位置的最短路径;按所述最短路径控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
在一些实施方式中,焦点确定模块可以具体用于:响应针对所述拍摄按钮的滑动操作,若所述滑动操作满足预设滑动条件,执行所述在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
综上所述,本申请提供的方案,通过显示拍摄界面,该拍摄界面包括预览区域以及拍摄按钮,响应针对该拍摄按钮的滑动操作,在滑动操作的终点位置位于预览区域时,根据终点位置,确定拍摄焦点,然后根据拍摄焦点进行对焦,当对焦完成后,触发拍摄操作。从而可以实现用户通过滑动拍摄按钮至预览区域相应位置,即可进行对焦以及触发完成拍摄操作,简化了用户的操作,提升了拍摄体验。
请参考图13,其示出了本申请实施例提供的一种移动终端的结构框图。该移动终端100可以是智能手机、平板电脑、电子书等能够运行应用程序的移动终端。本申请中的移动终端100可以包括一个或多个如下部件:处理器110、存储器120、显示屏130以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个移动终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行移动终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
显示屏130用于显示由用户输入的信息、提供给用户的信息以及所述移动终端100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,该显示屏130可以为液晶显示器(Liquid Crystal Display,LCD),也可以为有机发光二极管(Organic Light-Emitting Diode,OLED),在此不做限定。
请参考图14,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种拍摄方法,应用于移动终端,其中,所述方法包括:
    显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;
    响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;
    根据所述拍摄焦点进行对焦;
    当所述对焦完成后,触发拍摄操作。
  2. 根据权利要求1所述的方法,其中,在所述响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点之前,所述方法还包括:
    响应针对所述拍摄按钮的按压操作,判断所述按压操作是否满足预设按压条件;
    若所述按压操作满足所述预设按压条件,响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
  3. 根据权利要求2所述的方法,其中,所述预设按压条件包括以下条件中至少一种:
    所述按压操作对应的按压时长大于第一时长;
    所述按压操作对应的按压面积大于预设面积;
    所述按压操作对应的按压压力值大于预设压力值。
  4. 根据权利要求1-3任一项所述的方法,其中,所述当所述对焦完成后,触发拍摄操作,包括:
    当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作。
  5. 根据权利要求4所述的方法,其特征在于,在所述当所述对焦完成后,在检测到手指离开屏幕时,触发拍摄操作之前,所述方法还包括:
    响应于所述终点位置进行的新的滑动操作,根据所述新的滑动操作的终点位置,重新确定拍摄焦点;
    根据重新确定的拍摄焦点进行对焦。
  6. 根据权利要求1-5任一项所述的方法,其中,在所述根据所述终点位置,确定拍摄焦点之前,所述方法还包括:
    检测所述终点位置被持续按压的时长作为第二时长,所述第二时长的起始时刻为所述滑动操作的滑动结束时刻;
    在所述第二时长大于第三时长时,根据所述终点位置,确定拍摄焦点。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    在所述第二时长大于所述第三时长,且所述终点位置被继续按压时,于所述终点位置对应的区域,显示用于调整指定拍摄参数的指示信息;
    响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整。
  8. 根据权利要求7所述的方法,其中,所述指示信息包括参数指示条,所述参数指示条包括所述指定拍摄参数对应的不同参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:
    响应基于所述参数指示条的指定滑动操作,获取选取的参数值,所述指定滑动操作为所述终点位置被继续按压的情况下进行的;
    将所述指定拍摄参数设置为所述选取的参数值。
  9. 根据权利要求7所述的方法,其中,所述指示信息包括所述指定拍摄参数对应的参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:
    根据所述终点位置被继续按压时的按压力度,确定对应的参数值;
    将所述指定拍摄参数设置为所述对应的参数值。
  10. 根据权利要求7所述的方法,其中,所述指示信息包括所述指定拍摄参数对应的参数值,所述响应基于所述指示信息的参数调整操作,对所述指定拍摄参数进行调整,包括:
    根据所述终点位置被继续按压时的按压时长,确定对应的参数值;
    将所述指定拍摄参数设置为所述对应的参数值。
  11. 根据权利要求1-10任一项所述的方法,其中,所述响应针对所述拍摄按钮的滑动操作,包括:
    响应针对所述拍摄按钮的滑动操作,显示指示控件,并控制所述指示控件根据所述滑动操作的滑动轨迹移动,所述指示控件用于指示所述滑动操作的终点位置。
  12. 根据权利要求11所述的方法,其中,所述控制所述指示控件根据所述滑动操作的滑动轨迹移动,包括:
    控制所述指示控件跟随所述滑动操作的滑动轨迹而移动。
  13. 根据权利要求1-10任一项所述的方法,其中,所述响应针对所述拍摄按钮的滑动操作,包括:
    响应针对所述拍摄按钮的滑动操作,控制所述拍摄按钮根据所述滑动操作的滑动轨迹移动。
  14. 根据权利要求13所述的方法,其中,在所述当所述对焦完成后,触发拍摄操作之后,所述方法还包括:
    控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
  15. 根据权利要求14所述的方法,其中,所述控制所述拍摄按钮移回至所述拍摄界面中的初始位置,包括:
    按照所述滑动操作的滑动轨迹,控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
  16. 根据权利要求14所述的方法,其中,所述控制所述拍摄按钮移回至所述拍摄界面中的初始位置,包括:
    确定所述拍摄按钮由当前位置移动回初始位置的最短路径;
    按所述最短路径控制所述拍摄按钮移回至所述拍摄界面中的初始位置。
  17. 根据权利要求1-16任一项所述的方法,其中,所述响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点,包括:
    响应针对所述拍摄按钮的滑动操作,若所述滑动操作满足预设滑动条件,执行所述在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点。
  18. 一种拍摄装置,应用于移动终端,其中,所述装置包括:界面显示模块、焦点确定模块、对焦执行模块以及拍摄执行模块,其中,
    所述界面显示模块用于显示拍摄界面,所述拍摄界面包括预览区域以及拍摄按钮;
    所述焦点确定模块用于响应针对所述拍摄按钮的滑动操作,在所述滑动操作的终点位置位于所述预览区域时,根据所述终点位置,确定拍摄焦点;
    所述对焦执行模块用于根据所述拍摄焦点进行对焦;
    所述拍摄执行模块用于当所述对焦完成后,触发拍摄操作。
  19. 一种移动终端,其中,包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-17任一项所述的方法。
  20. 一种计算机可读取存储介质,其中,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。
PCT/CN2022/071833 2021-02-23 2022-01-13 拍摄方法、装置、移动终端及存储介质 WO2022179331A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110203653.X 2021-02-23
CN202110203653.XA CN113037999A (zh) 2021-02-23 2021-02-23 拍摄方法、装置、移动终端及存储介质

Publications (1)

Publication Number Publication Date
WO2022179331A1 true WO2022179331A1 (zh) 2022-09-01

Family

ID=76460933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071833 WO2022179331A1 (zh) 2021-02-23 2022-01-13 拍摄方法、装置、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN113037999A (zh)
WO (1) WO2022179331A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037999A (zh) * 2021-02-23 2021-06-25 Oppo广东移动通信有限公司 拍摄方法、装置、移动终端及存储介质
CN114265538A (zh) * 2021-12-21 2022-04-01 Oppo广东移动通信有限公司 拍照控制方法及装置、存储介质和电子设备
CN114531543A (zh) * 2022-01-25 2022-05-24 联想(北京)有限公司 一种对焦控制方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243825A (zh) * 2014-09-22 2014-12-24 广东欧珀移动通信有限公司 一种移动终端自动对焦方法及系统
CN104506765A (zh) * 2014-11-21 2015-04-08 惠州Tcl移动通信有限公司 一种移动终端及其基于触摸手势的对焦方法
CN108184070A (zh) * 2018-03-23 2018-06-19 维沃移动通信有限公司 一种拍摄方法及终端
US20180262686A1 (en) * 2017-03-07 2018-09-13 Olympus Corporation Shooting device, shooting method and shooting control method
US20200042152A1 (en) * 2018-08-04 2020-02-06 AAC Technologies Pte. Ltd. Photographing Method and Mobile Terminal Using Same
CN111757004A (zh) * 2020-07-06 2020-10-09 Oppo广东移动通信有限公司 拍摄参数的调整方法、装置、移动终端及存储介质
CN113037999A (zh) * 2021-02-23 2021-06-25 Oppo广东移动通信有限公司 拍摄方法、装置、移动终端及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101505681B1 (ko) * 2008-09-05 2015-03-30 엘지전자 주식회사 터치 스크린을 구비한 이동 단말기 및 이를 이용한 이미지 촬상 방법
CN107155055A (zh) * 2016-03-02 2017-09-12 中兴通讯股份有限公司 基于压力传感器的拍摄方法及装置
US9871962B2 (en) * 2016-03-04 2018-01-16 RollCall, LLC Movable user interface shutter button for camera
CN107515708A (zh) * 2016-06-15 2017-12-26 深圳市蓝魔数码科技有限公司 拍照方法及移动终端
CN106897000B (zh) * 2017-01-11 2019-01-18 北京字节跳动科技有限公司 拍摄方法、装置及移动终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243825A (zh) * 2014-09-22 2014-12-24 广东欧珀移动通信有限公司 一种移动终端自动对焦方法及系统
CN104506765A (zh) * 2014-11-21 2015-04-08 惠州Tcl移动通信有限公司 一种移动终端及其基于触摸手势的对焦方法
US20180262686A1 (en) * 2017-03-07 2018-09-13 Olympus Corporation Shooting device, shooting method and shooting control method
CN108184070A (zh) * 2018-03-23 2018-06-19 维沃移动通信有限公司 一种拍摄方法及终端
US20200042152A1 (en) * 2018-08-04 2020-02-06 AAC Technologies Pte. Ltd. Photographing Method and Mobile Terminal Using Same
CN111757004A (zh) * 2020-07-06 2020-10-09 Oppo广东移动通信有限公司 拍摄参数的调整方法、装置、移动终端及存储介质
CN113037999A (zh) * 2021-02-23 2021-06-25 Oppo广东移动通信有限公司 拍摄方法、装置、移动终端及存储介质

Also Published As

Publication number Publication date
CN113037999A (zh) 2021-06-25

Similar Documents

Publication Publication Date Title
US11706521B2 (en) User interfaces for capturing and managing visual media
WO2022179331A1 (zh) 拍摄方法、装置、移动终端及存储介质
US20230319394A1 (en) User interfaces for capturing and managing visual media
US11163426B2 (en) Interaction position determination method and system, storage medium and smart terminal
AU2020100720B4 (en) User interfaces for capturing and managing visual media
CN105955607B (zh) 内容分享方法和装置
WO2020057327A1 (zh) 信息列表显示方法、装置及存储介质
US8237807B2 (en) Image capturing device with touch screen for adjusting camera settings
JP6199510B2 (ja) ディスプレイモードを切り換える方法及び装置
JP5358733B2 (ja) タッチスクリーン機能を変更するためのシステム及び方法
WO2017201860A1 (zh) 视频直播方法及装置
WO2016045579A1 (zh) 一种应用程序交互控制方法、装置及终端
EP3674899A1 (en) Method and device for sharing multimedia resource, and storage medium
AU2022200966B2 (en) User interfaces for capturing and managing visual media
WO2018227618A1 (zh) 应用图标的移动方法和装置、终端和存储介质
KR20170064242A (ko) 영상통화를 제공하는 전자 장치 및 방법
WO2022100712A1 (zh) 真实环境画面中虚拟道具的显示方法、系统及存储介质
CN111880757A (zh) 投屏方法、投屏装置及存储介质
CN105549814B (zh) 一种基于移动终端的拍照方法及该移动终端
CN111479054A (zh) 用于处理装置中的图像的设备和方法
WO2021169792A1 (zh) 消息查看方法及装置
WO2021179803A1 (zh) 内容分享方法、装置、电子设备及存储介质
EP3276975A1 (en) Method and device for controlling playing state
CN111757004B (zh) 拍摄参数的调整方法、装置、移动终端及存储介质
JP2023549651A (ja) 撮像処理方法、装置、電子機器及び可読記憶媒体

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22758697

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22758697

Country of ref document: EP

Kind code of ref document: A1