CN111201768B - Shooting focusing method and device - Google Patents

Shooting focusing method and device Download PDF

Info

Publication number
CN111201768B
CN111201768B CN201780095800.8A CN201780095800A CN111201768B CN 111201768 B CN111201768 B CN 111201768B CN 201780095800 A CN201780095800 A CN 201780095800A CN 111201768 B CN111201768 B CN 111201768B
Authority
CN
China
Prior art keywords
focusing
pressing operation
image
target
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780095800.8A
Other languages
Chinese (zh)
Other versions
CN111201768A (en
Inventor
梁卉卉
郭辉奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Publication of CN111201768A publication Critical patent/CN111201768A/en
Application granted granted Critical
Publication of CN111201768B publication Critical patent/CN111201768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a shooting focusing method and a shooting focusing device, wherein the method comprises the following steps: when a focusing instruction is received on a shooting interface displayed by a shooting terminal, determining a target image area indicated by the focusing instruction; detecting a pressing operation on a target key of the photographing terminal if a focusing function based on the target key is turned on in the photographing terminal; when the pressing operation on the target key is detected, focusing control is carried out on the shooting terminal by taking the target image area as an image focusing position; and displaying the shot image after focusing control on the shooting interface. The probability of successful focusing can be improved.

Description

Shooting focusing method and device
Technical Field
The invention relates to the technical field of photo shooting, in particular to a shooting focusing method and device.
Background
With the development of communication technology and the continuous improvement of the daily living standard of people, various intelligent terminals (mobile phones, tablet computers and the like) gradually become indispensable tools in the life of people. The mobile phone is small and light, is a necessity in life, has a plurality of functions, and requires less professional shooting knowledge when shooting with the mobile phone, so the shooting function carried in the mobile phone gradually replaces the position of a camera in common public mind.
At present, when people use a terminal to shoot, focusing is needed to be carried out when people want to obtain a high-quality and high-definition picture. How to facilitate the user to complete the focusing operation becomes a hot point of research.
Disclosure of Invention
The embodiment of the invention provides a shooting focusing method and a shooting focusing device, which can improve the possibility of successful shooting focusing.
In a first aspect, an embodiment of the present invention provides a shooting focusing method, including:
when a focusing instruction is received, determining a target image area indicated by the focusing instruction; when the pressing operation on the target key is detected, focusing control is carried out by taking the target image area as an image focusing position; and displaying the image shot after the focusing control on the shooting interface.
In a second aspect, an embodiment of the present invention provides a shooting focusing apparatus, including: the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a target image area indicated by a focusing instruction when the focusing instruction is received; a detection unit configured to detect a pressing operation on the target key; the processing unit is used for carrying out focusing control by taking the target image area as an image focusing position when the pressing operation on the target key is detected; and the display unit is used for displaying the image shot after the focusing control on the shooting interface.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor and a memory, where the memory is used to store a computer program that supports the terminal to execute the above method, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium is characterized by storing program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method of the first aspect.
According to the embodiment of the invention, the focusing function based on the target key is selected, the pressing operation of the user on the target key is detected to focus the selected focusing position, and the possibility of successful focusing can be improved.
Drawings
Fig. 1 is a schematic flowchart of a focusing method for shooting according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a focusing method for shooting according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a capture display interface provided by an embodiment of the invention;
FIG. 4 is a schematic structural diagram of a photographing focusing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be noted that the terminal may be a Mobile phone, a tablet computer, a notebook computer, a Mobile Internet Device (MID), and the like, which may be used for shooting, and of course, the above terminals are merely examples, and are not exhaustive, and include but not limited to the above optional terminals.
Referring to fig. 1, which is a schematic flowchart illustrating a photographing focusing method according to an embodiment of the present invention, the photographing focusing method shown in fig. 1 may include:
s101, when a focusing instruction is received, determining a target image area indicated by the focusing instruction, specifically, when the focusing instruction is received on a shooting interface displayed by a shooting terminal, determining the target image area indicated by the focusing instruction.
In one embodiment, when a terminal user wants to take a picture, a shooting application of the terminal is firstly opened, the terminal simultaneously opens a camera, the camera can be a front camera or a rear camera, a display interface of the terminal displays an image acquired by the camera, and when the terminal receives a focusing instruction of the user, the terminal focuses on a selected target image area.
In one embodiment, the focusing instruction comprises a focusing instruction received by the terminal and generated by a user through a touch screen and/or a focusing instruction automatically generated by the terminal.
In one embodiment, a user generates a focusing instruction by clicking a certain area in a shooting interface once, a terminal generates a circular focusing area with a radius of 1 cm by taking a position clicked by the user once as a focusing center and taking the focusing center as a circle center, and simultaneously generates a focusing prompt frame, wherein the shape of the focusing prompt frame includes: circular or square. When the square focusing prompt frame is generated, the position clicked by the user for one time is taken as the focusing center, and the square focusing prompt frame with the side length of 1 centimeter is generated by taking the focusing center as the center.
In one embodiment, the focusing instruction may be automatically generated by the terminal, when the terminal detects that a face exists in an image acquired by the camera, the face is automatically recognized, when the face is recognized, the face is automatically triggered to serve as a focusing area so as to generate the focusing instruction, and a focusing prompt box is generated.
In one embodiment, the focusing instruction may be automatically generated by the terminal, when the terminal starts a camera to acquire an image, the terminal generates the focusing instruction by taking an area closest to the camera as a focusing area, or the terminal directly generates the focusing instruction by taking a central area of the image acquired by the camera as the focusing area and simultaneously generates a focusing prompt box.
S102, if the focusing function based on the target key is started in the shooting terminal, detecting the pressing operation on the target key of the shooting terminal.
And displaying a focusing function selection key based on the target key on a shooting display interface, and when a terminal receives an instruction of selecting the focusing function based on the target key from a user, focusing the image acquired by the camera based on the target key. The instruction can be generated by clicking a focusing function selection key by a user, or the instruction is set in advance by the user at the terminal, and the focusing function based on the target key is executed by default every shooting.
When the terminal detects that a user selects a focusing function based on a target key, scanning and detecting the target key of the terminal, and when the terminal detects that the user presses the target key, performing corresponding processing according to the pressing operation.
And S103, when the pressing operation on the target key is detected, carrying out focusing control by taking the target image area as an image focusing position, and specifically, when the pressing operation on the target key is detected, carrying out focusing control on the shooting terminal by taking the target image area as the image focusing position.
And when the terminal detects that the user presses the target key, corresponding processing is carried out according to the pressing operation. For example, when the processing corresponding to the pressing operation detected by the terminal is returning to the main screen, the operation of returning to the main screen is executed; and when the processing corresponding to the pressing operation detected by the terminal is to focus the selected focusing area, executing focusing operation.
In one embodiment, after focusing is performed on the selected focusing area, a focusing frame is generated, the generation of the focusing frame refers to the generation of the prompting frame in step S101, and the focusing prompting frame disappears while the focusing frame is generated.
In one embodiment, when the focusing frame is generated, the focusing frame includes a photometric frame, and the focusing frame and the photometric frame are separable, the image of the photographing interface may be brightness-adjusted by moving the position of the photometric frame.
And S104, displaying the image shot after the focusing control on the shooting interface.
After the focusing function is executed, the focused image is displayed on the shooting interface, and a user can see whether the generated image meets the expected requirement or not, and can refocus if the expected requirement is not met. For example, after the user focuses on the selected position, if the definition after focusing is not high and does not meet the expected requirement, the user can change the focusing position to refocus again; alternatively, when the user focuses the selected location and finds that the selected location is not the location of the desired focus, the displayed image is not aesthetically pleasing as desired, and the focus may be reselected.
The embodiment of the invention detects the pressing operation of the user on the target key to focus the selected focusing position by selecting the focusing function based on the target key, thereby improving the possibility of successful focusing
Referring to fig. 2, which is a schematic flow chart of a photographing focusing method according to another embodiment of the present invention, the photographing focusing method shown in fig. 2 may include:
s201, when a focusing instruction is received on a shooting interface displayed by a shooting terminal, determining a target image area indicated by the focusing instruction.
In one embodiment, the S201 may include: receiving a touch screen clicking operation; detecting a corresponding position of the touch screen clicking operation on the shooting interface; and determining a target image area on the shooting interface based on the position corresponding to the touch screen operation.
In one embodiment, a focusing instruction is generated by receiving a single click of a screen by a user, and a display interface of an image acquired by a camera of a terminal is scanned and detected, wherein the display screen of the terminal is a touch screen, and whether the single click of the user on the display screen is received or not is scanned and detected through a sensor, and the touch screen includes but is not limited to: capacitive touch screens, piezoelectric touch screens, infrared touch screens, surface acoustic wave touch screens, and the like.
In one embodiment, when a click operation of a user on the touch screen is received, the touch coordinate of the click operation is determined through a sensor, for example, a surface acoustic wave touch screen, and when a transmitting signal and a receiving signal are not touched, the waveform of the receiving signal is identical to that of a reference waveform. When a finger or other object capable of absorbing or blocking the acoustic energy touches the screen, the acoustic energy moving upward along the finger along the X-axis is partially absorbed, reflecting that there is an attenuation gap in the received waveform, i.e., at a certain time position. And the received waveform attenuates a gap corresponding to the signal of the finger blocking part, the position of the gap is calculated, the touch coordinate controller analyzes the attenuation of the received signal, and the X coordinate is judged according to the position of the gap. And then the Y axis determines the Y coordinate of the touch point by the same process. In addition to X, Y coordinates to which a typical touch screen is responsive, the surface acoustic wave touch screen is responsive to a third axis Z-axis coordinate, i.e., a value of the amount of pressure a user can sense. The principle is calculated by the attenuation amount of the attenuation position of the received signal. Once the three axes are determined, the controller passes them to the terminal. The terminal thus determines where the user clicked on the touch screen.
In an embodiment, when the terminal determines the position of the touch screen clicked by the user, that is, determines a focused target image area, and generates a focusing prompt frame, where the focusing prompt frame is used to display the focused target image area determined by the user, and the center of the focusing prompt frame is the position clicked by the user, the generation of the focusing prompt frame may be further performed with reference to step S101.
S202, displaying a focusing function selection key on the shooting interface, wherein the focusing function selection key comprises: the key is selected based on the focus function of the pressing operation.
In one embodiment, a focusing function selection key is displayed above the shooting display interface, the focusing function selection key can replace the keys of the camera, the selection key of the time used for shooting, and the flash lamp keys are arranged in the same row above the shooting interface. When the fact that the user clicks a focusing function selection key is received, the fact that the user selects a focusing function selection mode based on pressing operation is determined. If it has not been detected that the user has clicked the focusing function selection key and the user has not previously set the key-based focusing function to be performed, the user selects the conventional focusing mode by default.
In one embodiment, as shown in FIG. 3, 301 is a key-based focus function selection key, which when clicked 301 by the user indicates that the key-based focus function was selected by the user, and when clicked 301 twice, indicates that the key-based focus function was turned off by the user. 302 is a selection key to select flash on, indicating that the user turns the flash on when the user clicks on 302, and turning the flash off when the flash is on and the user clicks on 302. When the user clicks 303, it indicates that the user wants to select the time for each shot, the icon of 303 is changed to three small keys of 3s, 5s and 10s, and when the user clicks one of the keys, it indicates that the user selects the time for each shot. For example, when the user clicks the 3s key, it means that when the user presses the shooting key, the terminal performs the shooting operation after 3 s; or, when the user clicks the 5s key, it means that when the user presses the photographing key, the terminal performs the photographing operation after 5 s. When the user clicks 304, it indicates that the user replaces the front and rear cameras, for example, when the terminal opens the rear camera to obtain an image, after the user clicks 304, the terminal opens the rear camera to obtain an image, and similarly, when the terminal opens the front camera to obtain an image, after the user clicks 304, the terminal opens the rear camera to obtain an image. 305 displays the images acquired by the terminal camera. 306 is a key of the user, and when the user presses 306, the terminal performs a return to the main screen operation; when the user clicks 301 to select the focusing function based on the target key, 306 is the target key, and if the user presses 306, corresponding processing is performed according to this embodiment, which is not described herein.
S203, when the selection operation of the focusing function selection key is received, triggering and executing the pressing operation of the detection on the target key of the shooting terminal, and carrying out corresponding processing according to the pressing operation.
In an embodiment, a pressure value of the pressing operation is obtained, and if the pressure value of the pressing operation belongs to a first level, the target image area is triggered to be executed as an image focusing position, and focusing control is performed on the shooting terminal.
In an embodiment, the terminal classifies the level of the pressure value in advance, and may classify the pressure value into two levels with larger differences, for example, if the target key is touched lightly, the pressure value belongs to a first level, if the target key is pressed strongly or clicked, the pressure value belongs to a second level, and the pressure values of different levels correspond to different processes, for example, if the pressure value of the pressing operation belongs to the first level, the corresponding operation is to trigger execution of focusing control on the shooting terminal by taking the target image area as the image focusing position. The method comprises the steps of acquiring a pressure value of a pressing operation of a user on a target key, specifically acquiring the pressure value of the pressing operation of the user through a pressure sensor.
In an embodiment, fingerprint information of the pressing operation is acquired, and if the fingerprint information of the pressing operation belongs to first fingerprint information, the target image area is triggered to be executed as an image focusing position, and focusing control is performed on a shooting terminal.
In one embodiment, the terminal first establishes a fingerprint database and then performs fingerprint collection, where the collection method includes, but is not limited to: living body optical type, capacitance type and pressure sensitive type. The fingerprint to the collection is categorised, can divide into two types with the fingerprint, for example, divide into the fingerprint of thumb first type, divide into the fingerprint of forefinger second type, perhaps the user will oneself make things convenient for the finger fingerprint that presses down the operation to the button all to set up to first fingerprint type, all set up all to the second fingerprint type with all the other inconvenient finger fingerprints that press down the operation to the button. Different types of fingerprints correspond to different processing, for example, if the fingerprint information of the pressing operation belongs to the first fingerprint information, the corresponding operation is to trigger execution of focusing control on the shooting terminal by taking the target image area as an image focusing position.
In one embodiment, if the pressure value of the pressing operation belongs to the second level, returning to the main screen interface; or if the fingerprint information of the pressing operation belongs to the second fingerprint information, returning to the main screen interface.
In one embodiment, another function of the target key itself is to instruct the terminal to exit the current application interface and return to the home screen interface, so that the return to the home screen interface is performed when the pressure value of the pressing operation of the user belongs to the second level or the fingerprint information of the pressing operation belongs to the second fingerprint information.
And S204, generating a focusing frame by taking the target image area as an image focusing position.
And when the processing corresponding to the pressing operation of the user received by the terminal is focusing control on the shooting terminal, generating a focusing frame by taking the target image area as an image focusing position. When the focusing frame is generated, the focusing frame comprises a photometric frame, the focusing frame and the photometric frame can be separated, and the image of the shooting interface can be subjected to brightness adjustment by moving the position of the photometric frame. The focusing frame and the photometric frame are the same in shape and can be simultaneously circular, square or rhombic.
S205, if the adjustment operation of the focusing frame is received, regenerating and displaying the focusing frame according to the adjustment operation, wherein the adjustment operation comprises the following steps: a moving operation for moving the focusing frame and/or an adjusting operation for adjusting the size of the focusing frame.
In one embodiment, when the terminal completes focusing on the selected area and generates a focusing area, an adjustment of the focusing frame by the user may be received.
In one embodiment, when a user finds that the position corresponding to the focusing frame is not the position which the user wants to focus, the user can adjust the position of the focusing frame by selecting the focusing frame, namely clicking the selected focusing frame to be not placed, and then moving the selected focusing frame on the display interface; or the user can double click the focusing frame to represent that the focusing frame is selected, and then double click the position which the user wants to focus, at the moment, the focusing frame can move to the position which the user double clicks, and the center of the focusing frame is the same as the position which the user double clicks, so that the position which the user wants to focus is accurate.
In one embodiment, when the user finds that the area corresponding to the focusing frame does not conform to the size of the area desired to be focused, for example, the area desired to be focused by the user is the whole building a, and the focusing frame cannot contain the whole building a no matter how the focusing frame moves, the user may select the focusing frame to be stationary, and perform an outward expansion operation on the focusing frame by two fingers to enlarge the focusing frame; similarly, if the focusing frame is too large and is far larger than the area that the user wants to focus, the user can select the focusing frame to be fixed, and the focusing frame is reduced by performing inward contraction operation on the focusing frame through two fingers; or the user can click the frame of the selected focusing frame to be fixed, and the focusing frame is enlarged by stretching outwards or is reduced by pulling inwards.
And S206, displaying the image shot after the focusing control on the shooting interface.
According to the embodiment of the invention, the focusing function based on the target key is selected, the pressing operation of the user on the target key is detected to focus the selected focusing position, and the possibility of successful focusing can be improved.
Referring to fig. 4, a schematic block diagram of a terminal according to another embodiment of the present invention is shown, where the terminal described in this embodiment includes:
a determining unit 401, configured to determine, when a focusing instruction is received, a target image area indicated by the focusing instruction, and specifically, determine, when a focusing instruction is received on a shooting interface displayed by a shooting terminal, the target image area indicated by the focusing instruction;
a detecting unit 402, configured to detect a pressing operation on the target key, specifically, detect a pressing operation on the target key of the shooting terminal when a focusing function based on the target key is turned on in the shooting terminal;
a processing unit 403, configured to perform focusing control with the target image area as an image focusing position when the pressing operation on the target key is detected, and specifically, perform focusing control with the target image area as an image focusing position when the pressing operation on the target key is detected;
and a display unit 404 for displaying the image captured after the focus control on the capturing interface.
In an embodiment, the determining unit 401 is specifically configured to receive a touch screen click operation; detecting a corresponding position of the touch screen clicking operation on the shooting interface; and determining a target image area on the shooting interface based on the corresponding position, specifically, determining the target image area on the shooting interface based on the position corresponding to the touch screen operation.
In an embodiment, the detecting unit 402 is specifically configured to display a focusing function selecting key on the shooting interface, where the focusing function selecting key includes: a focusing function selection key based on a pressing operation; and when receiving the selection operation of the focusing function selection key, triggering and executing the pressing operation of the detection on the target key of the shooting terminal.
In an embodiment, the processing unit 403 is specifically configured to generate a focusing frame by using the target image area as an image focusing position; if the adjustment operation of the focusing frame is received, the focusing frame is regenerated and displayed according to the adjustment operation, and the adjustment operation comprises the following steps: a moving operation for moving the focusing frame and/or an adjusting operation for adjusting the size of the focusing frame.
In an embodiment, the processing unit 403 is specifically configured to, when a pressing operation on a target key is detected, obtain a pressure value of the pressing operation; and if the pressure value of the pressing operation belongs to a first grade, triggering and executing the focusing control of the shooting terminal by taking the target image area as an image focusing position.
In an embodiment, the processing unit 403 is specifically configured to, when a pressing operation on a target key is detected, acquire fingerprint information of the pressing operation; and if the fingerprint information of the pressing operation belongs to first fingerprint information, triggering and executing the focusing control of the shooting terminal by taking the target image area as an image focusing position.
In an embodiment, the processing unit 403 is specifically configured to return to the home screen interface if the pressure value of the pressing operation belongs to the second level; or if the fingerprint information of the pressing operation belongs to the second fingerprint information, returning to the main screen interface.
The specific implementation of each module of the apparatus according to the embodiment of the present invention may refer to the description of the related content in the foregoing method embodiment, which is not described herein again.
According to the embodiment of the invention, the focusing function based on the target key is selected, the pressing operation of the user on the target key is detected to focus the selected focusing position, and the possibility of successful focusing can be improved.
Referring to fig. 5, a schematic block diagram of a terminal according to another embodiment of the present invention is shown. The terminal in this embodiment as shown in the figure may include: one or more processors 501; one or more input devices 502, one or more output devices 503, and memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 506. The memory 502 is used to store a computer program comprising program instructions and the processor 501 is used to execute the program instructions stored by the memory 502. Wherein the processor 501 is configured to call the program instruction to perform:
in one embodiment, the Processor 501 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 503 may include a display (LCD, etc.), a speaker, etc.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In an embodiment, the processor 501, the input device 502, and the output device 503 may execute the implementation manners described in the first embodiment and the second embodiment of the shooting focusing method provided in the embodiment of the present invention, and may also execute the implementation manner of the terminal described in the embodiment of the present invention, which is not described herein again.
In one embodiment, there is provided a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, implement the implementation described in the first and second embodiments of the photographing focusing method provided by the embodiment of the invention.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output. Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.
The processor 501 calls a program instruction stored in the memory 504, and is configured to process, when a focusing instruction is received, to determine a target image area indicated by the focusing instruction, and specifically, to process, when a focusing instruction is received on a shooting interface displayed by a shooting terminal, to determine a target image area indicated by the focusing instruction; optionally, if a focusing function based on a target key is turned on in the photographing terminal, detecting a pressing operation on the target key of the photographing terminal; when the pressing operation on the target key is detected, focusing control is carried out on the shooting terminal by taking the target image area as an image focusing position; and displaying the shot image after focusing control on the shooting interface.
In one embodiment, the processor 501 is configured to, when determining the target image area indicated by the focusing instruction, receive a touch screen click operation; detecting a corresponding position of the touch screen clicking operation on the shooting interface; and determining a target image area on the shooting interface based on the corresponding position, specifically, determining the target image area on the shooting interface based on the position corresponding to the touch screen operation.
In one embodiment, the processor 501 is configured to process displaying a focusing function selection key on the shooting interface, where the focusing function selection key includes: a focusing function selection key based on a pressing operation; and when receiving the selection operation of the focusing function selection key, triggering and executing the pressing operation of the detection on the target key of the shooting terminal.
In one embodiment, the processor 501 is configured to process the target image area as an image focusing position to generate a focusing frame; if the adjustment operation of the focusing frame is received, the focusing frame is regenerated and displayed according to the adjustment operation, and the adjustment operation comprises the following steps: a moving operation for moving the focusing frame and/or an adjusting operation for adjusting the size of the focusing frame.
In one embodiment, the processor 501 is configured to, when a pressing operation on a target key is detected, acquire a pressure value of the pressing operation; and if the pressure value of the pressing operation belongs to a first grade, triggering and executing the focusing control of the shooting terminal by taking the target image area as an image focusing position.
In one embodiment, the processor 501 is configured to, when a pressing operation on a target key is detected, acquire fingerprint information of the pressing operation; and if the fingerprint information of the pressing operation belongs to first fingerprint information, triggering and executing the focusing control of the shooting terminal by taking the target image area as an image focusing position.
In an embodiment, the processor 501 is configured to process to return to a home screen interface if the pressure value of the pressing operation belongs to the second level; or if the fingerprint information of the pressing operation belongs to the second fingerprint information, returning to the main screen interface.
For the specific implementation of the processor 501 in the embodiment of the present invention, reference may be made to the description of relevant contents in the foregoing method embodiment, which is not described herein again.
According to the embodiment of the invention, the focusing function based on the target key is selected, the pressing operation of the user on the target key is detected to focus the selected focusing position, and the possibility of successful focusing can be improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A shooting focusing method is characterized by comprising the following steps:
when a focusing instruction is received, determining a target image area indicated by the focusing instruction, wherein the focusing instruction is generated by a user touching a screen, and/or the focusing instruction is generated by a terminal device;
wherein the focusing instruction is generated by the terminal equipment and comprises at least one of the following:
when the terminal equipment detects that the image acquired by the camera comprises a face, generating a focusing instruction by taking the area of the face as the target image area;
when the terminal equipment detects that the camera acquires the image, generating a focusing instruction by taking the area closest to the camera in the image as the target image area;
when the terminal equipment detects that the camera acquires the image, a preset central area of the image is used as the target image area to generate a focusing instruction;
when the pressing operation on a target key is detected, generating a focusing frame by taking the target image area as an image focusing position;
if the adjustment operation of the focusing frame is received, the focusing frame is regenerated and displayed according to the adjustment operation;
when the pressing operation of a target key is detected, fingerprint information of the pressing operation is acquired; if the fingerprint information of the pressing operation belongs to first fingerprint information, triggering and executing the target image area as an image focusing position to generate a focusing frame;
the focusing frame comprises a light measuring frame, and the terminal equipment adjusts the brightness of the image according to the position of the light measuring frame;
and displaying the image shot after the focusing control on the shooting interface.
2. The method of claim 1, wherein the determining the target image area indicated by the focusing instruction comprises:
receiving a touch screen clicking operation;
detecting a corresponding position of the touch screen clicking operation on the shooting interface;
and determining a target image area on the shooting interface based on the corresponding position.
3. The method of claim 1, further comprising:
displaying a focusing function selection key on the shooting interface, wherein the focusing function selection key comprises: a focusing function selection key based on a pressing operation;
and triggering and executing the pressing operation detected on the target key when the selection operation of the focusing function selection key is received.
4. The method according to any one of claims 1 to 3, wherein detecting a pressing operation on a target key comprises:
when the pressing operation of a target key is detected, acquiring a pressure value of the pressing operation;
and if the pressure value of the pressing operation belongs to a first grade, triggering and executing the focusing control of the shooting terminal by taking the target image area as an image focusing position.
5. The method of any one of claims 1 to 3, wherein detecting a pressing operation on a target key further comprises:
if the pressure value of the pressing operation belongs to the second grade, returning to a main screen interface;
and/or returning to a main screen interface if the fingerprint information of the pressing operation belongs to the second fingerprint information.
6. A photographing focusing device, comprising:
the determining unit is used for determining a target image area indicated by a focusing instruction when the focusing instruction is received, wherein the focusing instruction is generated by a user touching a screen, and/or the focusing instruction is generated by a terminal device;
wherein the focusing instruction is generated by the terminal equipment and comprises at least one of the following:
when the terminal equipment detects that the image acquired by the camera comprises a face, generating a focusing instruction by taking the area of the face as the target image area;
when the terminal equipment detects that the camera acquires the image, generating a focusing instruction by taking the area closest to the camera in the image as the target image area;
when the terminal equipment detects that the camera acquires the image, a preset central area of the image is used as the target image area to generate a focusing instruction;
a detection unit for detecting a pressing operation on the target key;
a processing unit for, when a pressing operation on the target key is detected,
generating a focusing frame by taking the target image area as an image focusing position;
if the adjustment operation of the focusing frame is received, the focusing frame is regenerated and displayed according to the adjustment operation;
when the pressing operation of a target key is detected, fingerprint information of the pressing operation is acquired; if the fingerprint information of the pressing operation belongs to first fingerprint information, triggering and executing the target image area as an image focusing position to generate a focusing frame;
the focusing frame comprises a light measuring frame, and the terminal equipment adjusts the brightness of the image according to the position bar of the light measuring frame;
and the display unit is used for displaying the image shot after the focusing control on the shooting interface.
7. An intelligent terminal, characterized in that it comprises a processor and a memory for storing a computer program comprising program instructions, which the processor calls for performing the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that the computer storage medium stores computer program instructions comprising program instructions that, when executed, are for implementing the method of any of claims 1 to 5.
CN201780095800.8A 2017-10-10 2017-10-10 Shooting focusing method and device Active CN111201768B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105578 WO2019071440A1 (en) 2017-10-10 2017-10-10 Photographing focusing method and device

Publications (2)

Publication Number Publication Date
CN111201768A CN111201768A (en) 2020-05-26
CN111201768B true CN111201768B (en) 2022-03-22

Family

ID=66100275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780095800.8A Active CN111201768B (en) 2017-10-10 2017-10-10 Shooting focusing method and device

Country Status (2)

Country Link
CN (1) CN111201768B (en)
WO (1) WO2019071440A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654622B (en) * 2020-05-28 2022-10-14 维沃移动通信有限公司 Shooting focusing method and device, electronic equipment and storage medium
CN113796063A (en) * 2020-07-20 2021-12-14 深圳市大疆创新科技有限公司 Photographing system, control method and apparatus thereof, and computer storage medium
CN112954204B (en) * 2021-02-04 2022-09-02 展讯通信(上海)有限公司 Photographing control method and device, storage medium and terminal
CN113645404A (en) * 2021-07-29 2021-11-12 深圳市芯成像科技有限公司 Automatic focusing method, system, intelligent device, computer device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595919A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Manual focusing method and shooting device
CN104104876A (en) * 2014-07-25 2014-10-15 广东欧珀移动通信有限公司 Method, device and mobile device for rapidly focusing
CN105389102A (en) * 2015-10-21 2016-03-09 北京用友政务软件有限公司 Control method for home key of electronic equipment
CN105430259A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Pressure control focusing shooting device, pressure control focusing shooting method and mobile terminal
CN106331500A (en) * 2016-09-13 2017-01-11 上海斐讯数据通信技术有限公司 Focusing shooting method of mobile terminal and mobile terminal having focusing shooting function
CN106534686A (en) * 2016-11-15 2017-03-22 维沃移动通信有限公司 Shooting method of mobile terminal, and mobile terminal
CN107168617A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 A kind of photographic method, device and terminal device for terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549557B1 (en) * 2009-03-10 2015-09-03 엘지전자 주식회사 Mobile terminal and control method thereof
KR101651470B1 (en) * 2010-05-20 2016-08-26 엘지전자 주식회사 Mobile terminal and operation method thereof
CN105975182B (en) * 2012-08-20 2019-05-24 华为终端有限公司 A kind of terminal operation method and terminal
CN103997565A (en) * 2014-04-17 2014-08-20 广东明创软件科技有限公司 Single-handed operation focusing method based on mobile terminal, and single-handed operation focusing mobile terminal
TWI559767B (en) * 2014-08-14 2016-11-21 義隆電子股份有限公司 Pixel sensing device with zone-selection sensing function and operating method of the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595919A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Manual focusing method and shooting device
CN104104876A (en) * 2014-07-25 2014-10-15 广东欧珀移动通信有限公司 Method, device and mobile device for rapidly focusing
CN105389102A (en) * 2015-10-21 2016-03-09 北京用友政务软件有限公司 Control method for home key of electronic equipment
CN105430259A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Pressure control focusing shooting device, pressure control focusing shooting method and mobile terminal
CN106331500A (en) * 2016-09-13 2017-01-11 上海斐讯数据通信技术有限公司 Focusing shooting method of mobile terminal and mobile terminal having focusing shooting function
CN106534686A (en) * 2016-11-15 2017-03-22 维沃移动通信有限公司 Shooting method of mobile terminal, and mobile terminal
CN107168617A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 A kind of photographic method, device and terminal device for terminal device

Also Published As

Publication number Publication date
CN111201768A (en) 2020-05-26
WO2019071440A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
EP3661187B1 (en) Photography method and mobile terminal
US9360965B2 (en) Combined touch input and offset non-touch gesture
CN111201768B (en) Shooting focusing method and device
WO2019001152A1 (en) Photographing method and mobile terminal
US8532346B2 (en) Device, method and computer program product
KR101184460B1 (en) Device and method for controlling a mouse pointer
US9542044B2 (en) Multi-touch positioning method and multi-touch screen
US9696767B2 (en) Command recognition method including determining a hold gesture and electronic device using the method
CN105814522B (en) Device and method for displaying user interface of virtual input device based on motion recognition
WO2018133387A1 (en) Fingerprint identification method and device
WO2017128522A1 (en) Method, device, and terminal for processing touch-control operation
US20140036131A1 (en) Method of capturing an image in a device and the device thereof
JP2009140368A (en) Input device, display device, input method, display method, and program
CN107172347B (en) Photographing method and terminal
JP6229069B2 (en) Mobile terminal, how to handle virtual buttons
CN111149103A (en) Electronic device
TW201905760A (en) Method and electronic device for displaying panoramic image
WO2017140108A1 (en) Pressure detection method and apparatus
EP3293605B1 (en) Widget displaying method and apparatus for use in flexible display device, computer program and recording medium
TW201714074A (en) A method for taking a picture and an electronic device using the method
KR101216094B1 (en) Mobile Communication Device Having Function for Setting up Focus Area and Method thereby
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
TW201915661A (en) Gaze detection, identification and control method
CN105912253B (en) Virtual photographing key triggering method and device and mobile terminal
US20240094876A1 (en) Screenshot method, electronic device, and computer program product thereof

Legal Events

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