CN104902169B - A kind of rotating camera control method and terminal - Google Patents

A kind of rotating camera control method and terminal Download PDF

Info

Publication number
CN104902169B
CN104902169B CN201510260726.3A CN201510260726A CN104902169B CN 104902169 B CN104902169 B CN 104902169B CN 201510260726 A CN201510260726 A CN 201510260726A CN 104902169 B CN104902169 B CN 104902169B
Authority
CN
China
Prior art keywords
movement velocity
camera
rotary speed
terminal
target person
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
CN201510260726.3A
Other languages
Chinese (zh)
Other versions
CN104902169A (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 CN201510260726.3A priority Critical patent/CN104902169B/en
Publication of CN104902169A publication Critical patent/CN104902169A/en
Application granted granted Critical
Publication of CN104902169B publication Critical patent/CN104902169B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of rotating camera control method and terminals.Wherein, this method includes:When detecting that target person is kept in motion by camera, the movement velocity of target person is obtained;Using the movement velocity as foundation, the camera rotary speed to match with the movement velocity is determined;Control camera is rotated with the camera rotary speed towards the direction that target person moves.The shooting effect of moving target can be improved by implementing the embodiment of the present invention.

Description

A kind of rotating camera control method and terminal
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of rotating camera control methods and terminal.
Background technology
With the continuous development of electronic technology, rotation is configured on more and more terminals (such as mobile phone, tablet computer) Camera, user can be rotated by gesture control camera, and then adjust shooting visual angle in real time.It is found in practice, works as user Using rotating camera to when the people of movement shoots, since the movement velocity of people changes in real time, and camera is only It can be rotated with single speed, the speed of moving target relative rotation camera always changes in real time, causes shooting The phenomenon that moving target obscures, shooting effect are bad.
The content of the invention
An embodiment of the present invention provides a kind of rotating camera control method and terminal, the shooting of moving target can be improved Effect.
First aspect of the embodiment of the present invention discloses a kind of rotating camera control method, including:
When detecting that target person is kept in motion by camera, the movement velocity of the target person is obtained;
Using the movement velocity as foundation, the camera rotary speed to match with the movement velocity is determined;
The camera is controlled to be rotated with the camera rotary speed towards the direction that the target person moves.
Second aspect of the embodiment of the present invention discloses a kind of terminal, including:
Acquiring unit, for when detecting that target person is kept in motion by camera, obtaining the target person The movement velocity of object;
Determination unit, for using the movement velocity as foundation, determining to revolve with the camera that the movement velocity matches Rotary speed;
Control unit is moved with the camera rotary speed towards the target person for controlling the camera Direction is rotated.
In the embodiment of the present invention, when detecting that target person is kept in motion by camera, terminal obtains target The movement velocity of personage;Further, using movement velocity as foundation, the camera to match with movement velocity rotation speed is determined Degree, control camera are rotated with camera rotary speed towards the direction that target person moves.By the embodiment of the present invention, Terminal is adjusted according to the movement velocity of the target person got come the rotary speed to camera, makes camera rotation speed Degree be consistent with movement velocity, after definite camera rotary speed, terminal can control when shooting camera with Camera rotary speed is rotated towards the direction that target person moves, so as to improve the shooting effect of moving target.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow diagram of rotating camera control method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another rotating camera control method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structure diagram of terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structure diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structure diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structure diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 7 is the structure diagram of another terminal disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of rotating camera control method and terminal, the shooting of moving target can be improved Effect.It is described in detail individually below.
In the embodiment of the present invention, terminal can include but is not limited to smart mobile phone, tablet computer, laptop, palm Computer etc. terminal.Wherein, the operating system of the terminal may include but be not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., this Inventive embodiments do not limit.
Fig. 1 is referred to, Fig. 1 is a kind of flow diagram of rotating camera control method disclosed by the embodiments of the present invention. As shown in Figure 1, this method may comprise steps of:
S101, when detecting that target person is kept in motion by camera, obtain the movement velocity of target person.
It, can on preview shooting interface when terminal, which opens camera, enters preview shooting interface in the embodiment of the present invention With the state of preview target person, such as stationary state or motion state, wherein, which is personage to be captured.Generally For, when camera is in opposing stationary with target person, the photo of camera shooting is just than more visible.If in preview shooting On interface preview to target person be in motion state, at this time if camera does not rotate or camera is with single speed Rotation or the irregular rotation of camera can cause moving target the phenomenon that obscuring of shooting, and shooting effect is bad. Therefore, when detecting that target person is kept in motion by camera, terminal can first obtain the movement speed of target person Degree.
As an alternative embodiment, the specific embodiment that terminal obtains the movement velocity of target person can wrap Include following steps:
11) send movement velocity to the target terminal that the target person carries and obtain instruction, so that the target terminal It responds the movement velocity and obtains instruction, detect the movement velocity of the target person;
12) movement velocity for the target person that the target terminal is sent is received.
In this embodiment, target terminal can include but is not limited to portable terminal, as smart mobile phone, smartwatch, Intelligent bracelet etc. or any device that can detect movement velocity.Wherein, sensing there are many being configured on target terminal Device, such as velocity sensor, range sensor, acceleration transducer.In general, the movement velocity of target terminal detection target person It can be there are two types of mode:The first, the movement velocity of target person is directly detected by the velocity sensor built in target terminal; Second, distance of the target person in preset time is measured by range sensor built in target terminal, according to it is described away from From with the preset time, calculate the movement velocity of target person.
As another optional embodiment, the specific embodiment that terminal obtains the movement velocity of target person can be with Including:
By infrared tachogenerator, the movement velocity of target person is measured.
In this embodiment, infrared tachogenerator is installed in terminal, and terminal can directly pass through the infrared sensing that tests the speed Device measures the movement velocity of target person, to obtain the movement velocity of target person.
It should be noted that the motion state of target person may all change at any time, i.e. the movement velocity of target person In real-time change, terminal needs to obtain the movement velocity of target person in real time, to adjust the rotary speed of camera in real time, with Obtain preferable shooting effect.
As an alternative embodiment, before step S101, the method can also comprise the following steps:
21) the camera open command that user's operation target button is triggered is received;
22) camera open command is responded, opens camera.
In this embodiment, the camera open command that terminal is triggered reception user's operation target button, with sound Should camera open command, open camera.Wherein, the target button can be provided in terminating machine machinery by Key or the software key icon that the application software of terminal is shown in the display interface of terminal is loaded into, the embodiment of the present invention It does not limit.
In this embodiment, if the target button is volume key, user can increase end by pressing simultaneously It holds the volume increasing key of volume and generates camera open command for reducing the volume of terminal volume reduction key to trigger;Or Person, user can be more than pre- when the duration that user is directed to the pressing operation of volume increasing key with Continued depression volume increasing key During the preset time threshold first set, triggering is generated into camera open command;Alternatively, user can be reduced with Continued depression volume Key when user is more than pre-set preset time threshold for the duration of the pressing operation of volume reduction key, will touch Camera open command occurs into, the embodiment of the present invention does not limit.
In this embodiment, if the target button is to be loaded into the application software of terminal to show in the display interface of terminal Software key icon, then when user to the target button carry out touch operation when, will triggering generation camera open command.
As another optional embodiment, above-mentioned steps 21) and specific embodiment 22) can include following step Suddenly:
31) the camera open command that user's operation target button is triggered is received;
32) output inputs the prompt message of information to be verified for prompting;
33) information to be verified for responding the prompt message input is received;
34) verify whether the information to be verified and pre-set default verification information are consistent;
35) when verifying that the information to be verified is consistent with the default verification information, response camera open command is opened Open camera.
In this embodiment, terminal receive camera open command that user's operation target button triggered it Afterwards, terminal will export to prompt the prompt message for inputting information to be verified;And terminal can export to input to be verified The information input port to be verified of information.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified, Any one in shape of face information to be verified, iris information to be verified, retinal information to be verified and voiceprint to be verified Or several combination.
In this embodiment, which may include but be not limited to default verification password, pre- If verification finger print information, default verification shape of face information, default verification iris information, default verification retinal information and default testing Demonstrate,prove any one or the combination of several of them in voiceprint.
In this embodiment, above-mentioned default verification information can include fingerprint string information and each fingerprint corresponds to Input time;So correspondingly, verify whether information to be verified is consistent with default verification information may comprise steps of:
Verify whether fingerprint string is identical with the fingerprint string that default verification information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verification fingerprint string is identical with the fingerprint string that default verification information includes, and identical finger The difference of the input time of line is respectively less than preset value, then can verify that information to be verified is consistent with default verification information;Conversely, Verify that information to be verified and default verification information are inconsistent.Wherein, by implementing the embodiment, it can prevent disabled user from existing Camera is opened in terminal, is operated wantonly by disabled user so as to be effectively prevented terminal.
Optionally, in this embodiment, above-mentioned default verification information can include encrypted message and biological information (refers to Any one of line information, shape of face information, iris information, retinal information and voiceprint or several combinations), then phase Ying Di verifies whether information to be verified is consistent with default verification information and may comprise steps of:
Whether the encrypted message and default encrypted message of verification input are identical, when the encrypted message of verification input is with presetting Encrypted message it is identical when, verify whether the biological information of input and default biological information identical, if verification input life Object information is identical with default biological information, then can verify that information to be verified is consistent with default verification information;, whereas if The biological information of verification input is differed with default biological information, then can verify information to be verified and default verification information It is inconsistent.Wherein, by implementing the embodiment, it can prevent invalid user stealing encrypted message from opening camera, so as to It is operated wantonly by disabled user with being effectively prevented terminal.
S102, using movement velocity as foundation, determine the camera rotary speed to match with movement velocity.
In the embodiment of the present invention, terminal is after the movement velocity of target person is got, it is possible to using movement velocity as Foundation determines the camera rotary speed to match with movement velocity.
Specifically, terminal is previously stored with the correspondence of movement velocity and rotary speed, wherein, which is logical Cross many experiments acquisition, there are one camera rotary speed phases therewith for each movement velocity in the correspondence Match somebody with somebody, in an experiment, with the camera rotary speed to match with movement velocity come when controlling the rotation of camera, captured fortune The picture effect of moving-target is fine.
In one embodiment, terminal is inquired about pre-set movement velocity and is revolved with camera using movement velocity as foundation The correspondence of rotary speed;Further, judge in correspondence with the presence or absence of the corresponding camera rotation speed of the movement velocity Degree;If in the presence of the corresponding camera rotary speed of acquisition movement velocity, if being not present, will move directly from correspondence Speed is substituted into formula, calculates the corresponding camera rotary speed of the movement velocity, and the camera being calculated is rotated speed After degree is added in correspondence, it is possible to the corresponding camera rotary speed of movement velocity is obtained from correspondence.
S103, control camera are rotated with camera rotary speed towards the direction that target person moves.
In the embodiment of the present invention, terminal is after the camera rotary speed for determining to match with movement velocity, and terminal is just Camera can be controlled to be rotated with camera rotary speed towards the direction that target person moves.It should be noted that mesh The movement velocity of personage is marked in real-time change, the direction of motion may also be in real-time change, and therefore, terminal needs real-time tracking target Personage obtains the movement velocity and the direction of motion of target person, after definite camera rotary speed, control camera with Camera rotary speed after determining is rotated towards the direction that target person moves.
As an example it is assumed that the camera rotary speed after currently determining is 30m/s, the target person direction of motion is inclined for east 60 degree of south, then terminal control camera rotated with the direction of 30m/s towards 60 degree of east by south.
In the described method flows of Fig. 1, when detecting that target person is kept in motion by camera, terminal Obtain the movement velocity of target person;Further, using movement velocity as foundation, the camera to match with movement velocity is determined Rotary speed, control camera are rotated with camera rotary speed towards the direction that target person moves.Pass through the present invention Embodiment, terminal are adjusted according to the movement velocity of the target person got come the rotary speed to camera, make camera shooting Head rotary speed is consistent with movement velocity, and after definite camera rotary speed, terminal can control when shooting Camera is rotated with camera rotary speed towards the direction that target person moves, so as to improve the bat of moving target Take the photograph effect.
Fig. 2 is referred to, Fig. 2 is the flow signal of another rotating camera control method disclosed by the embodiments of the present invention Figure.As shown in Fig. 2, this method may comprise steps of:
S201, when detecting that target person is kept in motion by camera, terminal obtain target person movement Speed.
S202, terminal inquire about pair of pre-set movement velocity and camera rotary speed using movement velocity as foundation It should be related to.
S203, terminal are judged with the presence or absence of the corresponding camera rotary speed of the movement velocity in correspondence, if not In the presence of execution step S204~S206, if in the presence of execution step S206.
In the embodiment of the present invention, since the correspondence of movement velocity and camera rotary speed is obtained by many experiments It takes, and the number tested is limited after all, terminal can not possibly all deposit all corresponding camera rotary speeies of movement velocity Storage is in the correspondence, therefore, when terminal is using movement velocity as foundation, inquires about pre-set movement velocity and is revolved with camera During the correspondence of rotary speed, it is possible to which there are two kinds of situations:The first:It is taken the photograph in correspondence there are the movement velocity is corresponding Picture head rotary speed, second:The corresponding camera rotary speed of the movement velocity is not present in correspondence.If first Kind, terminal can perform step S206, if second, terminal can perform step S204~S206.
S204, terminal calculate the corresponding camera rotary speed of the movement velocity according to formula V=kV1.
In the embodiment of the present invention, when terminal judges that there is no the corresponding camera rotations of the movement velocity in correspondence During speed, movement velocity can be substituted into formula V=kV1 and calculate the corresponding camera rotary speed of the movement velocity by terminal, In, V is camera rotary speed, and unit is r/s (revolutions per second), and V1 is the movement velocity, and unit is m/s (meter per second), and k is rotation The factor, k are the constant more than 0;What the formula can be calculated beforehand through many experiments, it can also be by input by user Operational order generation.As an example it is assumed that movement velocity V1 is 1m/s, twiddle factor k is 0.2, then according to formula Camera rotary speed V is calculated as 0.2r/s.
The camera rotary speed being calculated is added in correspondence by S205, terminal.
In the embodiment of the present invention, after the corresponding camera rotary speed of movement velocity is calculated by formula in terminal, Camera rotary speed can be added in correspondence by terminal, can so as to subsequently when getting the movement velocity again Directly to inquire about the corresponding camera rotary speed of the movement velocity.
S206, terminal obtain the corresponding camera rotary speed of movement velocity from correspondence.
S207, terminal control camera are rotated with camera rotary speed towards the direction that target person moves.
In the described method flows of Fig. 2, when detecting that target person is kept in motion by camera, terminal The movement velocity of target person is obtained, and using movement velocity as foundation, inquires about pre-set movement velocity and is rotated with camera The correspondence of speed judged in correspondence with the presence or absence of the corresponding camera rotary speed of movement velocity, if in the presence of, The corresponding camera rotary speed of movement velocity is obtained from correspondence, if being not present, which is substituted into formula The corresponding camera rotary speed of the movement velocity is calculated, and the camera rotary speed being calculated is added to correspondence In, to obtain the corresponding camera rotary speed of movement velocity from correspondence.By the embodiment of the present invention, terminal is obtaining To after the movement velocity of target person, terminal can be looked into directly from correspondence of the movement velocity with camera rotary speed It askes and obtains the corresponding camera rotary speed of the movement velocity or the formula by movement velocity and camera rotary speed The corresponding camera rotary speed of the indirect gain movement velocity, after definite camera rotary speed, terminal control camera It is rotated with camera rotary speed towards the direction that target person moves, so as to improve the shooting of moving target effect Fruit.
It is below apparatus of the present invention embodiment, apparatus of the present invention embodiment is used to perform the side in the method for the present invention embodiment Method for convenience of description, illustrates only and does not disclose, refer to the relevant part of the embodiment of the present invention, particular technique details Above method embodiment of the present invention.
Fig. 3 is referred to, Fig. 3 is a kind of structure diagram of terminal disclosed by the embodiments of the present invention, as shown in figure 3, the end End 300 can include:Acquiring unit 301, determination unit 302 and control unit 303, wherein:
Acquiring unit 301, for when detecting that target person is kept in motion by camera, obtaining target person Movement velocity.
It, can on preview shooting interface when terminal, which opens camera, enters preview shooting interface in the embodiment of the present invention With the state of preview target person, such as stationary state or motion state, wherein, which is personage to be captured.Generally For, when camera is in opposing stationary with target person, the photo of camera shooting is just than more visible.If in preview shooting On interface preview to target person be in motion state, at this time if camera does not rotate or camera is with single speed Rotation or the irregular rotation of camera can cause moving target the phenomenon that obscuring of shooting, and shooting effect is bad. Therefore, when detecting that target person is kept in motion by camera, acquiring unit 301 can first obtain target person Movement velocity.
The specific embodiment that acquiring unit 301 obtains the movement velocity of target person can include:
By infrared tachogenerator, the movement velocity of target person is measured.
In this embodiment, infrared tachogenerator is installed in terminal, and acquiring unit 301 can directly pass through infrared survey Fast sensor measures the movement velocity of target person, to obtain the movement velocity of target person.
It should be noted that the motion state of target person may all change at any time, i.e. the movement velocity of target person In real-time change, acquiring unit 301 needs to obtain the movement velocity of target person in real time, to adjust the rotation of camera in real time Speed, to obtain preferable shooting effect.
Determination unit 302, for using the movement velocity as foundation, determining the camera to match with the movement velocity Rotary speed.
In the embodiment of the present invention, determination unit 302 can using movement velocity as foundation, from pre-set movement velocity with The correspondence of camera rotary speed inquires about the corresponding camera rotary speed of the movement velocity.
Control unit 303, for controlling the direction that camera is moved with the camera rotary speed towards target person It is rotated.
In the embodiment of the present invention, after the camera rotary speed that determination unit 302 matches in definite and movement velocity, Control unit 303 can control camera to be rotated with camera rotary speed towards the direction that target person moves.It needs It is noted that the movement velocity of target person, in real-time change, the direction of motion may also be in real-time change, and therefore, terminal needs Want real-time tracking target person, obtain the movement velocity and the direction of motion of target person, when definite camera rotary speed it Afterwards, camera is controlled to be rotated with the camera rotary speed after determining towards the direction that target person moves.
As an example it is assumed that the camera rotary speed after currently determining is 30m/s, the target person direction of motion is inclined for east 60 degree of south, then terminal control camera rotated with the direction of 30m/s towards 60 degree of east by south.
Refer to Fig. 4, Fig. 4 is the structure diagram of another terminal disclosed by the embodiments of the present invention, wherein, Fig. 4 be Further optimize what is obtained on the basis of terminal shown in Fig. 3, compared with terminal shown in Fig. 3, terminal shown in Fig. 4 is except including Outside all units of terminal shown in Fig. 3, it can also include:Receiving unit 304 and opening unit 305, wherein:
Receiving unit 304, for receiving the camera open command that user's operation target button is triggered;
Opening unit 305 for responding camera open command, opens camera.
In this embodiment, receiving unit 304 refers to the camera unlatching that reception user's operation target button is triggered Order, opening unit 305 respond the camera open command, open camera.Wherein, which can be provided in terminal Mechanical key on fuselage or it is loaded into the software button figure that the application software of terminal is shown in the display interface of terminal Mark, the embodiment of the present invention do not limit.
In this embodiment, if the target button is volume key, user can increase end by pressing simultaneously It holds the volume increasing key of volume and generates camera open command for reducing the volume of terminal volume reduction key to trigger;Or Person, user can be more than pre- when the duration that user is directed to the pressing operation of volume increasing key with Continued depression volume increasing key During the preset time threshold first set, triggering is generated into camera open command;Alternatively, user can be reduced with Continued depression volume Key when user is more than pre-set preset time threshold for the duration of the pressing operation of volume reduction key, will touch Camera open command occurs into, the embodiment of the present invention does not limit.
In this embodiment, if the target button is to be loaded into the application software of terminal to show in the display interface of terminal Software key icon, then when user to the target button carry out touch operation when, will triggering generation camera open command.
As an alternative embodiment, terminal shown in Fig. 4 can also include:Output unit 306 and authentication unit 307, wherein:
Output unit 306, the camera for being triggered in the receiving unit 304 reception user's operation target button are opened After opening instruction, output inputs the prompt message of information to be verified for prompting;
The receiving unit 304 is additionally operable to receive the information to be verified for responding the prompt message input;
Authentication unit 307, for verifying whether the information to be verified and pre-set default verification information are consistent;
Opening unit 305 verifies the information to be verified and the default verification information specifically for working as authentication unit 307 When consistent, camera open command is responded, opens camera.
In this embodiment, the camera that user's operation target button triggered is received in receiving unit 304 to open After instruction, output unit 306 will export to prompt the prompt message for inputting information to be verified;And output unit 306 can To export to input the information input port to be verified of information to be verified.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified, Any one in shape of face information to be verified, iris information to be verified, retinal information to be verified and voiceprint to be verified Or several combination.
In this embodiment, which may include but be not limited to default verification password, pre- If verification finger print information, default verification shape of face information, default verification iris information, default verification retinal information and default testing Demonstrate,prove any one or the combination of several of them in voiceprint.
In this embodiment, above-mentioned default verification information can include fingerprint string information and each fingerprint corresponds to Input time;So correspondingly, authentication unit 307 is verified whether information to be verified is consistent with default verification information and can be included Following steps:
Verify whether fingerprint string is identical with the fingerprint string that default verification information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verification fingerprint string is identical with the fingerprint string that default verification information includes, and identical finger The difference of the input time of line is respectively less than preset value, then can verify that information to be verified is consistent with default verification information;Conversely, Verify that information to be verified and default verification information are inconsistent.Wherein, by implementing the embodiment, it can prevent disabled user from existing Camera is opened in terminal, is operated wantonly by disabled user so as to be effectively prevented terminal.
Optionally, in this embodiment, above-mentioned default verification information can include encrypted message and biological information (refers to Any one of line information, shape of face information, iris information, retinal information and voiceprint or several combinations), then phase Ying Di, authentication unit 307 are verified whether information to be verified is consistent with default verification information and be may comprise steps of:
Whether the encrypted message and default encrypted message of verification input are identical, when the encrypted message of verification input is with presetting Encrypted message it is identical when, verify whether the biological information of input and default biological information identical, if verification input life Object information is identical with default biological information, then can verify that information to be verified is consistent with default verification information;, whereas if The biological information of verification input is differed with default biological information, then can verify information to be verified and default verification information It is inconsistent.Wherein, by implementing the embodiment, it can prevent invalid user stealing encrypted message from opening camera, so as to It is operated wantonly by disabled user with being effectively prevented terminal.
Fig. 5 is referred to, Fig. 5 is the structure diagram of another terminal disclosed by the embodiments of the present invention, wherein, shown in Fig. 5 Terminal on the basis of terminal shown in Fig. 3 further optimization obtain, compared with terminal shown in Fig. 3, the end shown in Fig. 5 In addition to all units for including terminal shown in Fig. 3, acquiring unit 301 can include at end:
Transmission sub-unit 3011, the target terminal for being carried to the target person send movement velocity and obtain instruction, So that the target terminal responds the movement velocity and obtains instruction, the movement velocity of the target person is detected.
Receiving subelement 3012, for receiving the movement velocity for the target person that the target terminal is sent.
In this embodiment, target terminal can include but is not limited to portable terminal, as smart mobile phone, smartwatch, Intelligent bracelet etc. or any device that can detect movement velocity.Wherein, sensing there are many being configured on target terminal Device, such as velocity sensor, range sensor, acceleration transducer.In general, the movement velocity of target terminal detection target person It can be there are two types of mode:The first, the movement velocity of target person is directly detected by the velocity sensor built in target terminal; Second, distance of the target person in preset time is measured by range sensor built in target terminal, according to it is described away from From with the preset time, calculate the movement velocity of target person.
It should be noted that the motion state of target person may all change at any time, i.e. the movement velocity of target person In real-time change, transmission sub-unit 3011 needs the target terminal carried in real time to target person transmission movement velocity acquisition to refer to Order so that target terminal responsive movement speed obtains instruction, detects the movement velocity of target person, such receiving subelement in real time 3012 can real-time reception to target terminal responsive movement speed obtain instruction and send target person movement velocity.
Fig. 6 is referred to, Fig. 6 is the structure diagram of another terminal disclosed by the embodiments of the present invention, wherein, shown in Fig. 6 Terminal on the basis of terminal shown in Fig. 3 further optimization obtain, compared with terminal shown in Fig. 3, the end shown in Fig. 6 In addition to all units for including terminal shown in Fig. 3, determination unit 302 can include at end:
Subelement 3021 is inquired about, for using the movement velocity as foundation, inquiring about pre-set movement velocity and camera shooting The correspondence of head rotary speed.
Judgment sub-unit 3022, for judging to whether there is the corresponding camera shooting of the movement velocity in the correspondence Head rotary speed.
In the embodiment of the present invention, since the correspondence of movement velocity and camera rotary speed is obtained by many experiments It takes, and the number tested is limited after all, terminal can not possibly all deposit all corresponding camera rotary speeies of movement velocity Storage is in the correspondence, therefore, when inquiring about subelement 3021 using movement velocity as foundation, inquires about pre-set movement velocity During with the correspondence of camera rotary speed, it is possible to which there are two kinds of situations:The first:There are movement speed in correspondence Spend corresponding camera rotary speed, second:The corresponding camera rotary speed of the movement velocity is not present in correspondence.
Subelement 3023 is obtained, judges that there are the fortune in the correspondence for working as the judgment sub-unit 3022 During the corresponding camera rotary speed of dynamic speed, from the correspondence, the corresponding camera rotation of the movement velocity is obtained Rotary speed.
Fig. 7 is referred to, Fig. 7 is the structure diagram of another terminal disclosed by the embodiments of the present invention, wherein, shown in Fig. 7 Terminal on the basis of terminal shown in Fig. 6 further optimization obtain, compared with the terminal shown in Fig. 6, end shown in Fig. 7 In addition to all units for including terminal shown in Fig. 6, determination unit 302 can also include at end:
Computation subunit 3024 judges that there is no described in the correspondence for working as the judgment sub-unit 3022 During the corresponding camera rotary speed of movement velocity, the corresponding camera rotation of the movement velocity is calculated according to formula V=kV1 Speed, wherein, V is camera rotary speed, and V1 is movement velocity, and k is twiddle factor, and k is the constant more than 0.
In the embodiment of the present invention, when judgment sub-unit 3022 judges that there is no the movement velocity is corresponding in correspondence During camera rotary speed, movement velocity can be substituted into formula V=kV1 and calculate movement velocity correspondence by computation subunit 3024 Camera rotary speed, wherein, V be camera rotary speed, unit be r/s (revolutions per second), V1 be the movement velocity, unit For m/s (meter per second), k is twiddle factor, and V and V1 are variable, and k is the constant more than 0;The formula can be beforehand through multiple What experimental calculation was drawn, it can also be generated by operational order input by user.As an example it is assumed that movement velocity V1 is 1m/s, twiddle factor k are 0.2, then camera rotary speed V can be calculated as 0.2r/s according to formula.
Subelement 3025 is added, for the camera rotary speed being calculated to be added to the correspondence In, and trigger the acquisition subelement 3023 and perform described being obtained from the correspondence movement velocity is corresponding to be taken the photograph As the operation of head rotary speed.
In the embodiment of the present invention, computation subunit 3024 is calculated the corresponding camera of movement velocity by formula and rotates After speed, camera rotary speed can be added in correspondence by addition subelement 3025, ought subsequently to obtain again When getting the movement velocity, the corresponding camera rotary speed of the movement velocity can be directly inquired about.
In Fig. 3~terminal shown in Fig. 7, when detecting that target person is kept in motion by camera, obtain Unit 301 obtains the movement velocity of target person;Further, it is determined that unit 302 using movement velocity as foundation, determines and movement The camera rotary speed that speed matches, control unit 303 control camera with camera rotary speed towards target person The direction of movement is rotated.By the embodiment of the present invention, after acquiring unit 301 gets the movement velocity of target person, Determination unit 302 determines camera rotary speed, and the rotary speed of camera can be adjusted in terminal, revolve camera Rotary speed is consistent with movement velocity, and control unit 303 can control camera with camera rotary speed when shooting The direction moved towards target person is rotated, so as to improve the shooting effect of moving target.
It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should know, the application and from the limitation of described sequence of movement, because For according to the application, certain some step may be employed other orders or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this Shen It please be necessary.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, be not described in some embodiment Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.

