CN107493435B - Shooting method, terminal and related medium product - Google Patents

Shooting method, terminal and related medium product Download PDF

Info

Publication number
CN107493435B
CN107493435B CN201710852365.0A CN201710852365A CN107493435B CN 107493435 B CN107493435 B CN 107493435B CN 201710852365 A CN201710852365 A CN 201710852365A CN 107493435 B CN107493435 B CN 107493435B
Authority
CN
China
Prior art keywords
moving
slidable camera
instruction
slidable
camera
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.)
Expired - Fee Related
Application number
CN201710852365.0A
Other languages
Chinese (zh)
Other versions
CN107493435A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710852365.0A priority Critical patent/CN107493435B/en
Publication of CN107493435A publication Critical patent/CN107493435A/en
Application granted granted Critical
Publication of CN107493435B publication Critical patent/CN107493435B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the technical field of shooting, and discloses a shooting method and a terminal. Therefore, by the embodiment of the invention, the scene or the person in the photo shot by the terminal can be prevented from being blocked by moving the slidable camera.

Description

Shooting method, terminal and related medium product
Technical Field
The invention relates to the technical field of shooting, in particular to a shooting method, a terminal and a related medium product.
Background
Currently, many terminals (such as mobile phones, PADs, etc.) are equipped with cameras, and the cameras are fixedly installed on the top of the terminals. When a user takes a picture by holding the terminal, the fingers of the user may block a part of the area of the camera, which causes a problem that a part of the scenery or people in the picture taken by the terminal is blocked.
Disclosure of Invention
The embodiment of the invention discloses a shooting method and a terminal, which can prevent the scene or people in a photo shot by the terminal from being blocked.
The first aspect of the embodiment of the invention discloses a shooting method, which is applied to a terminal provided with a slidable camera, and comprises the following steps:
receiving a mobile mode starting instruction, wherein the mobile mode starting instruction is used for starting a mobile mode of the slidable camera;
responding to the moving mode starting instruction, and starting a moving mode of the slidable camera;
in the moving mode, obtaining a moving instruction for the slidable camera;
responding to the moving instruction, and moving the slidable camera according to a set moving track;
and responding to a shooting instruction input by a user, and executing shooting operation.
A second aspect of the embodiments of the present invention discloses a terminal, on which a slidable camera is mounted, the terminal including:
the input module is used for receiving a mobile mode starting instruction, and the mobile mode starting instruction is used for starting the mobile mode of the slidable camera;
the control module is used for responding to the moving mode starting instruction and starting the moving mode of the slidable camera;
the acquisition module is used for acquiring a movement instruction aiming at the slidable camera in the movement mode;
the moving module is used for responding to the moving instruction and moving the slidable camera according to a set moving track;
and the shooting module is used for responding to a shooting instruction input by a user and executing shooting operation.
In the embodiment of the invention, the terminal firstly receives a mobile mode starting instruction for starting the mobile mode of the slidable camera installed on the terminal, responds to the mobile mode starting instruction to start the mobile mode of the slidable camera, then acquires the mobile instruction aiming at the slidable camera in the mobile mode, responds to the mobile instruction to move the slidable camera according to the set mobile track, and finally responds to a shooting instruction input by a user to execute shooting operation. Therefore, by the embodiment of the invention, the scene or the person in the photo shot by the terminal can be prevented from being blocked by moving the slidable camera.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a shooting method disclosed in an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another photographing method disclosed in the embodiments of the present invention;
fig. 3 is a schematic structural diagram of a terminal disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a physical movement track of the slidable camera disclosed in the 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
The embodiment of the invention discloses a shooting method and a terminal, which can prevent a scene or a person in a photo shot by the terminal from being blocked in a mode of moving a slidable camera. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a shooting method according to an embodiment of the present invention. The method shown in fig. 1 may be applied to a terminal, such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, etc., which is equipped with a slidable camera. As shown in fig. 1, the photographing method may include the steps of:
s101, receiving a moving mode starting instruction.
In the embodiment of the present invention, the moving mode starting instruction is used to start a moving mode of a slidable camera mounted on the terminal, where the slidable camera may include but is not limited to a fixed mode and a moving mode.
In the embodiment of the present invention, the mobile mode starting instruction received by the terminal may be a mobile mode starting instruction input by a user, or a mobile mode starting instruction automatically generated by the terminal after the slidable camera is started, which is not limited in the embodiment of the present invention.
And S102, responding to the moving mode starting instruction, and starting the moving mode of the slidable camera.
In the embodiment of the present invention, the opening of the movement mode of the slidable camera means that the slidable camera can move during the shooting process.
And S103, acquiring a moving instruction for the slidable camera in the moving mode.
As an optional implementation manner, in the moving mode, the acquiring, by the terminal, a moving instruction for the slidable camera may include:
in the moving mode, a moving instruction for the slidable camera, which is input by a user, is obtained, where the moving instruction may include a moving distance of the slidable camera along a set moving track, and optionally, the moving instruction may further include a moving direction of the slidable camera along the set moving track.
In the embodiment of the invention, the user can move the slidable camera according to the self requirement to prevent the fingers or other shielding objects of the user from shielding part or all of the area of the slidable camera when the user uses the terminal to shoot, so that the scenery or people in the picture shot by the terminal are prevented from being shielded, and the use experience of the user is improved.
As another optional implementation manner, in the moving mode, the acquiring, by the terminal, a moving instruction for the slidable camera may include:
and under the moving mode, detecting whether a target object with the distance from the slidable camera being less than or equal to a preset distance threshold exists in the shooting range of the slidable camera, and generating a moving instruction for the slidable camera when the detection result is yes.
In the embodiment of the present invention, when a user uses the terminal to shoot, a part of or all of an area of the slidable camera may be blocked by a finger of the user or other blocking object such as an article in a hand of the user, and the finger of the user or other blocking object such as an article in a hand of the user is closer to the slidable camera, so that a preset distance threshold is stored in the terminal in advance, when the slidable camera is started and a moving mode of the slidable camera is turned on, the terminal detects whether an object (i.e., a blocking object) whose distance from the slidable camera is smaller than or equal to the preset distance threshold exists in a shooting range of the slidable camera in the moving mode, and if the detection result of the terminal is yes, the terminal determines that the slidable camera is blocked, the terminal automatically generates a moving instruction for the slidable camera, whether can make terminal automated inspection slidable camera sheltered from like this, and when the testing result was when yes, the mobile instruction to slidable camera was generated to the automation, had strengthened the intelligence that the terminal was shot, had reduced user's manual operation, and avoided scenery or personage to be sheltered from in the photo that the terminal was shot, had improved user's use and experienced.
And S104, responding to the moving instruction, and moving the slidable camera according to the set moving track.
In the embodiment of the present invention, the terminal is not only provided with the slidable camera, but also provided with a physical movement track of the slidable camera, and a movement direction of the slidable camera along the physical movement track may be stored in the terminal in advance, and the terminal may also receive a movement direction input by a user, that is, a movement direction included in a movement instruction for the slidable camera input by the user.
In this embodiment of the present invention, the slidable camera installed on the terminal may be a single camera or multiple cameras, and the physical movement track installed on the terminal may be a physical movement track along a diagonal line of the terminal, a physical movement track along a certain curve of the terminal, a physical movement track along a frame of the terminal, or any combination of the three types of physical movement tracks, which is not limited in the embodiment of the present invention. For example, the physical movement track of the slidable camera mounted on the terminal may be as shown in fig. 7, and fig. 7 is a schematic structural diagram of the physical movement track of the slidable camera disclosed in the embodiment of the present invention. As shown in fig. 7, a in fig. 7 is a physical movement trajectory along a diagonal line of the terminal when the slidable camera is a single camera, B in fig. 7 is a physical movement trajectory along a frame of the terminal when the slidable camera is a single camera, C in fig. 7 is a physical movement trajectory along a diagonal line of the terminal when the slidable camera is a dual camera, and D in fig. 7 is a physical movement trajectory along a frame of the terminal when the slidable camera is a dual camera.
As an optional implementation manner, when the movement instruction for the slidable camera is a movement instruction automatically generated by the terminal, the moving the slidable camera according to the set movement track in response to the movement instruction by the terminal may include:
and responding to the moving instruction, moving the slidable camera to a target position according to a set moving track, wherein the shooting range of the slidable camera at the target position does not include a target object, namely, the terminal finally moves the slidable camera to a position which cannot be shielded by the target object (namely, a shielding object), so that scenery or people in a picture shot by the terminal are prevented from being shielded, and the use experience of a user is improved.
And S105, responding to a shooting instruction input by the user, and executing shooting operation.
In the embodiment of the invention, when the terminal receives a shooting instruction input by a user, the terminal executes shooting operation, namely the terminal shoots people and/or scenery captured by the movable camera.
In the embodiment of the invention, the terminal firstly receives a mobile mode starting instruction for starting the mobile mode of the slidable camera installed on the terminal, responds to the mobile mode starting instruction to start the mobile mode of the slidable camera, then acquires the mobile instruction aiming at the slidable camera in the mobile mode, responds to the mobile instruction to move the slidable camera according to the set mobile track, and finally responds to a shooting instruction input by a user to execute shooting operation. Therefore, by the embodiment of the invention, the situation that the scenery or people in the photo shot by the terminal are blocked can be avoided by moving the slidable camera, and the use experience of the user is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of another photographing method according to an embodiment of the present invention. The method shown in fig. 2 may be applied to a terminal, such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, etc., which is equipped with a slidable camera. As shown in fig. 2, the photographing method may include the steps of:
s201, receiving a moving mode starting instruction.
In the embodiment of the present invention, the moving mode starting instruction is used to start a moving mode of a slidable camera mounted on the terminal, where the slidable camera may include but is not limited to a fixed mode and a moving mode.
In the embodiment of the present invention, the mobile mode starting instruction received by the terminal may be a mobile mode starting instruction input by a user, or a mobile mode starting instruction automatically generated by the terminal after the slidable camera is started, which is not limited in the embodiment of the present invention.
And S202, responding to the moving mode starting instruction, and starting the moving mode of the slidable camera.
In the embodiment of the present invention, the opening of the movement mode of the slidable camera means that the slidable camera can move during the shooting process.
And S203, detecting whether a target object with the distance to the slidable camera being less than or equal to a preset distance threshold exists in the shooting range of the slidable camera in the moving mode.
In the embodiment of the present invention, when the detection result of step S203 is yes, the terminal executes step S204, and when the detection result of step S203 is no, the terminal may perform shooting according to a normal shooting flow.
In the embodiment of the present invention, when the user uses the terminal to shoot, the finger of the user or other shielding object such as an article in the hand of the user may shield a partial area or a whole area of the slidable camera, and the finger of the user or other shielding object such as an article in the hand of the user is closer to the slidable camera, so that the terminal stores a preset distance threshold in advance, when the slidable camera is started and the moving mode of the slidable camera is turned on, the terminal detects whether an object (i.e., shielding object) whose distance from the slidable camera is less than or equal to the preset distance threshold exists in the shooting range of the slidable camera in the moving mode, and if the detection result of the terminal is yes, the terminal determines that the slidable camera is shielded, the terminal executes step S204, so that the terminal can automatically detect whether the slidable camera is shielded, and when the detection result is yes, the mobile instruction for the slidable camera is automatically generated, the intelligence of terminal shooting is enhanced, the manual operation of a user is reduced, the situation that the scenery or people in the photo shot by the terminal are shielded is avoided, and the use experience of the user is improved.
And S204, outputting prompt information when the target object is detected to exist.
In this embodiment of the present invention, the prompt information is used to prompt a user whether the slidable camera is blocked by the target object and whether the slidable camera is moved, where the prompt information may include, but is not limited to, one or more of a voice prompt information, a vibration prompt information, a prompt box prompt information including an operation icon, and an indicator light prompt information, and the embodiment of the present invention is not limited.
And S205, receiving response information input by the user aiming at the prompt information.
In this embodiment of the present invention, the response information is used to indicate whether the terminal moves the slidable camera, and when the response information indicates that the terminal moves the slidable camera, the terminal performs step S206, and when the response information indicates that the terminal does not move the slidable camera, the terminal does not perform any operation on the slidable camera.
And S206, generating a moving instruction for the slidable camera.
And S207, responding to the moving instruction, and moving the slidable camera according to the set moving track.
In the embodiment of the invention, the terminal is provided with not only the slidable camera but also the physical movement track of the slidable camera, and the movement direction of the slidable camera along the physical movement track can be stored in the terminal in advance.
As an optional implementation manner, the moving, by the terminal, the slidable camera according to the set moving track in response to the moving instruction may include:
and responding to the moving instruction, moving the slidable camera to a target position according to a set moving track, wherein the shooting range of the slidable camera at the target position does not include a target object, namely, the terminal finally moves the slidable camera to a position which cannot be shielded by the target object (namely, a shielding object), so that scenery or people in a picture shot by the terminal are prevented from being shielded, and the use experience of a user is improved.
And S208, responding to the shooting instruction input by the user, and executing the shooting operation.
In the embodiment of the invention, when the terminal receives a shooting instruction input by a user, the terminal executes shooting operation, namely the terminal shoots people and/or scenery captured by the movable camera.
As an alternative implementation, after the terminal performs step S208, the terminal may further perform the following operations:
the slidable camera is moved to an original position, and the moving mode is closed, wherein the original position is the position before the slidable camera is moved, so that the terminal can recover the original shooting setting after a user finishes shooting by using the shooting method provided by the embodiment of the invention, even if the slidable camera is moved to the position before the movement of the slidable camera, such as the default position of the slidable camera of the terminal, the use experience of the user is improved, and the power consumption of the terminal can be reduced by closing the moving mode of the slidable camera, and the service time of a lithium battery of the terminal is prolonged.
As an optional implementation manner, when the response information is used to instruct the terminal to move the slidable camera, before performing step S206, the terminal may further authenticate the user, and the specific manner for authenticating the user by the terminal may be:
outputting a verification interface, wherein the verification interface is used for enabling a user to input a verification identifier, and the verification interface can be a password verification interface, a pattern verification interface or a fingerprint verification interface, and the like, and the embodiment of the invention is not limited;
receiving a verification identifier input by a user, and judging whether the verification identifier input by the user is the same as a verification identifier pre-stored in the terminal, if so, passing the user identity verification, and the terminal executes the step S206, if not, failing the user identity verification, ending the process by the terminal, and outputting indication information for indicating that the user identity verification fails to pass to the user, and outputting a verification interface again.
For example, assuming that the verification interface output by the terminal is a fingerprint verification interface, and the user needs to continuously input a plurality of fingerprints (fingerprint strings) within a preset time period, when the terminal determines that the fingerprint string input by the user is acquired within the preset time period and is completely the same as the fingerprint string pre-stored in the terminal, the terminal may determine that the user identity verification is passed.
In the embodiment of the invention, after the target object is detected, the terminal firstly outputs the prompt information for prompting the user that the slidable camera is shielded by the target object and whether the slidable camera is moved, so that the user can know that the slidable camera is possibly shielded by the shielding object, and the user can decide whether to move the terminal with the slidable camera according to the self-demand, thereby preventing the misoperation of moving the slidable camera with the terminal when the user shoots the scenery and/or people at a close distance, improving the use experience of the user, and the terminal authenticates the identity of the user before generating the moving instruction for the slidable camera, so that the shooting safety of the terminal is improved, the use experience of the user is improved, and the embodiment of the invention can prevent the scenery or people in the photo shot by the terminal from being shielded by moving the slidable camera.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal shown in fig. 3 is a terminal equipped with a slidable camera, and the terminal may include an input module 301, a control module 302, an acquisition module 303, a moving module 304, and a shooting module 305, where:
the input module 301 is used for receiving a moving mode starting instruction.
In the embodiment of the present invention, the moving mode starting instruction is used to start a moving mode of a slidable camera mounted on the terminal, where the slidable camera may include but is not limited to a fixed mode and a moving mode.
In this embodiment of the present invention, the moving mode starting instruction received by the input module 301 may be a moving mode starting instruction input by a user, or may also be a moving mode starting instruction automatically generated by a terminal after a slidable camera is started, which is not limited in this embodiment of the present invention.
The control module 302 is configured to respond to the moving mode starting instruction to start the moving mode of the slidable camera.
In the embodiment of the present invention, the opening of the movement mode of the slidable camera means that the slidable camera can move during the shooting process.
The obtaining module 303 is configured to obtain a moving instruction for the slidable camera in the moving mode.
Optionally, in the moving mode, the specific manner of acquiring the moving instruction for the slidable camera by the acquiring module 303 may be as follows:
in the moving mode, a moving instruction for the slidable camera, which is input by a user, is obtained, where the moving instruction may include a moving distance of the slidable camera along a set moving track, and optionally, the moving instruction may further include a moving direction of the slidable camera along the set moving track.
In the embodiment of the invention, the user can move the slidable camera according to the self requirement to prevent the fingers or other shielding objects of the user from shielding part or all of the area of the slidable camera when the user uses the terminal to shoot, so that the scenery or people in the picture shot by the terminal are prevented from being shielded, and the use experience of the user is improved.
The moving module 304 is configured to respond to the moving instruction, and move the slidable camera according to a set moving track.
In the embodiment of the present invention, the terminal is not only provided with the slidable camera, but also provided with a physical movement track of the slidable camera, and a movement direction of the slidable camera along the physical movement track may be stored in the terminal in advance, and the terminal may also receive a movement direction input by a user, that is, a movement direction included in a movement instruction for the slidable camera input by the user.
The photographing module 305 is configured to perform a photographing operation in response to a photographing instruction input by a user.
In the embodiment of the present invention, when the terminal receives a shooting instruction input by the user, the shooting module 305 executes a shooting operation, that is, the shooting module 305 performs a shooting operation on a person and/or a scene captured by the moved slidable camera.
Optionally, as shown in fig. 4, the obtaining module 303 may include a detecting sub-module 3031 and a generating sub-module 3032, where:
the detection submodule 3031 is configured to detect whether a target object whose distance from the slidable camera is smaller than or equal to a preset distance threshold exists within a shooting range of the slidable camera in the moving mode.
The generation submodule 3032 is configured to generate a movement instruction for the slidable camera when the detection result of the detection submodule 3031 is yes.
In this embodiment of the present invention, the specific manner of moving the slidable camera according to the set moving track by the moving module 304 in response to the moving instruction may be:
responding to the moving instruction, moving the slidable camera to the target position according to the set moving track, wherein the shooting range of the slidable camera at the target position does not include the target object, that is, the moving module 304 finally moves the slidable camera to a position which is not shielded by the target object (i.e., a shielding object), so that the situation that the scenery or people in the photo shot by the terminal are shielded is avoided, and the use experience of the user is improved.
In the embodiment of the present invention, when a user uses the terminal to shoot, a part of or all of the area of the slidable camera may be blocked by a finger of the user or other blocking object such as an article in a hand of the user, and the distance between the finger of the user or other blocking object such as an article in a hand of the user and the slidable camera is relatively short, so that a preset distance threshold is stored in the terminal in advance, when the slidable camera is started and a moving mode of the slidable camera is started, the detection submodule 3031 detects whether an object (i.e., a blocking object) whose distance from the slidable camera is smaller than or equal to the preset distance threshold exists in a shooting range of the slidable camera in the moving mode, if a detection result of the detection submodule 3031 is yes, the terminal can determine that the slidable camera is blocked, the generation submodule 3032 automatically generates a moving instruction for the slidable camera, whether can make terminal automated inspection slidable camera sheltered from like this, and when the testing result was when yes, the mobile instruction to slidable camera was generated to the automation, had strengthened the intelligence that the terminal was shot, had reduced user's manual operation, and avoided scenery or personage to be sheltered from in the photo that the terminal was shot, had improved user's use and experienced.
Optionally, as shown in fig. 5, the terminal may further include an output module 306, where:
the output module 306 is configured to output a prompt message when the detection result of the detection submodule 3031 is yes and before the generation submodule 3032 generates a movement instruction for the slidable camera, where the prompt message is used to prompt a user whether the slidable camera is blocked by the target object and the slidable camera is moved, and the prompt message may include, but is not limited to, one or more of a voice prompt message, a vibration prompt message, a prompt box prompt message including an operation icon, and an indicator light prompt message, and the embodiment of the present invention is not limited.
The input module 301 may also be configured to receive response information from the user for the prompt information input.
In this embodiment of the present invention, the response information is used to indicate whether the terminal moves the slidable camera, and when the response information indicates that the terminal moves the slidable camera, the generating sub-module 3032 executes an operation of generating a movement instruction for the slidable camera.
Optionally, the moving module 304 may be further configured to move the slidable camera to an original position after the photographing module 305 executes a photographing operation in response to a photographing instruction input by a user, where the original position is a position before the slidable camera moves, and the control module 302 may be further configured to close the moving mode of the slidable camera, so that the terminal may recover the original photographing setting after the user finishes photographing using the terminal provided by the embodiment of the present invention, even if the slidable camera moves to the position before the movement of the slidable camera, such as a position of a terminal default slidable camera, and the like, use experience of the user is improved, and the moving mode in which the slidable camera is closed may reduce power consumption of the terminal, and prolong a service time of a lithium battery of the terminal.
Optionally, as shown in fig. 6, the terminal may further include a verification module 307, where:
the verification module 307 is configured to, after the input module 301 receives the response information instructing the terminal to move the slidable camera, perform authentication on the user before the generation sub-module 3032 generates a movement instruction for the slidable camera.
And the specific way for the authentication module 307 to authenticate the user may be:
outputting a verification interface, where the verification interface is used for enabling a user to input a verification identifier, and the verification interface may include, but is not limited to, a password verification interface, a pattern verification interface, a fingerprint verification interface, or the like, and the embodiments of the present invention are not limited;
receiving a verification identifier input by a user, and judging whether the verification identifier input by the user is the same as a verification identifier pre-stored in the terminal, if so, passing the user identity verification, and the generating sub-module 3032 generates a moving instruction for the slidable camera, and if not, failing the user identity verification.
By implementing the embodiment of the invention, the scene or people in the photo shot by the terminal can be prevented from being shielded by moving the slidable camera, so that the use experience of a user is improved.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts, modules, and sub-modules referred to are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules and sub-modules in the terminal can be combined, divided and deleted according to actual needs.
The modules and sub-modules in the embodiments of the present invention may be implemented by a general purpose integrated circuit, such as a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC).
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.
The photographing method and the terminal disclosed by the embodiment of the invention are described in detail, the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiment is only used for helping to understand the invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A photographing method applied to a terminal mounted with a slidable camera, the method comprising:
receiving a mobile mode starting instruction, wherein the mobile mode starting instruction is used for starting a mobile mode of the slidable camera;
responding to the moving mode starting instruction, and starting a moving mode of the slidable camera;
in the moving mode, obtaining a moving instruction for the slidable camera;
responding to the moving instruction, and moving the slidable camera according to a set moving track;
responding to a shooting instruction input by a user, and executing shooting operation;
wherein after the shooting operation is executed in response to a shooting instruction input by a user, the method further comprises:
moving the slidable camera to an original position, and closing the moving mode, wherein the original position is a position before the slidable camera moves;
wherein, in the moving mode, acquiring a moving instruction for the slidable camera includes:
in the moving mode, whether a target object with the distance to the slidable camera being smaller than or equal to a preset distance threshold exists in the shooting range of the slidable camera is detected;
when the detection result is yes, generating a moving instruction for the slidable camera;
the responding to the moving instruction, and moving the slidable camera according to the set moving track comprises the following steps:
and responding to the moving instruction, moving the slidable camera to a target position according to a set moving track, wherein the shooting range of the slidable camera at the target position does not include the target object.
2. The method according to claim 1, wherein when the detection result is yes, before the generating the movement instruction for the slidable camera, the method further comprises:
outputting prompt information, wherein the prompt information is used for prompting a user whether the slidable camera is shielded by the target object and whether the slidable camera is moved;
receiving response information input by a user aiming at the prompt information, wherein the response information is used for indicating whether the terminal moves the slidable camera or not;
and when the response information indicates that the terminal moves the slidable camera, executing the operation of generating a movement instruction for the slidable camera.
3. A photographing method applied to a terminal mounted with a slidable camera, the method comprising:
receiving a mobile mode starting instruction, wherein the mobile mode starting instruction is used for starting a mobile mode of the slidable camera;
responding to the moving mode starting instruction, and starting a moving mode of the slidable camera;
in the moving mode, obtaining a moving instruction for the slidable camera;
responding to the moving instruction, and moving the slidable camera according to a set moving track;
responding to a shooting instruction input by a user, and executing shooting operation;
wherein, in the moving mode, acquiring a moving instruction for the slidable camera includes:
in the moving mode, whether a target object with the distance to the slidable camera being smaller than or equal to a preset distance threshold exists in the shooting range of the slidable camera is detected;
and when the detection result is yes, generating a movement instruction for the slidable camera.
4. The utility model provides a terminal, its characterized in that, install the slidable camera on the terminal, the terminal includes:
the input module is used for receiving a mobile mode starting instruction, and the mobile mode starting instruction is used for starting the mobile mode of the slidable camera;
the control module is used for responding to the moving mode starting instruction and starting the moving mode of the slidable camera;
the acquisition module is used for acquiring a movement instruction aiming at the slidable camera in the movement mode;
the moving module is used for responding to the moving instruction and moving the slidable camera according to a set moving track;
the shooting module is used for responding to a shooting instruction input by a user and executing shooting operation;
the moving module is further configured to move the slidable camera to an original position, where the original position is a position before the slidable camera moves;
the control module is further used for closing the moving mode;
wherein, the acquisition module comprises a detection submodule and a generation submodule, wherein:
the detection submodule is used for detecting whether a target object with the distance to the slidable camera being smaller than or equal to a preset distance threshold exists in the shooting range of the slidable camera in the moving mode;
the generation submodule is used for generating a moving instruction aiming at the slidable camera when the detection result of the detection submodule is yes;
the moving module responds to the moving instruction, and the specific mode of moving the slidable camera according to the set moving track is as follows:
and responding to the moving instruction, moving the slidable camera to a target position according to a set moving track, wherein the shooting range of the slidable camera at the target position does not include the target object.
5. The terminal of claim 4, further comprising an output module, wherein:
the output module is configured to output prompt information when the detection result of the detection submodule is yes and before the generation submodule generates a movement instruction for the slidable camera, where the prompt information is used to prompt a user whether the slidable camera is blocked by the target object and is moved;
the input module is further configured to receive response information input by a user for the prompt information, where the response information is used to indicate whether the terminal moves the slidable camera, and when the response information indicates that the terminal moves the slidable camera, the generation submodule executes the operation of generating the movement instruction for the slidable camera.
6. The utility model provides a terminal, its characterized in that, install the slidable camera on the terminal, the terminal includes:
the input module is used for receiving a mobile mode starting instruction, and the mobile mode starting instruction is used for starting the mobile mode of the slidable camera;
the control module is used for responding to the moving mode starting instruction and starting the moving mode of the slidable camera;
the acquisition module is used for acquiring a movement instruction aiming at the slidable camera in the movement mode;
the moving module is used for responding to the moving instruction and moving the slidable camera according to a set moving track;
the shooting module is used for responding to a shooting instruction input by a user and executing shooting operation;
wherein, the acquisition module comprises a detection submodule and a generation submodule, wherein:
the detection submodule is used for detecting whether a target object with the distance to the slidable camera being smaller than or equal to a preset distance threshold exists in the shooting range of the slidable camera in the moving mode;
and the generation submodule is used for generating a movement instruction aiming at the slidable camera when the detection result of the detection submodule is yes.
7. A computer-readable storage medium, characterized in that it stores a computer program comprising instructions for carrying out the method of any one of claims 1 to 3.
CN201710852365.0A 2015-03-05 2015-03-05 Shooting method, terminal and related medium product Expired - Fee Related CN107493435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710852365.0A CN107493435B (en) 2015-03-05 2015-03-05 Shooting method, terminal and related medium product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710852365.0A CN107493435B (en) 2015-03-05 2015-03-05 Shooting method, terminal and related medium product
CN201510098609.1A CN104754215B (en) 2015-03-05 2015-03-05 A kind of image pickup method and terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510098609.1A Division CN104754215B (en) 2015-03-05 2015-03-05 A kind of image pickup method and terminal

