CN104811610B - A kind of method and device for controlling camera rotation - Google Patents

A kind of method and device for controlling camera rotation Download PDF

Info

Publication number
CN104811610B
CN104811610B CN201510153459.XA CN201510153459A CN104811610B CN 104811610 B CN104811610 B CN 104811610B CN 201510153459 A CN201510153459 A CN 201510153459A CN 104811610 B CN104811610 B CN 104811610B
Authority
CN
China
Prior art keywords
voice signal
keyword
decibel value
rotary speed
class
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
CN201510153459.XA
Other languages
Chinese (zh)
Other versions
CN104811610A (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 CN201510153459.XA priority Critical patent/CN104811610B/en
Publication of CN104811610A publication Critical patent/CN104811610A/en
Application granted granted Critical
Publication of CN104811610B publication Critical patent/CN104811610B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device for controlling camera rotation, this method includes:Receive the first voice signal for including first kind keyword;First kind keyword is extracted from the first voice signal and measures the decibel value of the first voice signal;If first kind keyword matches with first kind preset keyword, from the corresponding lists of default decibel value and rotary speed, first object rotary speed corresponding to the decibel value of the first voice signal is searched, camera is rotated by first object rotary speed;The second voice signal for including the second class keyword is received, the second class keyword is extracted from the second voice signal;If the second class keyword matches with the second class preset keyword, stop operating camera.Implement the embodiment of the present invention, can effectively control the automatic rotation of camera.

Description

A kind of method and device for controlling camera rotation
Technical field
The present invention relates to communication technical field, and in particular to a kind of method and device for controlling camera rotation.
Background technology
At present, with the continuous progress and development of electronics and mechanics of communication, it is equipped with increasing smart machine Camera, front camera and rear camera is provided with many smart machines, because front camera is mainly used in regarding Frequency chat, rear camera be mainly used in it is daily take pictures, the pixel of front camera is often lower than rear camera.Before current Camera is put because pixel is relatively low, can not meet the self-timer demand of user.One of solution is using rotation Camera, the higher rear camera of pixel is rotated to and is above changed into front camera, then carry out self-timer, it is necessary to user's hand Dynamic rotating camera, user is inconvenient for operation, than relatively time-consuming.
The content of the invention
The embodiment of the present invention provides a kind of method and device for controlling camera rotation, can effectively control camera oneself Dynamic rotation.
First aspect, there is provided a kind of method for controlling camera rotation, including:Receive the comprising first kind keyword One voice signal;
The first kind keyword is extracted from first voice signal and measures the decibel of first voice signal Value;
If the first kind keyword matches with first kind preset keyword, from default decibel value and pair of rotary speed Answer in list, search first object rotary speed corresponding to the decibel value of first voice signal, revolved by the first object Rotary speed rotates camera;
The second voice signal for including the second class keyword is received, second class is extracted from second voice signal Keyword;
If the second class keyword matches with the second class preset keyword, stop operating the camera.Second aspect, A kind of device for controlling camera rotation is provided, including:
First receiving unit, for receiving the first voice signal for including first kind keyword;
First extraction unit, for extracting the first kind keyword from first voice signal;
First measuring unit, for measuring the decibel value of first voice signal;
First searching unit, for when the first kind keyword matches with first kind preset keyword, from default In the corresponding lists of decibel value and rotary speed, first object rotation speed corresponding to the decibel value of first voice signal is searched Degree;
First rotating unit, for rotating camera by the first object rotary speed;
Second receiving unit, for receiving the second voice signal for including the second class keyword;
Second extraction unit, for extracting the second class keyword from second voice signal;
First stop element, for when the second class keyword matches with the second class preset keyword, stopping operating The camera.
In above-mentioned technical proposal, the first voice signal for including first kind keyword is received;Carried from the first voice signal Take first kind keyword and measure the decibel value of the first voice signal;If first kind keyword and first kind preset keyword Match somebody with somebody, from the corresponding lists of default decibel value and rotary speed, search the first mesh corresponding to the decibel value of the first voice signal Rotary speed is marked, camera is rotated by first object rotary speed;The second voice signal for including the second class keyword is received, from The second class keyword is extracted in second voice signal;If the second class keyword matches with the second class preset keyword, stop operating Camera.In compared with prior art, camera can only be manually rotated, the present invention can believe by receiving different sound Number, according to the rotary speed of the decibel value of voice signal control camera, so as to effectively control the automatic rotation of camera.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart for the method for controlling camera to rotate disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of the method for another control camera rotation disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of the method for another control camera rotation disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation for the device for controlling camera to rotate disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the device of another control camera rotation disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the device of another control camera rotation disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is carried out clear Chu, it is fully described by.Obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment party Formula.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained on the premise of creative work is not made The every other embodiment obtained, should all belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method and device for controlling camera rotation, can effectively control camera oneself Dynamic rotation.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of flow chart for the method for controlling camera to rotate disclosed in the embodiment of the present invention.Such as Shown in Fig. 1, the method for the control camera rotation described in the present embodiment, including step:S101, receive and closed comprising the first kind First voice signal of key word.
In the embodiment of the present invention, the first voice signal for including first kind keyword can be received by microphone, wherein, First kind keyword can include " rotation ", " rotation ", " turning " etc., and the first voice signal can be the sound letter that user sends Number.
S102, extract first kind keyword from the first voice signal and measure the decibel value of the first voice signal.
In the embodiment of the present invention, extraction first kind keyword can be extracted by voiced keyword from the first voice signal Algorithm is extracted, and the decibel value of the first voice signal of measurement can be measured by decibel instrument.
S103, if first kind keyword matches with first kind preset keyword, from default decibel value and rotary speed In corresponding lists, first object rotary speed corresponding to the decibel value of the first voice signal is searched, by first object rotary speed Rotate camera.
In the embodiment of the present invention, after first kind keyword is extracted from the first voice signal, with pre-stored first Class preset keyword is compared, and judges whether first kind keyword matches with first kind preset keyword, wherein, the first kind is pre- If keyword can include " rotation ", " rotation " and " turning ", if including " turning " in first kind keyword, it is determined that the first kind is crucial Word matches with first kind preset keyword.The corresponding lists of decibel value and rotary speed can be prestored in memory , the corresponding relation comprising decibel value and rotary speed in the corresponding lists of decibel value and rotary speed, for example, decibel value is During 10-20 decibels (dB), corresponding rotary speed is 0.1 radian per second (0.1rad/s);It is corresponding when decibel value is 20-30dB Rotary speed is 0.2 radian per second (0.2rad/s);When decibel value is 30-40 decibels (dB), corresponding rotary speed is 0.3 arc Degrees second (0.3rad/s);When decibel value is 40-50 decibels (dB), corresponding rotary speed is 0.4 radian per second (0.4rad/s); When decibel value is 50-60 decibels (dB), corresponding rotary speed is 0.5 radian per second (0.5rad/s);Decibel value is 60-70 points During shellfish (dB), corresponding rotary speed is 0.6 radian per second (0.6rad/s);It is corresponding when decibel value is 70-80 decibels (dB) Rotary speed is 0.7 radian per second (0.7rad/s);When decibel value is more than 80 decibels (dB), corresponding rotary speed is 1 arc Degrees second (1rad/s).
S104, the second voice signal for including the second class keyword is received, the second class pass is extracted from the second voice signal Key word.
In the embodiment of the present invention, it can be received by microphone and include the second voice signal of the second class keyword, second Class keyword can include " stopping ", " stopping ", " stopping " etc., and the second voice signal can be the voice signal that user sends, It can be the voice signal that machine is sent.
S105, if the second class keyword matches with the second class preset keyword, stop operating camera.
In the embodiment of the present invention, after the second class keyword is extracted from the second voice signal, with pre-stored second Class preset keyword is compared, and judges whether the second class keyword matches with the second class preset keyword, wherein, the second class is pre- If keyword can include " stopping ", " stopping ", " stopping ", if including " stopping " in the second class keyword, it is determined that the second class is crucial Word matches with the second class preset keyword, and stop operating camera.
In the embodiment of the present invention, the first voice signal for including first kind keyword is received;Carried from the first voice signal Take first kind keyword and measure the decibel value of the first voice signal;If first kind keyword and first kind preset keyword Match somebody with somebody, from the corresponding lists of default decibel value and rotary speed, search the first mesh corresponding to the decibel value of the first voice signal Rotary speed is marked, camera is rotated by first object rotary speed;The second voice signal for including the second class keyword is received, from The second class keyword is extracted in second voice signal;If the second class keyword matches with the second class preset keyword, stop operating Camera.Implement the embodiment of the present invention, can be taken the photograph by receiving different voice signals according to the control of the decibel value of voice signal As the rotary speed of head, the automatic rotation of camera can be effectively controlled.
Referring to Fig. 2, Fig. 2 is the flow chart of the method for another control camera rotation disclosed in the embodiment of the present invention. As shown in Fig. 2 the method for the control camera rotation described in the present embodiment, including step:S201, reception include the 3rd class 3rd voice signal of keyword.
In the embodiment of the present invention, the 3rd voice signal for including the 3rd class keyword can be received by microphone, wherein, 3rd class keyword can include " startup camera ", " unlatching camera ", " opening camera " etc., and the 3rd voice signal can be with It is the voice signal that user sends or the voice signal that machine is sent.
S202, the 3rd class keyword is extracted from the 3rd voice signal.
In the embodiment of the present invention, the 3rd class keyword of extraction can be extracted by voiced keyword from the 3rd voice signal Algorithm extracts.
S203, if the 3rd class keyword matches with the 3rd class preset keyword, start camera.
In the embodiment of the present invention, after the 3rd class keyword is extracted from the 3rd voice signal, with the pre-stored the 3rd Class preset keyword is compared, and judges whether the 3rd class keyword matches with the 3rd class preset keyword, wherein, the 3rd class is pre- If keyword can include " startup camera ", " unlatching camera ", " opening camera " etc., if being included in the 3rd class keyword One kind in " startup camera ", " unlatching camera ", " opening camera ", it is determined that the 3rd class keyword is preset with the 3rd class Keyword match, then start camera.
S204, receive the first voice signal for including first kind keyword.
S205, extract first kind keyword from the first voice signal and measure the decibel value of the first voice signal.
S206, if first kind keyword matches with first kind preset keyword, from default decibel value and rotary speed In corresponding lists, first object rotary speed corresponding to the decibel value of the first voice signal is searched, by first object rotary speed Rotate camera.
S207, the second voice signal for including the second class keyword is received, the second class pass is extracted from the second voice signal Key word.
S208, if the second class keyword matches with the second class preset keyword, stop operating camera.
The step S204- steps S208 of the embodiment of the present invention can be found in the step S101- steps of embodiment illustrated in fig. 1 S105, the embodiment of the present invention repeat no more.
In the embodiment of the present invention, the 3rd voice signal for including the 3rd class keyword is received;Carried from the 3rd voice signal Take the 3rd class keyword;If the 3rd class keyword matches with the 3rd class preset keyword, start camera;Reception includes the first kind First voice signal of keyword;First kind keyword is extracted from the first voice signal and measures the decibel of the first voice signal Value;If first kind keyword matches with first kind preset keyword, from the corresponding lists of default decibel value and rotary speed, First object rotary speed corresponding to the decibel value of the first voice signal is searched, camera is rotated by first object rotary speed; The second voice signal for including the second class keyword is received, the second class keyword is extracted from the second voice signal;If the second class Keyword matches with the second class preset keyword, and stop operating camera.Implement the embodiment of the present invention, can be different by receiving Voice signal, start camera, rotate camera and stop camera, according to the decibel value of the first voice sound signal control The rotary speed of camera, it can effectively control the automatic rotation of camera.
Referring to Fig. 3, Fig. 3 is the flow chart of the method for another control camera rotation disclosed in the embodiment of the present invention. As shown in figure 3, the method for the control camera rotation described in the present embodiment, including step:S301, reception include the first kind First voice signal of keyword.
S302, extract first kind keyword from the first voice signal and measure the decibel value of the first voice signal.
S303, if first kind keyword matches with first kind preset keyword, from default decibel value and rotary speed In corresponding lists, first object rotary speed corresponding to the decibel value of the first voice signal is searched, by first object rotary speed Rotate camera.
S304, receives the 4th voice signal more than preset duration, and preset duration includes at least one basic duration unit.
In the embodiment of the present invention, the 4th voice signal more than preset duration can be received by microphone, wherein, the 4th Voice signal can be the voice signal that user sends, and preset duration includes at least one basic duration unit, basic duration list The time span of member can be that user pre-sets or system is pre-set.Basic duration unit can be 500 Millisecond (ms), 600 milliseconds (ms), 800 milliseconds (ms) etc..For example, if preset duration is 500ms, basic duration unit is 500ms, a length of 1000ms during four voice signals, then the 4th voice signal duration exceed preset duration, preset duration includes one Individual basic duration unit;If preset duration is 1000ms, basic duration unit is 500ms, a length of during four voice signals 1000ms, then the 4th voice signal duration exceed preset duration, preset duration includes two basic duration units;If preset duration For 1000ms, basic duration unit is 500ms, a length of 1200ms during four voice signals, then the 4th voice signal duration exceedes Preset duration, preset duration include two basic duration units.
S305, decibel value of the 4th voice signal of measurement in each basic duration unit.
In the embodiment of the present invention, for example, if preset duration is 1000ms, basic duration unit is 500ms, the 4th language A length of 1000ms during sound signal, then preset duration include two basic duration units, the first basic duration unit is 0-500ms, Second basic duration unit is 500-1000ms, and decibel value of the 4th voice signal of measurement in the first basic duration is first point Shellfish value, decibel value of the 4th voice signal of measurement in the second basic duration is the second decibel value;If preset duration is 1000ms, Basic duration unit is 500ms, a length of 1200ms during four voice signals, then preset duration includes two basic duration units, First basic duration unit is 0-500ms, and the second basic duration unit is 500-1000ms, and the 4th voice signal of measurement is first Decibel value in basic duration is the first decibel value, and decibel value of the 4th voice signal of measurement in the second basic duration is second Decibel value.
S306, from the corresponding lists of default decibel value and rotary speed, search point in each basic duration unit Rotary speed corresponding to shellfish value, the rotary speed as corresponding to the decibel value in each basic duration unit rotate the camera.
In the embodiment of the present invention, decibel value is with including the corresponding of decibel value and rotary speed in the corresponding lists of rotary speed Relation, for example, when decibel value is less than 10 decibels (dB), corresponding rotary speed is 0, right when decibel value is 10-20 decibels (dB) The rotary speed answered is 0.1 radian per second (0.1rad/s);When decibel value is 20-30dB, corresponding rotary speed be 0.2 radian/ Second (0.2rad/s);When decibel value is 30-40 decibels (dB), corresponding rotary speed is 0.3 radian per second (0.3rad/s);Point When shellfish value is 40-50 decibels (dB), corresponding rotary speed is 0.4 radian per second (0.4rad/s);Decibel value is 50-60 decibels (dB) when, corresponding rotary speed is 0.5 radian per second (0.5rad/s);When decibel value is 60-70 decibels (dB), corresponding rotation Rotary speed is 0.6 radian per second (0.6rad/s);When decibel value is 70-80 decibels (dB), corresponding rotary speed be 0.7 radian/ Second (0.7rad/s);When decibel value is more than 80 decibels (dB), corresponding rotary speed is 1 radian per second (1rad/s).Citing comes Say, if preset duration is 1000ms, basic duration unit is 500ms, a length of 1000ms during four voice signals, then preset duration Including two basic duration units, the first basic duration unit is 0-500ms, and the second basic duration unit is 500-1000ms, It is the first decibel value to measure decibel value of the 4th voice signal in the first basic duration, and the 4th voice signal of measurement is in the second base Decibel value in this duration is the second decibel value, if the first decibel value is 45 decibels (dB), corresponding rotary speed is 0.4 arc Degrees second, the second decibel value are 65 decibels (dB), and corresponding rotary speed is 0.6 radian per second, then in first 500ms, presses The speed rotating camera of 0.4 radian per second, in second 500ms, by the speed rotating camera of 0.6 radian per second.
S307, the second voice signal for including the second class keyword is received, the second class pass is extracted from the second voice signal Key word.
S308, if the second class keyword matches with the second class preset keyword, stop operating camera.
The step S301- steps S303 of the embodiment of the present invention can be found in the step S101- steps of embodiment illustrated in fig. 1 S103, step S307- steps S308 can be found in the step S104- step S105 of embodiment illustrated in fig. 1, and the embodiment of the present invention is no longer Repeat.
In the embodiment of the present invention, the first voice signal for including first kind keyword is received;Carried from the first voice signal Take first kind keyword and measure the decibel value of the first voice signal;If first kind keyword and first kind preset keyword Match somebody with somebody, from the corresponding lists of default decibel value and rotary speed, search the first mesh corresponding to the decibel value of the first voice signal Rotary speed is marked, camera is rotated by first object rotary speed;The 4th voice signal more than preset duration is received, when presetting It is long to include at least one basic duration unit;Measure decibel value of the 4th voice signal in each basic duration unit;From pre- If decibel value and rotary speed corresponding lists in, search rotation speed corresponding to the decibel value in each basic duration unit Degree, the rotary speed as corresponding to the decibel value in each basic duration unit rotate the camera;Receive and closed comprising the second class Second voice signal of key word, the second class keyword is extracted from the second voice signal;If the second class keyword and the second class are pre- If keyword match, stop operating camera.Implement the embodiment of the present invention, can by receiving different voice signals, according to The rotary speed of the decibel value control camera of voice signal, can effectively control the automatic rotation of camera.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for the device for controlling camera to rotate disclosed in the embodiment of the present invention Figure.As shown in figure 4, the device described in the present embodiment, including the first receiving unit 401, the first extraction unit 402, first Measuring unit 403, the first searching unit 404, the first rotating unit 405, the second receiving unit 406, the and of the second extraction unit 407 First stop element 408, wherein:
First receiving unit 401, for receiving the first voice signal for including first kind keyword.
In the embodiment of the present invention, the first receiving unit 401 can receive the comprising first kind keyword by microphone One voice signal, wherein, first kind keyword can include " rotation ", " rotation ", " turning " etc., and the first voice signal can be used The voice signal that family is sent.
First extraction unit 402, for extracting first kind keyword from the first voice signal.
In the embodiment of the present invention, the first extraction unit 402 extracts first kind keyword from the first voice signal to be led to Cross the extraction of voiced keyword extraction algorithm.
First measuring unit 403, for measuring the decibel value of the first voice signal.
In the embodiment of the present invention, the decibel value that the first measuring unit 403 measures the first voice signal can pass through decibel instrument Measure.
First searching unit 404, for when first kind keyword matches with first kind preset keyword, from default point In the corresponding lists of shellfish value and rotary speed, first object rotary speed corresponding to the decibel value of the first voice signal of lookup, press First object rotary speed rotates camera.
In the embodiment of the present invention, after first kind keyword is extracted from the first voice signal, with pre-stored first Class preset keyword is compared, and judges whether first kind keyword matches with first kind preset keyword, wherein, the first kind is pre- If keyword can include " rotation ", " rotation " and " turning ", if including " turning " in first kind keyword, it is determined that the first kind is crucial Word matches with first kind preset keyword.The corresponding lists of decibel value and rotary speed can be prestored in memory , the corresponding relation comprising decibel value and rotary speed in the corresponding lists of decibel value and rotary speed, for example, decibel value is During 10-20 decibels (dB), corresponding rotary speed is 0.1 radian per second (0.1rad/s);It is corresponding when decibel value is 20-30dB Rotary speed is 0.2 radian per second (0.2rad/s);When decibel value is 30-40 decibels (dB), corresponding rotary speed is 0.3 arc Degrees second (0.3rad/s);When decibel value is 40-50 decibels (dB), corresponding rotary speed is 0.4 radian per second (0.4rad/s); When decibel value is 50-60 decibels (dB), corresponding rotary speed is 0.5 radian per second (0.5rad/s);Decibel value is 60-70 points During shellfish (dB), corresponding rotary speed is 0.6 radian per second (0.6rad/s);It is corresponding when decibel value is 70-80 decibels (dB) Rotary speed is 0.7 radian per second (0.7rad/s);When decibel value is more than 80 decibels (dB), corresponding rotary speed is 1 arc Degrees second (1rad/s).
First rotating unit 405, for rotating camera by first object rotary speed.
In the embodiment of the present invention, for example, if the decibel value of the first voice signal is 55dB, corresponding first object choosing It is 0.5 radian per second to select speed, and the first rotating unit 405 then rotates camera by the rotary speed of 0.5 radian per second.
Second receiving unit 406, for receiving the second voice signal for including the second class keyword.
In the embodiment of the present invention, the second receiving unit 406 can receive the comprising the second class keyword by microphone Two voice signals.
Second extraction unit 407, for extracting the second class keyword from the second voice signal.
In the embodiment of the present invention, the second class keyword can include " stopping ", " stopping ", " stopping " etc., the second voice signal Can be the voice signal that user sends or the voice signal that machine is sent.
First stop element 408, for when the second class keyword matches with the second class preset keyword, stopping operating and taking the photograph As head.
In the embodiment of the present invention, after the second class keyword is extracted from the second voice signal, with pre-stored second Class preset keyword is compared, and judges whether the second class keyword matches with the second class preset keyword, wherein, the second class is pre- If keyword can include " stopping ", " stopping ", " stopping ", if including " stopping " in the second class keyword, it is determined that the second class is crucial Word matches with the second class preset keyword, and the first stop element 408 stops operating camera.
In the embodiment of the present invention, the first receiving unit 401 receives the first voice signal for including first kind keyword;First Extraction unit 402 extracts first kind keyword from the first voice signal;First measuring unit 403 measures the first voice signal Decibel value;If first kind keyword matches with first kind preset keyword, the first searching unit 404 is from default decibel value with revolving In the corresponding lists of rotary speed, first object rotary speed corresponding to the decibel value of the first voice signal is searched;First rotates list Member 405 rotates camera by first object rotary speed;Second receiving unit 406 receives the second language for including the second class keyword Sound signal;Second extraction unit 407 extracts the second class keyword from the second voice signal;If the second class keyword and the second class Preset keyword matches, and the first stop element 408 stops operating camera.Implement the embodiment of the present invention, can be by receiving not Voice signal together, the rotary speed of camera is controlled according to the decibel value of voice signal, can effectively control camera oneself Dynamic rotation.
Referring to Fig. 5, Fig. 5 is the structural representation of the device of another control camera rotation disclosed in the embodiment of the present invention Figure.As shown in figure 5, the device described in the present embodiment, except including the first receiving unit 401, first extraction shown in Fig. 4 Unit 402, the first measuring unit 403, the first searching unit 404, the first rotating unit 405, the second receiving unit 406, second Outside the stop element 408 of extraction unit 407 and first, in addition to the 3rd receiving unit 409, the 3rd extraction unit 410 and startup Unit 411, wherein:
3rd receiving unit 409, for receiving the 3rd voice signal for including the 3rd class keyword.
In the embodiment of the present invention, the 3rd receiving unit 409 can receive the comprising the 3rd class keyword by microphone Three voice signals, wherein, the 3rd class keyword can include " startup camera ", " unlatching camera ", " opening camera " etc., 3rd voice signal can be the voice signal that user sends or the voice signal that machine is sent.
3rd extraction unit 410, for extracting the 3rd class keyword from the 3rd voice signal.
In the embodiment of the present invention, the 3rd extraction unit 410 extracts the 3rd class keyword from the 3rd voice signal to be led to Cross the extraction of voiced keyword extraction algorithm.
Start unit 411, for when the 3rd class keyword matches with the 3rd class preset keyword, starting camera.
In the embodiment of the present invention, after the 3rd class keyword is extracted from the 3rd voice signal, with the pre-stored the 3rd Class preset keyword is compared, and judges whether the 3rd class keyword matches with the 3rd class preset keyword, wherein, the 3rd class is pre- If keyword can include " startup camera ", " unlatching camera ", " opening camera " etc., if being included in the 3rd class keyword One kind in " startup camera ", " unlatching camera ", " opening camera ", it is determined that the 3rd class keyword is preset with the 3rd class Keyword match, start unit 411 then start camera.
In the embodiment of the present invention, the 3rd receiving unit 409 receives the 3rd voice signal for including the 3rd class keyword;3rd Extraction unit 410 extracts the 3rd class keyword from the 3rd voice signal;If the 3rd class keyword and the 3rd class preset keyword Matching, start unit 411 start camera;First receiving unit 401 receives the first voice signal for including first kind keyword; First extraction unit 402 extracts first kind keyword from the first voice signal and measures the decibel value of the first voice signal;If First kind keyword matches with first kind preset keyword, and the first measuring unit 403 is from default decibel value and rotary speed In corresponding lists, first object rotary speed corresponding to the decibel value of the first searching unit 404 the first voice signal of lookup, first Rotating unit 405 rotates camera by first object rotary speed;Second receiving unit 406 is received comprising the second class keyword Second voice signal, the second extraction unit 407 extract the second class keyword from the second voice signal;If the second class keyword with Second class preset keyword matches, and the first stop element 408 stops operating camera.Implement the embodiment of the present invention, can pass through Different voice signals is received, starts camera, camera is rotated and stops camera, according to point of the first voice sound signal Shellfish value controls the rotary speed of camera, can effectively control the automatic rotation of camera.
Referring to Fig. 6, Fig. 6 is the structural representation of the device of another control camera rotation disclosed in the embodiment of the present invention Figure.As shown in fig. 6, the device described in the present embodiment, except including the first receiving unit 401, first extraction shown in Fig. 4 Unit 402, the first measuring unit 403, the first searching unit 404, the first rotating unit 405, the second receiving unit 406, second Outside the stop element 408 of extraction unit 407 and first, in addition to the 4th receiving unit 412, the second measuring unit 413, second look into The rotating unit 415 of unit 414 and second is looked for, wherein:
4th receiving unit 412, believe for receiving the second voice comprising the second class keyword in the second receiving unit 406 Before number, the 4th voice signal more than preset duration is received, preset duration includes at least one basic duration unit.
In the embodiment of the present invention, the 4th receiving unit 412 can receive the 4th language more than preset duration by microphone Sound signal, wherein, the 4th voice signal can be the voice signal that user sends, and preset duration includes at least one basic duration Unit, the time span of basic duration unit can be that user pre-sets or system is pre-set.When basic Long unit can be 500 milliseconds (ms), 600 milliseconds (ms), 800 milliseconds (ms) etc..For example, if preset duration is 500ms, Basic duration unit is 500ms, a length of 1000ms during four voice signals, then the 4th voice signal duration exceedes preset duration, Preset duration includes a basic duration unit;If preset duration is 1000ms, basic duration unit is 500ms, the 4th voice A length of 1000ms during signal, then the 4th voice signal duration exceed preset duration, preset duration includes two basic duration units; If preset duration is 1000ms, basic duration unit is 500ms, a length of 1200ms during four voice signals, then the 4th voice is believed Number duration exceedes preset duration, and preset duration includes two basic duration units.
Second measuring unit 413, for measuring decibel value of the 4th voice signal in each basic duration unit.
In the embodiment of the present invention, for example, if preset duration is 1000ms, basic duration unit is 500ms, the 4th language A length of 1000ms during sound signal, then preset duration include two basic duration units, the first basic duration unit is 0-500ms, Second basic duration unit is 500-100ms, and the second measuring unit 413 measures the 4th voice signal in the first basic duration Decibel value is the first decibel value, and the second measuring unit 413 measures decibel value of the 4th voice signal in the second basic duration and is Second decibel value;If preset duration is 1000ms, basic duration unit is 500ms, a length of 1200ms during four voice signals, then Preset duration includes two basic duration units, and the first basic duration unit is 0-500ms, and the second basic duration unit is 500- 100ms, it is the first decibel value that the second measuring unit 413, which measures decibel value of the 4th voice signal in the first basic duration, the It is the second decibel value that two measuring units 413, which measure decibel value of the 4th voice signal in the second basic duration,.
Second searching unit 414, it is each basic for from the corresponding lists of default decibel value and rotary speed, searching Rotary speed corresponding to decibel value in duration unit.
In the embodiment of the present invention, decibel value is with including the corresponding of decibel value and rotary speed in the corresponding lists of rotary speed Relation, for example, when decibel value is less than 10 decibels (dB), corresponding rotary speed is 0, right when decibel value is 10-20 decibels (dB) The rotary speed answered is 0.1 radian per second (0.1rad/s);When decibel value is 20-30dB, corresponding rotary speed be 0.2 radian/ Second (0.2rad/s);When decibel value is 30-40 decibels (dB), corresponding rotary speed is 0.3 radian per second (0.3rad/s);Point When shellfish value is 40-50 decibels (dB), corresponding rotary speed is 0.4 radian per second (0.4rad/s);Decibel value is 50-60 decibels (dB) when, corresponding rotary speed is 0.5 radian per second (0.5rad/s);When decibel value is 60-70 decibels (dB), corresponding rotation Rotary speed is 0.6 radian per second (0.6rad/s);When decibel value is 70-80 decibels (dB), corresponding rotary speed be 0.7 radian/ Second (0.7rad/s);When decibel value is more than 80 decibels (dB), corresponding rotary speed is 1 radian per second (1rad/s).
Second rotating unit 415, institute is rotated for the rotary speed as corresponding to the decibel value in each basic duration unit State camera.
In the embodiment of the present invention, for example, if preset duration is 1000ms, basic duration unit is 500ms, the 4th language A length of 1000ms during sound signal, then preset duration include two basic duration units, the first basic duration unit is 0-500ms, Second basic duration unit is 500-100ms, and decibel value of the 4th voice signal of measurement in the first basic duration is first point Shellfish value, decibel value of the 4th voice signal of measurement in the second basic duration is the second decibel value, if the first decibel value is 45 points Shellfish (dB), corresponding rotary speed are 0.4 radian per second, and the second decibel value is 65 decibels (dB), and corresponding rotary speed is 0.6 Radian per second, then in first 500ms, the second rotating unit 415 presses the speed rotating camera of 0.4 radian per second, second In individual 500ms, the second rotating unit 415 presses the speed rotating camera of 0.6 radian per second.
In the embodiment of the present invention, the first receiving unit 401 receives the first voice signal for including first kind keyword;First Extraction unit 402 extracts first kind keyword from the first voice signal;First measuring unit 403 measures the first voice signal Decibel value;If first kind keyword matches with first kind preset keyword, the first searching unit 404 is from default decibel value with revolving In the corresponding lists of rotary speed, first object rotary speed corresponding to the decibel value of the first voice signal is searched;First rotates list Member 405 rotates camera by first object rotary speed;4th receiving unit 412 receives the 4th voice letter more than preset duration Number, preset duration includes at least one basic duration unit;Second measuring unit 413 measures the 4th voice signal each basic Decibel value in duration unit;Second searching unit 414 is searched every from the corresponding lists of default decibel value and rotary speed Rotary speed corresponding to decibel value in individual basic duration unit, the second rotating unit 415 is by each basic duration unit Rotary speed corresponding to decibel value rotates the camera;Second receiving unit 406 receives and includes the second of the second class keyword Voice signal, the second extraction unit 407 extract the second class keyword from the second voice signal;If the second class keyword and second Class preset keyword matches, and the first stop element 408 stops operating camera.Implement the embodiment of the present invention, reception can be passed through Different voice signals, the rotary speed of camera is controlled according to the decibel value of voice signal, can effectively control camera Automatic rotation.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of method and device of the control camera rotation provided above the embodiment of the present invention has carried out detailed Jie Continue, specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair Bright thought, there will be changes in specific embodiments and applications, in summary, this specification content should not manage Solve as limitation of the present invention.

Claims (8)

  1. A kind of 1. method for controlling camera rotation, it is characterised in that methods described is applied to user terminal, methods described bag Include:Receive the first voice signal for including first kind keyword;
    The first kind keyword is extracted from first voice signal and first voice signal is measured by decibel instrument Decibel value;
    If the first kind keyword matches with first kind preset keyword, from default decibel value and the respective column of rotary speed In table, first object rotary speed corresponding to the decibel value of first voice signal is searched, rotates speed by the first object Degree rotates camera;
    The 4th voice signal more than preset duration is received, the preset duration includes at least one basic duration unit;
    Measure decibel value of the 4th voice signal in each basic duration unit;
    From the corresponding lists of default decibel value and rotary speed, search corresponding to the decibel value in each basic duration unit Rotary speed, the rotary speed as corresponding to the decibel value in each basic duration unit rotates institute in each basic duration unit State camera;
    The second voice signal for including the second class keyword is received, it is crucial that second class is extracted from second voice signal Word;
    If the second class keyword matches with the second class preset keyword, stop operating the camera.
  2. 2. according to the method for claim 1, it is characterised in that in first voice for receiving and including first kind keyword Before signal, methods described also includes:
    Receive the 3rd voice signal for including the 3rd class keyword;
    The 3rd class keyword is extracted from the 3rd voice signal;
    If the 3rd class keyword matches with the 3rd class preset keyword, start the camera.
  3. 3. according to the method for claim 1, it is characterised in that receive more than preset duration the 4th voice signal it Afterwards, and before the second voice signal of the reception comprising the second class keyword, methods described also includes:
    If detection inputs without voice signal, stop operating the camera.
  4. 4. according to the method for claim 1, it is characterised in that described corresponding with rotary speed from default decibel value In list, first object rotary speed corresponding to the decibel value of first voice signal is searched, is rotated by the first object Before speed rotates camera, methods described also includes:
    Establish the one-to-one relationship of decibel value and rotary speed;
    The one-to-one relationship of the decibel value and rotary speed is added to the corresponding lists of the decibel value and rotary speed In.
  5. A kind of 5. device for controlling camera rotation, it is characterised in that including:
    First receiving unit, for receiving the first voice signal for including first kind keyword;
    First extraction unit, for extracting the first kind keyword from first voice signal;
    First measuring unit, for measuring the decibel value of first voice signal;
    First searching unit, for when the first kind keyword matches with first kind preset keyword, from default decibel Value is with the corresponding lists of rotary speed, searching first object rotary speed corresponding to the decibel value of first voice signal;
    First rotating unit, for rotating camera by the first object rotary speed;
    4th receiving unit, for receiving the 4th voice signal more than preset duration, the preset duration includes at least one Basic duration unit;
    Second measuring unit, for measuring decibel value of the 4th voice signal in each basic duration unit;
    Second searching unit, for from the corresponding lists of default decibel value and rotary speed, searching each basic duration list Rotary speed corresponding to decibel value in member;
    Second rotating unit, for the rotation as corresponding to the decibel value in each basic duration unit in each basic duration unit Rotary speed rotates the camera;
    Second receiving unit, for receiving the second voice signal for including the second class keyword;
    Second extraction unit, for extracting the second class keyword from second voice signal;
    First stop element, it is described for when the second class keyword matches with the second class preset keyword, stopping operating Camera.
  6. 6. device according to claim 5, it is characterised in that described device also includes:
    3rd receiving unit, for receiving the 3rd voice signal for including the 3rd class keyword;
    3rd extraction unit, for extracting the 3rd class keyword from the 3rd voice signal;
    Start unit, for when the 3rd class keyword matches with the 3rd class preset keyword, starting the camera.
  7. 7. device according to claim 5, it is characterised in that described device also includes:
    Second stop element, for when the 4th receiving unit receive more than preset duration four voice signals after, And before second receiving unit receives the second voice signal comprising the second class keyword, if detection is defeated without voice signal Enter, stop operating the camera.
  8. 8. device according to claim 5, it is characterised in that described device also includes:
    Subelement is established, for being searched when described first first corresponding to the decibel value of subelement lookup first voice signal Before target rotational speed, the one-to-one relationship of decibel value and rotary speed is established;
    Subelement is added, for the one-to-one relationship of the decibel value and rotary speed added to the decibel value and to be rotated In the corresponding lists of speed.
CN201510153459.XA 2015-04-01 2015-04-01 A kind of method and device for controlling camera rotation Expired - Fee Related CN104811610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510153459.XA CN104811610B (en) 2015-04-01 2015-04-01 A kind of method and device for controlling camera rotation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510153459.XA CN104811610B (en) 2015-04-01 2015-04-01 A kind of method and device for controlling camera rotation

Publications (2)

Publication Number Publication Date
CN104811610A CN104811610A (en) 2015-07-29
CN104811610B true CN104811610B (en) 2017-11-17

Family

ID=53696076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510153459.XA Expired - Fee Related CN104811610B (en) 2015-04-01 2015-04-01 A kind of method and device for controlling camera rotation

Country Status (1)

Country Link
CN (1) CN104811610B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773604A (en) * 2004-11-08 2006-05-17 蔡源鸿 Method with sound decibel value as program parameter value
CN1901663A (en) * 2006-07-25 2007-01-24 华为技术有限公司 Video frequency communication system with sound position information and its obtaining method
CN101370084A (en) * 2007-08-13 2009-02-18 天津三星电子有限公司 Acoustic control cam
CN201426153Y (en) * 2009-05-27 2010-03-17 中山佳时光电科技有限公司 Intelligent camera control system for video conference
CN102609091A (en) * 2012-02-10 2012-07-25 北京百纳信息技术有限公司 Mobile terminal and method for starting voice operation thereof
CN202622810U (en) * 2012-05-15 2012-12-26 郑州大学 Head and neck design of intelligent robot
CN103235645A (en) * 2013-04-25 2013-08-07 上海大学 Standing type display interface self-adaption tracking regulating device and method
CN103991492A (en) * 2014-06-11 2014-08-20 重庆大学 Intelligent trolley based on Kinect technology
CN104123939A (en) * 2014-06-06 2014-10-29 国家电网公司 Substation inspection robot based voice interaction control method
CN104135619A (en) * 2014-08-12 2014-11-05 广东欧珀移动通信有限公司 Method and device of controlling camera

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101505198B1 (en) * 2008-08-18 2015-03-23 엘지전자 주식회사 PORTABLE TERMINAL and DRIVING METHOD OF THE SAME

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773604A (en) * 2004-11-08 2006-05-17 蔡源鸿 Method with sound decibel value as program parameter value
CN1901663A (en) * 2006-07-25 2007-01-24 华为技术有限公司 Video frequency communication system with sound position information and its obtaining method
CN101370084A (en) * 2007-08-13 2009-02-18 天津三星电子有限公司 Acoustic control cam
CN201426153Y (en) * 2009-05-27 2010-03-17 中山佳时光电科技有限公司 Intelligent camera control system for video conference
CN102609091A (en) * 2012-02-10 2012-07-25 北京百纳信息技术有限公司 Mobile terminal and method for starting voice operation thereof
CN202622810U (en) * 2012-05-15 2012-12-26 郑州大学 Head and neck design of intelligent robot
CN103235645A (en) * 2013-04-25 2013-08-07 上海大学 Standing type display interface self-adaption tracking regulating device and method
CN104123939A (en) * 2014-06-06 2014-10-29 国家电网公司 Substation inspection robot based voice interaction control method
CN103991492A (en) * 2014-06-11 2014-08-20 重庆大学 Intelligent trolley based on Kinect technology
CN104135619A (en) * 2014-08-12 2014-11-05 广东欧珀移动通信有限公司 Method and device of controlling camera

Also Published As

Publication number Publication date
CN104811610A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104935819B (en) One kind control camera image pickup method and terminal
CN105159640A (en) Display interface rotation method and device, and mobile terminal
US20180302786A1 (en) Method for Protecting Private Information and Terminal Device
CN103957103B (en) The method of safety verification, device and mobile terminal
CN104111728B (en) Phonetic order input method and electronic equipment based on operating gesture
CN105279273B (en) Photo classification method and device
CN105530383B (en) A kind of profile switching method and mobile terminal
CN105101271B (en) Access device information methods of exhibiting and device
CN104837154B (en) The control method and device of wireless access points
EP2897350A1 (en) Picture displaying method, apparatus and terminal device
CN106791921A (en) The processing method and processing device of net cast
CN105100348B (en) Phone call method and device
CN105389113B (en) Application control method, apparatus based on gesture and terminal
CN104574299A (en) Face picture processing method and device
CN106603861A (en) Electric quantity display method and device, and terminal
CN104683002A (en) Method and device for pairing Bluetooth equipment
CN104811610B (en) A kind of method and device for controlling camera rotation
CN105515923A (en) Equipment control method and device
CN108781377A (en) Timer control method and device, electronic equipment, computer readable storage medium
CN108205455A (en) The function realizing method and device of application, terminal
CN105025157B (en) A kind of private contact hidden method and user terminal
JP2008131367A (en) Communication apparatus, communication method, and computer program for making computer execute the communication method
JP6090027B2 (en) Voice command compatible information terminal with specific sound
CN105955616A (en) Method and device for selecting document contents
CN107402763A (en) A kind of icon control method and control system based on intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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
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.

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

Granted publication date: 20171117