Claims (5)

1. a kind of rotating camera control method, which is characterized in that including:
The camera open command that user's operation target button is triggered is received, the target button is to be arranged on terminating machine Mechanical key or to be loaded into the software key icon that the application software of terminal is shown in the display interface of terminal;
Camera is opened to respond the camera open command;
When detecting that target person is kept in motion by camera, the movement velocity of the target person is obtained;
Using the movement velocity as foundation, the camera rotary speed to match with the movement velocity is determined;
The camera is controlled to be rotated with the camera rotary speed towards the direction that the target person moves;
Wherein, the movement velocity for obtaining the target person, including:
The target terminal carried to the target person sends movement velocity and obtains instruction, so that described in target terminal response Movement velocity obtains instruction, detects the movement velocity of the target person;
Receive the movement velocity for the target person that the target terminal is sent;
Wherein, it is described using the movement velocity as foundation, determine the camera rotary speed to match with the movement velocity, bag It includes:
Using the movement velocity as foundation, the correspondence of pre-set movement velocity and camera rotary speed is inquired about;Sentence Break and whether there is the corresponding camera rotary speed of the movement velocity in the correspondence;
If in the presence of obtaining the corresponding camera rotary speed of the movement velocity from the correspondence.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When judging the camera rotary speed corresponding there is no the movement velocity in the correspondence, according to formula V =kV1 calculates the corresponding camera rotary speed of the movement velocity, wherein, V is camera rotary speed, and V1 is the movement Speed, k are twiddle factor, and k is the constant more than 0;
The camera rotary speed being calculated is added in the correspondence, and is performed described from the corresponding pass The step of corresponding camera rotary speed of the movement velocity is obtained in system.
3. a kind of terminal, which is characterized in that including:
Receiving unit, for receiving the camera open command that user's operation target button is triggered, the target button is to set Put the mechanical key with terminating machine or to be loaded into the software that the application software of terminal is shown in the display interface of terminal Key icon;
Opening unit, for opening camera to respond the camera open command;
Acquiring unit, for when detecting that target person is kept in motion by camera, obtaining the target person Movement velocity;
Determination unit, for using the movement velocity as foundation, determining the camera to match with the movement velocity rotation speed Degree;
Control unit, for controlling the direction that the camera is moved with the camera rotary speed towards the target person It is rotated;
Wherein, the acquiring unit includes:
Transmission sub-unit, the target terminal for being carried to the target person sends movement velocity and obtains instruction, so that described Target terminal responds the movement velocity and obtains instruction, detects the movement velocity of the target person;
Receiving subelement, for receiving the movement velocity for the target person that the target terminal is sent;
Wherein, the determination unit includes:
Subelement is inquired about, for using the movement velocity as foundation, inquiring about pre-set movement velocity and camera rotation speed The correspondence of degree;
Judgment sub-unit, for judging in the correspondence with the presence or absence of the corresponding camera rotation speed of the movement velocity Degree;
Subelement is obtained, judges that there are the movement velocity is corresponding in the correspondence for working as the judgment sub-unit During camera rotary speed, from the correspondence, the corresponding camera rotary speed of the movement velocity is obtained.
4. terminal according to claim 3, which is characterized in that the determination unit further includes:
Computation subunit judges that there is no movement velocity correspondences in the correspondence for working as the judgment sub-unit Camera rotary speed when, calculate the corresponding camera rotary speed of the movement velocity according to formula V=kV1, wherein, V For camera rotary speed, V1 is the movement velocity, and k is twiddle factor, and k is the constant more than 0;
Subelement is added, for the camera rotary speed being calculated to be added in the correspondence, and is triggered Described obtain obtains the corresponding camera rotary speed of the movement velocity described in subelement execution from the correspondence Operation.
5. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium is stored with calculating Machine program, the computer program are used to that related hardware to be instructed to carry out the method described in perform claim requirement 1 or 2.
CN201510260726.3A 2015-05-19 2015-05-19 A kind of rotating camera control method and terminal Expired - Fee Related CN104902169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510260726.3A CN104902169B (en) 2015-05-19 2015-05-19 A kind of rotating camera control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510260726.3A CN104902169B (en) 2015-05-19 2015-05-19 A kind of rotating camera control method and terminal