Publications (2)

Publication Number Publication Date
CN107493435A CN107493435A (en) 2017-12-19
CN107493435B true CN107493435B (en) 2020-06-26

Family

ID=53593257

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510098609.1A Expired - Fee Related CN104754215B (en) 2015-03-05 2015-03-05 A kind of image pickup method and terminal
CN201710852365.0A Expired - Fee Related CN107493435B (en) 2015-03-05 2015-03-05 Shooting method, terminal and related medium product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510098609.1A Expired - Fee Related CN104754215B (en) 2015-03-05 2015-03-05 A kind of image pickup method and terminal

Country Status (1)

Country Link
CN (2) CN104754215B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120179B (en) * 2015-09-22 2019-01-11 三星电子(中国)研发中心 A kind of photographic method and device
US20170193290A1 (en) * 2016-01-06 2017-07-06 Toshiba Tec Kabushiki Kaisha Commodity registration apparatus and commodity registration method
CN105894455B (en) * 2016-06-27 2019-07-26 联想(北京)有限公司 Photographic method, device and electronic equipment
CN106791314A (en) * 2016-12-27 2017-05-31 深圳市金立通信设备有限公司 A kind of terminal
CN109862226B (en) 2017-11-30 2021-04-27 Oppo广东移动通信有限公司 Camera assembly, mobile terminal and control method of camera assembly
CN108513071A (en) * 2018-04-10 2018-09-07 努比亚技术有限公司 A kind of filming control method, equipment and computer readable storage medium
CN110611752A (en) * 2018-06-14 2019-12-24 中兴通讯股份有限公司 Camera module, method for controlling double cameras and terminal
CN111832535A (en) * 2018-08-24 2020-10-27 创新先进技术有限公司 Face recognition method and device
CN109302557B (en) * 2018-12-03 2024-02-09 歌尔科技有限公司 Electronic equipment and camera lens shelter from device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202488510U (en) * 2012-02-20 2012-10-10 中兴通讯股份有限公司 Mobile device
CN202563240U (en) * 2012-05-18 2012-11-28 深圳市维尚视界立体显示技术有限公司 Dual-camera rotary shooting device for three-dimensional imaging
CN103995788A (en) * 2014-05-27 2014-08-20 广东欧珀移动通信有限公司 Method and device for controlling camera of touch screen terminal to rotate

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100842573B1 (en) * 2006-11-21 2008-07-01 삼성전자주식회사 Device and method for controlling camera in wireless terminal
CN104320574B (en) * 2014-09-26 2017-06-09 广东欧珀移动通信有限公司 A kind of method of gesture control camera rotation, device and infrared gesture sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202488510U (en) * 2012-02-20 2012-10-10 中兴通讯股份有限公司 Mobile device
CN202563240U (en) * 2012-05-18 2012-11-28 深圳市维尚视界立体显示技术有限公司 Dual-camera rotary shooting device for three-dimensional imaging
CN103995788A (en) * 2014-05-27 2014-08-20 广东欧珀移动通信有限公司 Method and device for controlling camera of touch screen terminal to rotate