Publications (2)

Publication Number Publication Date
CN104902169A CN104902169A (en) 2015-09-09
CN104902169B true CN104902169B (en) 2018-05-29

Family

ID=54034535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510260726.3A Expired - Fee Related CN104902169B (en) 2015-05-19 2015-05-19 A kind of rotating camera control method and terminal

Country Status (1)

Country Link
CN (1) CN104902169B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516494B (en) * 2015-12-10 2019-06-14 Oppo广东移动通信有限公司 A kind of method and device of control camera rotation
CN106303222A (en) * 2016-07-29 2017-01-04 广东欧珀移动通信有限公司 Stabilization processing method, device and terminal unit
CN106303223A (en) * 2016-07-29 2017-01-04 努比亚技术有限公司 A kind of image processing method and equipment
CN106998426B (en) * 2017-03-01 2020-07-14 惠州Tcl移动通信有限公司 Dynamic photographing processing method and system based on mobile terminal
CN110210446A (en) * 2019-06-12 2019-09-06 广东工业大学 A kind of sitting posture condition detection method, device, equipment and the medium of target object

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065878A (en) * 2014-06-03 2014-09-24 小米科技有限责任公司 Method, device and terminal for controlling shooting
US20140320674A1 (en) * 2013-04-28 2014-10-30 Tencent Technology (Shenzhen) Company Limited Providing navigation information to a point of interest on real-time street views using a mobile device
WO2014188656A1 (en) * 2013-05-22 2014-11-27 パナソニックIpマネジメント株式会社 Camera unit
CN104378587A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Camera equipment control method, device and equipment
CN104580687A (en) * 2013-10-11 2015-04-29 Lg电子株式会社 Mobile terminal and controlling method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034247B (en) * 2012-12-04 2015-09-02 浙江天地人科技有限公司 The control method of long distance control system and control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140320674A1 (en) * 2013-04-28 2014-10-30 Tencent Technology (Shenzhen) Company Limited Providing navigation information to a point of interest on real-time street views using a mobile device
WO2014188656A1 (en) * 2013-05-22 2014-11-27 パナソニックIpマネジメント株式会社 Camera unit
CN104580687A (en) * 2013-10-11 2015-04-29 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104065878A (en) * 2014-06-03 2014-09-24 小米科技有限责任公司 Method, device and terminal for controlling shooting
CN104378587A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Camera equipment control method, device and equipment

Also Published As

Publication number Publication date
CN104902169A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104902169B (en) A kind of rotating camera control method and terminal
EP3401779B1 (en) Method and apparatus for invoking function in application
US10747305B2 (en) Method, system, and device of authenticating identity of a user of an electronic device
US9526006B2 (en) System, method, and device of detecting identity of a user of an electronic device
US9071969B2 (en) System, device, and method of detecting identity of a user of an electronic device
WO2017219269A1 (en) Method and device for activating virtual card
US20160092018A1 (en) Electronic device with touch screen for fingerprint recognition
CN107765985B (en) Application program control method, user terminal and medium product
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN104137045A (en) User gesture recognition
CN104156071A (en) Method and device for setting screen password and unlocking screen
CN104898836B (en) A kind of rotating camera adjusting method and user terminal
CN104914995B (en) A kind of photographic method and terminal
CN107707738A (en) A kind of face identification method and mobile terminal
JP2013232816A (en) Portable terminal
CN111562961A (en) Icon management method and device and electronic equipment
CN105049732A (en) Camera adjusting method and user terminal
CN103853571B (en) A kind of work state switching method and electronic equipment
CN108717508B (en) Information processing method and electronic equipment
CN103761041A (en) Information processing method and electronic device
CN104751027B (en) The unlocking method and device of a kind of mobile terminal
EP3011483B1 (en) System, device, and method of detecting identity of a user of a mobile electronic device
CN104898818A (en) Information processing method and electronic equipment
JP5958319B2 (en) Information processing apparatus, program, and method
CN106527697A (en) Safety verification method and device in virtual reality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180529

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