Also Published As

Publication number Publication date
CN104754215B (en) 2017-10-03
CN107493435A (en) 2017-12-19
CN104754215A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN107493435B (en) Shooting method, terminal and related medium product
US20170308739A1 (en) Human face recognition method and recognition system
KR101598771B1 (en) Method and apparatus for authenticating biometric by using face recognizing
CN105868677B (en) Living body face detection method and device
CN107643977B (en) Anti-addiction method and related product
KR101696602B1 (en) Biometric authentication using gesture
US20180357500A1 (en) Facial recognition method and apparatus and imposter recognition method and apparatus
US9864756B2 (en) Method, apparatus for providing a notification on a face recognition environment, and computer-readable recording medium for executing the method
CN105653922B (en) Biometric authentication method and electronic device
JP6580783B2 (en) Person re-identification system and method
CA3026587C (en) Mobile payment method and device
US20190108409A1 (en) Face recognition method and related product
SG10201805424RA (en) User authentication method, device for executing same, and recording medium for storing same
KR20190015541A (en) Method and apparatus for identity authentication
US20160171300A1 (en) Authentication apparatus and method
US20190384965A1 (en) A method for selecting frames used in face processing
US9792421B1 (en) Secure storage of fingerprint related elements
RU2016122618A (en) METHOD AND EQUIPMENT FOR RECOGNITION OF Fingerprints AND MOBILE TERMINAL
KR20140090795A (en) Method and apparatus for tracking an object in multiple camera environment
CN111160251B (en) Living body identification method and device
JP2015176555A (en) Communication terminal and method for authenticating communication terminal
CN104536675A (en) Photographing mode processing method and terminal
CN107832669B (en) Face detection method and related product
WO2017041358A1 (en) User identity recognition method and apparatus, and mobile terminal
CN113411477B (en) Image acquisition method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200626

CF01 Termination of patent right due to non-payment of annual fee