CN103237178B - The method of Switch Video picture, device and equipment - Google Patents

The method of Switch Video picture, device and equipment Download PDF

Info

Publication number
CN103237178B
CN103237178B CN201310100424.0A CN201310100424A CN103237178B CN 103237178 B CN103237178 B CN 103237178B CN 201310100424 A CN201310100424 A CN 201310100424A CN 103237178 B CN103237178 B CN 103237178B
Authority
CN
China
Prior art keywords
picture pick
image
handover event
face
default
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310100424.0A
Other languages
Chinese (zh)
Other versions
CN103237178A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310100424.0A priority Critical patent/CN103237178B/en
Publication of CN103237178A publication Critical patent/CN103237178A/en
Application granted granted Critical
Publication of CN103237178B publication Critical patent/CN103237178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of method of Switch Video picture, device and equipment, belong to field of terminal equipment.Methods described includes:In video call process is carried out using the first picture pick-up device, detect whether default handover event by gathering image and/or audio-frequency information;When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device.The present invention is by video call process, detect whether default handover event by gathering image and/or audio-frequency information, when detect there is default handover event when, the first currently used picture pick-up device is switched into any one picture pick-up device beyond the first picture pick-up device, the intelligence switching of picture pick-up device on terminal device is realized, image pickup scope during video calling is expanded, it is not necessary to which user carries out the switching of video pictures manually, handover operation is simplified, the quality of video calling is improve.

Description

The method of Switch Video picture, device and equipment
Technical field
The present invention relates to field of terminal equipment, more particularly to a kind of method of Switch Video picture, device and equipment.
Background technology
With developing rapidly for mechanics of communication, mobile terminal has become the necessity of vast majority of people's work and life, And with the continuous extension of mobile terminal function, mobile terminal not only has voice call function, mobile terminal can also be utilized The camera for being configured transmits the voice and image of people in real time, to carry out video call function.
Mobile terminal typically has two cameras:Front camera and rear camera, two cameras may be incorporated for Video calling.In video call process, typically switched between front camera and rear camera manually by user.
Therefore, when video calling is carried out using mobile terminal, the switching between front camera and rear camera is only Can manually be carried out by user, it is cumbersome, have impact on the quality of video calling.
The content of the invention
In order to improve video speech quality, the embodiment of the invention provides a kind of method of Switch Video picture, device and Equipment.The technical scheme is as follows:
A kind of method of Switch Video picture, methods described includes:
In video call process is carried out using the first picture pick-up device, detect and be by gathering image and/or audio-frequency information It is no that default handover event occurs;
When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device.
It is preferred that in video call process is carried out using the first picture pick-up device, by gathering image and/or audio-frequency information Detect whether default handover event, including:
When video calling starts, start the first picture pick-up device and at least one second picture pick-up devices, taken the photograph using first In carrying out video call process as equipment, gathered according to first picture pick-up device and at least one second picture pick-up device Image, detects whether default handover event;
And/or,
In video call process is carried out using the first picture pick-up device, what the audio frequency apparatus according to the terminal device was gathered Voice signal, detects whether default handover event.
It is preferred that in video call process is carried out using the first picture pick-up device, by gathering image and/or audio-frequency information Detect whether default handover event, including:
Detect first picture pick-up device and at least one second picture pick-up device collection image in whether include people Face;
When not including face in the image of first picture pick-up device collection, and at least one second picture pick-up device adopts When the image of collection includes face, the generation default handover event is detected;
When the image of described at least one second picture pick-up devices collection includes face, and hold time more than preset duration When, detect the generation default handover event.
It is preferred that in video call process is carried out using the first picture pick-up device, by gathering image and/or audio-frequency information Detect whether default handover event, including:
The voice signal of the audio frequency apparatus collection according to the terminal device, obtains the source direction of the voice signal;
When the source direction of the voice signal for getting belongs to the second picture pick-up device scope, generation is detected described Default handover event.
It is preferred that in video call process is carried out using the first picture pick-up device, by gathering image and/or audio-frequency information Detect whether default handover event, including:
The voice signal of the audio frequency apparatus collection according to the terminal device, carries out speech recognition;
When recognizing the voice signal and being consistent with default switching voice, the generation default handover event is detected, The default switching voice is used to trigger the switching of picture pick-up device.
A kind of device of Switch Video picture, described device includes:
Handover event detection module, in video call process is carried out using the first picture pick-up device, being schemed by gathering Picture and/or audio-frequency information detect whether default handover event;
Picture pick-up device handover module, for when the generation default handover event is detected, the described first shooting being set It is standby to switch to the second picture pick-up device.
It is preferred that the handover event detection module includes:
First handover event detection unit, for when video calling starts, starting the first picture pick-up device and at least one Second picture pick-up device, in video call process is carried out using the first picture pick-up device, according to first picture pick-up device and described The image of at least one second picture pick-up devices collection, detects whether default handover event;
Second handover event detection unit, in video call process is carried out using the first picture pick-up device, according to institute The voice signal of the audio frequency apparatus collection of terminal device is stated, detects whether default handover event.
It is preferred that the first handover event detection unit includes:
Face datection subelement, for detecting first picture pick-up device and at least one second picture pick-up device collection Image in whether include face;
First face detection sub-unit, for when not including face, and institute in the image that first picture pick-up device is gathered When stating the image of at least one second picture pick-up devices collection including face, the generation default handover event is detected;
Second Face datection subelement, the image for being gathered when described at least one second picture pick-up devices includes face, And hold time during more than preset duration, detect the generation default handover event.
It is preferred that the second handover event detection unit includes:
Sound source direction obtains subelement, for the voice signal gathered according to the audio frequency apparatus of the terminal device, Obtain the source direction of the voice signal;
First sound detection subelement, for being set when the source direction of the voice signal for getting belongs to second shooting During standby scope, the generation default handover event is detected.
It is preferred that the second handover event detection unit includes:
Speech recognition subelement, for the voice signal gathered according to the audio frequency apparatus of the terminal device, carries out voice Identification;
Second sound detection sub-unit, for when recognizing the voice signal and being consistent with default switching voice, detecting To there is the default handover event, the default switching voice is used to trigger the switching of picture pick-up device.
A kind of equipment, including:
Touch display screen;
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one Individual or multiple computing devices, wherein, one or more of modules have following function:
In video call process is carried out using the first picture pick-up device, detect and be by gathering image and/or audio-frequency information It is no that default handover event occurs;
When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Method provided in an embodiment of the present invention, device and equipment, by video call process, by gathering image And/or audio-frequency information detects whether default handover event, when detect there is default handover event when, will be currently used First picture pick-up device switches to any one picture pick-up device beyond first picture pick-up device, realizes picture pick-up device on terminal device Intelligence switching, expand image pickup scope during video calling, carry out the switching of video pictures manually without the need for user, letter Change handover operation, improve the quality of video calling.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention;
Fig. 4 is a kind of voice signal source direction schematic diagram of terminal device collection provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram of Switch Video picture provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention.The inventive embodiments Executive agent is terminal device, is applied under scene of the terminal device with least two picture pick-up devices, referring to Fig. 1, the method Including:
101:In video call process is carried out using the first picture pick-up device, examined by gathering image and/or audio-frequency information Whether survey there is default handover event;
In the embodiment of the present invention, terminal device has at least two picture pick-up devices, can be used for video calling, ordinary circumstance Under, the image-capture field of at least two picture pick-up device is the region of the different directions of terminal device.Preferably, this at least two Individual picture pick-up device includes front camera and rear camera, and such as the image-capture field of front camera is for before terminal device Square region, the image-capture field of rear camera is the rear area of terminal device.
Wherein, first picture pick-up device is any one picture pick-up device at least two picture pick-up device, in video calling During beginning, the picture pick-up device that terminal device is given tacit consent to can be carried out video calling by terminal device as first picture pick-up device, also The picture pick-up device used when can last video calling be closed carries out video calling, such as user as first picture pick-up device Mobile phone is set give tacit consent to when video calling is proceeded by and use front camera, or user's setting mobile phone is proceeding by video The camera used when being closed using last video calling during call, the embodiment of the present invention is not limited this.
Additionally, when video calling starts, starting first picture pick-up device, other picture pick-up devices on the terminal device can To start, it is also possible to do not start, the embodiment of the present invention is not limited this.
Wherein, preset handover event and switch the picture pick-up device for triggering, in the embodiment of the present invention, when terminal device passes through Collection image and/or audio-frequency information are detected when there is default handover event, can intelligently switch picture pick-up device so that Yong Huke With in video call process by using different picture pick-up device Switch Video pictures carrying out video calling.
102:When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device.
Wherein, second picture pick-up device is that any one shooting beyond first picture pick-up device on the terminal device sets It is standby.
Specifically, when the generation default handover event is detected, terminal device is carried out by using first picture pick-up device Video calling is switched to carries out video calling using second picture pick-up device, i.e., during video calling, this second is taken the photograph The object user of video calling is sent to as the image that equipment is gathered, the image of object user transmission is received, by user hair The image for sending is simultaneously displayed on the display screen of terminal device with the image of second picture pick-up device collection, at this point it is possible to should First picture pick-up device is closed, you can entered using second picture pick-up device always with user in thinking the video call process after Row video calling, can also keep first picture pick-up device to open, and in the video call process after, occur to be somebody's turn to do when detecting During default handover event, picture pick-up device switching is carried out again.
For example, during video calling is carried out using front camera, detecting the default handover event of generation, then will Front camera switches to rear camera, carries out video calling.
Method provided in an embodiment of the present invention, in video call process is carried out using the first picture pick-up device, by collection Image and/or audio-frequency information detect whether default handover event;When the generation default handover event is detected, by institute State the first picture pick-up device and switch to the second picture pick-up device.Using technical scheme, by video call process, leading to Cross collection image and/or audio-frequency information detect whether default handover event, when detect there is default handover event when, will The first currently used picture pick-up device switches to any one picture pick-up device beyond first picture pick-up device, realizes terminal device The intelligence switching of upper picture pick-up device, expands image pickup scope during video calling, and video picture is carried out manually without the need for user The switching in face, improves the quality of video calling.
Alternatively, in video call process is carried out using the first picture pick-up device, detect whether default handover event, Can be using at least one of following methods:
When video calling starts, start the first picture pick-up device and at least one second picture pick-up devices, taken the photograph using first In carrying out video call process as equipment, according to the figure that first picture pick-up device and at least one second picture pick-up device are gathered Picture, detects whether default handover event;
In video call process is carried out using the first picture pick-up device, the sound of the audio frequency apparatus collection according to the terminal device Message number, detects whether default handover event.
Alternatively, in video call process is carried out using the first picture pick-up device, according to first picture pick-up device with this extremely The image of few second picture pick-up device collection, detects whether default handover event, can use following methods:
Detect first picture pick-up device and at least one second picture pick-up device collection image in whether include face;
When first picture pick-up device collection image in not include face, and at least one second picture pick-up device collection When image includes face, detect and the default handover event occurs;
When the image of at least one second picture pick-up device collection includes face, and hold time during more than preset duration, Detect and the default handover event occurs.
Alternatively, in video call process is carried out using the first picture pick-up device, according to the audio frequency apparatus of the terminal device The voice signal of collection, detects whether default handover event, can use following methods:
The voice signal of the audio frequency apparatus collection according to the terminal device, obtains the source direction of the voice signal;
When the source direction of the voice signal for getting belongs to the second picture pick-up device scope, this is preset to detect generation Handover event.
Alternatively, in video call process is carried out using the first picture pick-up device, according to the audio frequency apparatus of the terminal device The voice signal of collection, detects whether default handover event, can use following methods:
The voice signal of the audio frequency apparatus collection according to the terminal device, carries out speech recognition;
When recognizing the voice signal and being consistent with default switching voice, detect and the default handover event occurs, this is pre- If switching voice is used to trigger the switching of picture pick-up device.
Method provided in an embodiment of the present invention, in video call process is carried out using the first picture pick-up device, by collection Image and/or audio-frequency information detect whether default handover event;When the generation default handover event is detected, by institute State the first picture pick-up device and switch to the second picture pick-up device.Using technical scheme, by video call process, leading to Cross collection image and/or audio-frequency information detect whether default handover event, when detect there is default handover event when, will The first currently used picture pick-up device switches to any one picture pick-up device beyond first picture pick-up device, realizes terminal device The intelligence switching of upper picture pick-up device, expands image pickup scope during video calling, and video picture is carried out manually without the need for user The switching in face, improves the quality of video calling.
Fig. 2 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention.The inventive embodiments with Executive agent is terminal device, and is entered with the technical scheme as a example by two picture pick-up devices to present invention offer on the terminal device Row explanation, referring to Fig. 2, methods described includes:
201:When video calling starts, start two picture pick-up devices on terminal device;
Specifically, when video calling starts, terminal device receives video calling instruction, the video calling instruction triggers Start two picture pick-up devices on terminal device, image can be gathered using two picture pick-up devices in video call process, And the image of any one picture pick-up device collection in two picture pick-up devices is sent to the object user of video calling, depending on Frequency is conversed.
202:In video call process is carried out using the first picture pick-up device, detect first picture pick-up device and this second take the photograph As whether including face in the image of equipment collection;
Wherein, second picture pick-up device is different picture pick-up devices from first picture pick-up device, in video call process, First picture pick-up device and second picture pick-up device gather image, then detect respectively first picture pick-up device collection image and Whether include face in the image of second picture pick-up device collection, the detection process will be carried out always, until video calling terminates, Allow that terminal device is detected according to the image for collecting in real time, and cutting for the picture pick-up device is controlled according to testing result Change.
Those skilled in the art can know that Face datection refers to detect whether there is face in arbitrary digital picture Picture, and ignore building, number etc. other anything, can be used for video monitor and man-machine interaction etc..
In the embodiment of the present invention, gathered by the image for being gathered to first picture pick-up device respectively and second picture pick-up device Image carry out Face datection, it may be determined that first picture pick-up device image pickup scope and second picture pick-up device shooting model With the presence or absence of user in enclosing, and then determine the need for switching over picture pick-up device.
203:When first picture pick-up device collection image in not include face, and second picture pick-up device collection image During including face, first picture pick-up device is switched into second picture pick-up device;
Specifically, when first picture pick-up device collection image in not include face, and second picture pick-up device collection When image includes face, show in the absence of user in the image pickup scope of first picture pick-up device, in second picture pick-up device There is user in image pickup scope, first picture pick-up device is now switched into second picture pick-up device, carried out in order to the user Video calling.
During using terminal equipment carries out video calling, terminal device can be fixed on specified location by user Afterwards, arbitrarily moved around terminal device, set when user is moved to second shooting by the image pickup scope of first picture pick-up device When in standby image pickup scope, terminal device detect first picture pick-up device collection image in not include face, and this second The image of picture pick-up device collection includes face, then first picture pick-up device is switched into second picture pick-up device.
The image gathered by the image for being gathered to first picture pick-up device respectively and second picture pick-up device carries out face Detection, realizes when in the image-capture field that user appears in first picture pick-up device or second picture pick-up device, terminal Currently used picture pick-up device switches to the corresponding picture pick-up device of user's in-scope by equipment automatically, it is to avoid user enters manually The switching of row picture pick-up device, realizes intelligence switching picture pick-up device, while being different from using a picture pick-up device, uses at least two Individual picture pick-up device carries out video calling and intelligently switches picture pick-up device, expands image pickup scope during video calling so that user Moving range increase in video calling.
204:When face is included in first picture pick-up device and the image of second picture pick-up device collection, do not taken the photograph As equipment switching;
Specifically, when face is included in first picture pick-up device and the image of second picture pick-up device collection, show There is user in the image pickup scope of first picture pick-up device and the image pickup scope of second picture pick-up device, now, do not carry out Picture pick-up device switches, to avoid the frequent switching of picture pick-up device.
205:When the image of second picture pick-up device collection includes face, and hold time during more than preset duration, by this First picture pick-up device switches to second picture pick-up device.
Alternatively, the step 205 is applied to after step 204, i.e., carrying out video calling mistake using the first picture pick-up device Cheng Zhong, when first picture pick-up device and second picture pick-up device is detected including face, does not carry out picture pick-up device switching, by In in video call process, whether face is included in terminal device real-time detection picture pick-up device, therefore, once detect this When two picture pick-up devices start to include face, that is, start to count second picture pick-up device holding time including face, when the maintenance When time exceedes preset duration, first picture pick-up device is switched into second picture pick-up device.
Specifically, during video calling is carried out using the first picture pick-up device, when detecting second picture pick-up device The image of collection includes face, and face is held time during more than preset duration, shows the shooting in second picture pick-up device In the range of there is user, and the duration that the user is in the image pickup scope of second picture pick-up device alreadys exceed preset duration, First picture pick-up device is now switched into second picture pick-up device.
Alternatively, the image that terminal device can be gathered according to second picture pick-up device includes that the frames statistic of face should Second picture pick-up device includes holding time for face, when the continuous frame number including face exceedes predetermined number, determines the maintenance Time exceedes preset duration, or, the image for working as the default frame number in interval still includes face, it is determined that when this is held time more than presetting Long, the specific method that the determination is held time can also have various, will not be repeated here.
Wherein, the preset duration and predetermined number can be set by developer, can also be by user in use Set, the embodiment of the present invention is not limited this.
The step 204 and step 205 can apply at least two users and use same terminal device and object user Carry out under the scene of video calling, such as user A and user's B using terminals equipment carry out video calling with user C, at user A In the image pickup scope of first picture pick-up device, when using first picture pick-up device, user A and user C carries out video calling, this When user B enter second picture pick-up device image pickup scope in when, do not carry out picture pick-up device switching, when user B this second When duration in the image pickup scope of picture pick-up device exceedes preset duration, second shooting is switched to set first picture pick-up device It is standby so that user B and user C carries out video calling, when durations of the user B in the image pickup scope of second picture pick-up device is less than The preset duration, i.e. user B do not carry out picture pick-up device and cut when being left after the image pickup scope for entering second picture pick-up device again Change.
In the embodiment of the present invention, in video call process is carried out using the first picture pick-up device, first picture pick-up device and Second picture pick-up device gathers image, and when not carrying out picture pick-up device and switching, the image of second picture pick-up device collection can be with Deleted after of short duration caching, you can to preset caching duration, when the caching duration of the image of second picture pick-up device collection During more than preset buffer memory duration, the image-erasing that second picture pick-up device is gathered.
The embodiment of the present invention is as a example by having two picture pick-up devices on terminal device, when terminal device has two or more Picture pick-up device when, detect whether include face in the image of more than two picture pick-up devices collection respectively, when currently used Picture pick-up device collection image in not include face when, currently used picture pick-up device can be switched to any including face The corresponding picture pick-up device of image, and when the image that currently used picture pick-up device is gathered includes face, can not carry out Picture pick-up device switches, and the image that can also be gathered according to more than two picture pick-up devices includes holding time for face, will Currently used picture pick-up device switches to the corresponding picture pick-up device of image most long of holding time, the embodiment of the present invention to this not Limit.
Method provided in an embodiment of the present invention, by video call process, by gathering image and/or audio-frequency information Detect whether default handover event, when detect there is default handover event when, by the first currently used picture pick-up device Any one picture pick-up device beyond first picture pick-up device is switched to, the intelligence switching of picture pick-up device on terminal device is realized, Image pickup scope during video calling is expanded, the switching of video pictures is carried out manually without the need for user, video is improve and is led to The quality of words.
Fig. 3 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention.The inventive embodiments with Executive agent is terminal device, and is entered with the technical scheme as a example by two picture pick-up devices to present invention offer on the terminal device Row explanation, referring to Fig. 3, methods described includes:
301:In video call process is carried out using the first picture pick-up device, the audio frequency apparatus collection according to the terminal device Voice signal, obtain the source direction of the voice signal;
Those skilled in the art can know that terminal device can be by audio frequency apparatus collected sound signal, according to this The time difference of the different sensors in voice signal incoming terminal equipment, obtain the source direction of the voice signal.
It should be noted that when switching picture pick-up device is determined the need for by audio-frequency information, can not pre-actuate Second camera gathers image, and the embodiment of the present invention do not limited this.
302:When the source direction of the voice signal for getting belongs to the second picture pick-up device scope, by first shooting Equipment switches to second picture pick-up device;
In the embodiment of the present invention, the source direction according to the voice signal can determine user institute in video call process The position at place, you can to determine that user is to be in the second picture pick-up device scope in the range of first picture pick-up device It is interior, can determine whether to carry out picture pick-up device switching according to the location of user.
Wherein, the second picture pick-up device scope refers to region of the terminal device in the second picture pick-up device direction, such as mobile phone The scope of front camera be the front region of mobile phone.
When the source direction of the voice signal for getting belongs to the second picture pick-up device scope, show user be in this In the image pickup scope of two picture pick-up devices, first picture pick-up device is now switched into second picture pick-up device, that is, start this second Picture pick-up device gathers image, carries out video calling.
303:When the source direction of the voice signal for getting belongs to the first picture pick-up device scope, shooting is not carried out and is set Standby switching;
304:When the source direction of the voice signal for getting belongs to first picture pick-up device with second picture pick-up device During scope junction, picture pick-up device switching is not carried out.
The source direction of the voice signal belongs to first picture pick-up device and the scope junction of second picture pick-up device Refer to that the source direction of the voice signal had both been not belonging to region of the terminal device in the direction of the first image pickup scope equipment, also do not belong to Belong to above-mentioned two area in the region in the direction of second picture pick-up device, or the source direction of the voice signal in terminal device The handover region in domain, such as source direction in the voice signal of mobile phone lateral side regions belong to the front camera of mobile phone and rearmounted take the photograph As the scope junction of head.
Fig. 4 is a kind of voice signal source direction schematic diagram of terminal device collection provided in an embodiment of the present invention, such as Fig. 4 Shown, terminal device has two picture pick-up devices, respectively the first picture pick-up device and the second picture pick-up device, first picture pick-up device Scope is the lower zone of terminal device in Fig. 4, and the second picture pick-up device scope is the top area of terminal device in Fig. 4 Domain, therefore, the source direction of sound source 1 belongs to the first picture pick-up device scope, and the source direction of sound source 2 belongs to this and second takes the photograph As equipment scope, the source direction of sound source 3 belongs to the scope junction of first picture pick-up device and second picture pick-up device.
The embodiment of the present invention can be applied at least two users while being carried out with object user using same terminal device Under the scene of video calling, for example, user A and user's B using terminals equipment carry out video calling with user C, user A is in should The image pickup scope of the first picture pick-up device, user B is in the image pickup scope of second picture pick-up device, when user A sends sound, obtains The source direction of the voice signal got belongs to the first picture pick-up device scope, does not carry out picture pick-up device switching, user A and user C carries out video calling, and when user B sends sound, the source direction of the voice signal for getting belongs to second picture pick-up device Scope, now, second picture pick-up device is switched to by first picture pick-up device so that user B can carry out video and lead to user C Words, by obtaining the source direction of voice signal, control picture pick-up device switching so that at least two use can be used with object per family Family carries out video calling.
The embodiment of the present invention is as a example by having two picture pick-up devices on terminal device, when terminal device has two or more Picture pick-up device when, obtain voice signal source direction, by currently used picture pick-up device switch to the source direction correspondence Picture pick-up device, realize the switching between the more than two picture pick-up devices in video call process on terminal device.
In embodiments of the present invention, terminal device can be gathered first picture pick-up device and second picture pick-up device is detected Image in while whether include face, obtain the source direction of voice signal, when first picture pick-up device and this second take the photograph During as including face in the image of equipment collection, i.e., at least two users are respectively at the image pickup scope of first picture pick-up device During with the image pickup scope of second picture pick-up device, according to the source direction of voice signal, the switching of picture pick-up device is controlled, keep working as The preceding picture pick-up device that uses is the corresponding picture pick-up device of source direction of the voice signal, realizes that at least two users use with object Family carries out video calling, when the user of the image pickup scope in any picture pick-up device leaves, detects any picture pick-up device Do not include face in the image of collection, now no longer carry out picture pick-up device switching.
Method provided in an embodiment of the present invention, by video call process, by gathering image and/or audio-frequency information Detect whether default handover event, when detect there is default handover event when, by the first currently used picture pick-up device Any one picture pick-up device beyond first picture pick-up device is switched to, the intelligence switching of picture pick-up device on terminal device is realized, Image pickup scope during video calling is expanded, the switching of video pictures is carried out manually without the need for user, video is improve and is led to The quality of words.
Fig. 5 is a kind of flow chart of the method for Switch Video picture provided in an embodiment of the present invention.The inventive embodiments with Executive agent is terminal device, and is entered with the technical scheme as a example by two picture pick-up devices to present invention offer on the terminal device Row explanation, referring to Fig. 5, methods described includes:
501:When video calling starts, start two picture pick-up devices on terminal device;
The embodiment of the present invention starts and said as a example by two picture pick-up devices on terminal device with when video calling starts It is bright.
502:In video call process is carried out using the first picture pick-up device, the audio frequency apparatus collection according to the terminal device Voice signal, carry out speech recognition;
Those skilled in the art can know that speech recognition refers to that voice signal is changed by identification and understanding process It is corresponding text or order, a variety of functions is realized according to the text or order.
In video call process is carried out using the first picture pick-up device, terminal device gathers the sound of user by audio frequency apparatus Message number, and speech recognition is carried out to the voice signal, to judge whether the voice signal is the sound that indicates picture pick-up device to switch Message number.
503:When recognizing the voice signal and being consistent with default switching voice, by first picture pick-up device switch to this Two picture pick-up devices.
The default switching voice is used to trigger the switching of picture pick-up device, when recognizing the voice signal with default switching voice When consistent, the switching to picture pick-up device is triggered, first picture pick-up device is switched into second picture pick-up device.The default switching language Sound can be set by developer, it is also possible to be set in use by user.
For example, the default switching voice can be " switching camera ", when user says " switching camera ", terminal sets The voice signal of standby collection user, the voice signal " switching camera " for recognizing user is consistent with default switching voice, now, First picture pick-up device is switched into second picture pick-up device.
In the embodiment of the present invention, by the speech recognition to voice signal so that user is by assigning sound instruction The switching of picture pick-up device is realized, and without carrying out the switching of picture pick-up device manually, is operated easier.
The embodiment of the present invention is as a example by having two picture pick-up devices on terminal device, when terminal device has two or more Picture pick-up device when, obtain user voice signal, when the voice signal with set in advance first switching voice it is consistent when, will Currently used picture pick-up device switches to the corresponding picture pick-up device of the first switching voice, by the sound instruction of user, realizes The switching between more than two picture pick-up devices on terminal device.
Wherein, between the plurality of default switching voice and any default switching voice and more than two picture pick-up devices Mapping relations can be set by developer, it is also possible to set in use by user.
For example, " being switched to front camera " instruction can be triggered and for currently used camera switch to preposition shooting Head, " being switched to side camera " instruction can trigger the camera that currently used camera is switched to side.
Method provided in an embodiment of the present invention, by video call process, by gathering image and/or audio-frequency information Detect whether default handover event, when detect there is default handover event when, by the first currently used picture pick-up device Any one picture pick-up device beyond first picture pick-up device is switched to, the intelligence switching of picture pick-up device on terminal device is realized, Image pickup scope during video calling is expanded, the switching of video pictures is carried out manually without the need for user, video is improve and is led to The quality of words.
Fig. 6 is a kind of apparatus structure schematic diagram of Switch Video picture provided in an embodiment of the present invention.It is described referring to Fig. 6 Device includes:
Handover event detection module 61, in video call process is carried out using the first picture pick-up device, by collection Image and/or audio-frequency information detect whether default handover event;
Picture pick-up device handover module 62, for when the generation default handover event is detected, by first picture pick-up device Switch to the second picture pick-up device.
Alternatively, the handover event detection module 61 includes:
First handover event detection unit, for when video calling starts, starting the first picture pick-up device and at least one Second picture pick-up device, in video call process is carried out using the first picture pick-up device, according to first picture pick-up device with this at least One image of the second picture pick-up device collection, detects whether default handover event;
Second handover event detection unit, in video call process is carried out using the first picture pick-up device, according to this The voice signal of the audio frequency apparatus collection of terminal device, detects whether default handover event.
Alternatively, the first handover event detection unit includes:
Face datection subelement, the figure for detecting first picture pick-up device and at least one second picture pick-up device collection Whether include face as in;
First face detection sub-unit, for when face is not included in the image that first picture pick-up device is gathered, and this to be extremely When the image of few second picture pick-up device collection includes face, detect and the default handover event occurs;
Second Face datection subelement, the image for being gathered when at least one second picture pick-up device includes face, and Hold time during more than preset duration, detect and the default handover event occurs.
Alternatively, the second handover event detection unit includes:
Sound source direction obtains subelement, for the voice signal gathered according to the audio frequency apparatus of the terminal device, obtains Take the source direction of the voice signal;
First sound detection subelement, for belonging to second picture pick-up device when the source direction of the voice signal for getting During scope, detect and the default handover event occurs.
Alternatively, the second handover event detection unit includes:
Speech recognition subelement, for the voice signal gathered according to the audio frequency apparatus of the terminal device, carries out voice knowledge Not;
Second sound detection sub-unit, for when recognizing the voice signal and being consistent with default switching voice, detecting There is the default handover event, the default switching voice is used to trigger the switching of picture pick-up device.
Device provided in an embodiment of the present invention, by video call process, by gathering image and/or audio-frequency information Detect whether default handover event, when detect there is default handover event when, by the first currently used picture pick-up device Any one picture pick-up device beyond first picture pick-up device is switched to, the intelligence switching of picture pick-up device on terminal device is realized, Image pickup scope during video calling is expanded, the switching of video pictures is carried out manually without the need for user, video is improve and is led to The quality of words.
It should be noted that:Above-described embodiment provide Switch Video picture device Switch Video picture when, Only carried out with the division of above-mentioned each functional module for example, in practical application, as needed can distribute above-mentioned functions Completed by different functional module, will the internal structure of equipment be divided into different functional modules, it is described above to complete All or part of function.In addition, the device and Switch Video picture of the Switch Video picture that above-described embodiment is provided Embodiment of the method belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The embodiment of the present invention additionally provides a kind of equipment, including:
Touch display screen;
One or more processors;
Memory;With
One or more modules, one or more modules are stored in the memory and are configured to by this or many Individual computing device, wherein, one or more modules have following function:
In video call process is carried out using the first picture pick-up device, detect and be by gathering image and/or audio-frequency information It is no that default handover event occurs;
When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device.
Alternatively, one or more modules are used to, when video calling starts, start the first picture pick-up device and at least one Individual second picture pick-up device, in video call process is carried out using the first picture pick-up device, according to first picture pick-up device with this extremely The image of few second picture pick-up device collection, detects whether default handover event;And/or, set in the shooting of application first Standby to carry out video call process, the voice signal of the audio frequency apparatus collection according to the terminal device detects whether to occur default Handover event.
Alternatively, one or more modules are additionally operable to detect that at least one first picture pick-up device and second shooting set Whether include face in the image of standby collection;When first picture pick-up device collection image in not include face, and this at least one When the image of individual second picture pick-up device collection includes face, detect and the default handover event occurs;When this at least one second The image of picture pick-up device collection includes face, and holds time during more than preset duration, detects and the default handover event occurs.
Alternatively, one or more modules are additionally operable to the voice signal gathered according to the audio frequency apparatus of the terminal device, Obtain the source direction of the voice signal;When the source direction of the voice signal for getting belongs to the second picture pick-up device scope When, detect and the default handover event occurs.
Alternatively, one or more modules are additionally operable to the voice signal gathered according to the audio frequency apparatus of the terminal device, Carry out speech recognition;When recognizing the voice signal and being consistent with default switching voice, detect and the default handover event occur, The default switching voice is used to trigger the switching of picture pick-up device.
Equipment provided in an embodiment of the present invention, by video call process, by gathering image and/or audio-frequency information Detect whether default handover event, when detect there is default handover event when, by the first currently used picture pick-up device Any one picture pick-up device beyond first picture pick-up device is switched to, the intelligence switching of picture pick-up device on terminal device is realized, Image pickup scope during video calling is expanded, the switching of video pictures is carried out manually without the need for user, video is improve and is led to The quality of words.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (3)

1. a kind of method of Switch Video picture, it is characterised in that methods described includes:
In video call process is carried out using the first picture pick-up device, hair is detected whether by gathering image and/or audio-frequency information Raw default handover event;
When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device;
Wherein, it is described in video call process is carried out using the first picture pick-up device, examined by gathering image and/or audio-frequency information Whether survey there is default handover event, including:
Detect first picture pick-up device and at least one second picture pick-up devices collection image in whether include face;When described Do not include face in the image of the first picture pick-up device collection, and the image of at least one second picture pick-up device collection includes people During face, the generation default handover event is detected;Or, when the image and described at least of first picture pick-up device collection The image of individual second picture pick-up device collection includes face, and the image of at least one second picture pick-up device collection includes people Holding time during more than preset duration for face, detects the generation default handover event;
And/or,
The voice signal of the audio frequency apparatus collection according to terminal device, carries out speech recognition;When recognize the voice signal with When default switching voice is consistent, the generation default handover event is detected, the default switching voice is used to triggering shooting and sets Standby switching.
2. a kind of device of Switch Video picture, it is characterised in that described device includes:
Handover event detection module, in video call process is carried out using the first picture pick-up device, by gather image and/ Or audio-frequency information detects whether default handover event;
Picture pick-up device handover module, for when the generation default handover event is detected, first picture pick-up device being cut It is changed to the second picture pick-up device;
The handover event detection module includes:First handover event detection unit and/or the second handover event detection unit;
The first handover event detection unit includes:Face datection subelement, the first face detection sub-unit;Or, it is described First handover event detection unit includes:Face datection subelement, the second Face datection subelement;
The Face datection subelement, the figure for detecting first picture pick-up device and the collection of at least one second picture pick-up devices Whether include face as in;
The first face detection sub-unit, for when not including face, and institute in the image that first picture pick-up device is gathered When stating the image of at least one second picture pick-up devices collection including face, the generation default handover event is detected;
The second Face datection subelement, for the image and described at least one second gathered when first picture pick-up device The image of picture pick-up device collection includes face, and the image of at least one second picture pick-up device collection includes the dimension of face When holding the time more than preset duration, the generation default handover event is detected;
The second handover event detection unit includes:Speech recognition subelement and second sound detection sub-unit;
The speech recognition subelement, for the voice signal gathered according to the audio frequency apparatus of terminal device, carries out speech recognition;
The second sound detection sub-unit, for when recognizing the voice signal and being consistent with default switching voice, detecting To there is the default handover event, the default switching voice is used to trigger the switching of picture pick-up device.
3. a kind of terminal device, it is characterised in that including:
Touch display screen;
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or Multiple computing devices, wherein, one or more of modules have following function:
In video call process is carried out using the first picture pick-up device, hair is detected whether by gathering image and/or audio-frequency information Raw default handover event;
When the generation default handover event is detected, first picture pick-up device is switched into the second picture pick-up device;
Wherein, it is described in video call process is carried out using the first picture pick-up device, examined by gathering image and/or audio-frequency information Whether survey there is default handover event, including:
Detect first picture pick-up device and at least one second picture pick-up devices collection image in whether include face;When described Do not include face in the image of the first picture pick-up device collection, and the image of at least one second picture pick-up device collection includes people During face, the generation default handover event is detected;Or, when the image and described at least of first picture pick-up device collection The image of individual second picture pick-up device collection includes face, and the image of at least one second picture pick-up device collection includes people Holding time during more than preset duration for face, detects the generation default handover event;
And/or,
The voice signal of the audio frequency apparatus collection according to the terminal device, carries out speech recognition;Believe when the sound is recognized When number consistent with default switching voice, the generation default handover event is detected, the default switching voice is taken the photograph for triggering As the switching of equipment.
CN201310100424.0A 2013-03-26 2013-03-26 The method of Switch Video picture, device and equipment Active CN103237178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310100424.0A CN103237178B (en) 2013-03-26 2013-03-26 The method of Switch Video picture, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310100424.0A CN103237178B (en) 2013-03-26 2013-03-26 The method of Switch Video picture, device and equipment

Publications (2)

Publication Number Publication Date
CN103237178A CN103237178A (en) 2013-08-07
CN103237178B true CN103237178B (en) 2017-06-16

Family

ID=48885192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310100424.0A Active CN103237178B (en) 2013-03-26 2013-03-26 The method of Switch Video picture, device and equipment

Country Status (1)

Country Link
CN (1) CN103237178B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104868A (en) * 2014-06-16 2014-10-15 珠海市魅族科技有限公司 Image saving method and device
CN104023197A (en) * 2014-06-27 2014-09-03 联想(北京)有限公司 Information processing method and information processing device
CN105450961B (en) * 2014-08-18 2019-07-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104539836A (en) * 2014-11-25 2015-04-22 深圳市金立通信设备有限公司 Terminal
CN104536559A (en) * 2014-11-25 2015-04-22 深圳市金立通信设备有限公司 Terminal control method
CN105430522B (en) * 2015-11-25 2019-02-26 深圳Tcl数字技术有限公司 Smart television controlling terminal camera switching method and device
CN105554568A (en) * 2015-12-10 2016-05-04 天脉聚源(北京)传媒科技有限公司 Control method and device of television playing devices
CN106383638B (en) * 2016-08-26 2021-09-03 维沃移动通信有限公司 Payment mode display method and mobile terminal
CN106375703A (en) * 2016-09-14 2017-02-01 北京小米移动软件有限公司 Video communication method and device
CN108073381A (en) * 2016-11-15 2018-05-25 腾讯科技(深圳)有限公司 A kind of object control method, apparatus and terminal device
CN107071329A (en) * 2017-02-27 2017-08-18 努比亚技术有限公司 The method and device of automatic switchover camera in video call process
CN107277427A (en) * 2017-05-16 2017-10-20 广州视源电子科技股份有限公司 Method and device for automatically selecting camera picture and audio/video system
WO2018232645A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Mobile terminal with photographing function and related product
CN109327568A (en) * 2018-10-18 2019-02-12 维沃移动通信(杭州)有限公司 A kind of method and mobile terminal switching camera
CN108989580A (en) * 2018-10-25 2018-12-11 努比亚技术有限公司 Camera switching method, mobile terminal and readable storage medium storing program for executing
CN111698542A (en) * 2019-03-14 2020-09-22 广东小天才科技有限公司 Picture display control method for video call and wearable device
CN109889756B (en) * 2019-03-14 2021-01-08 维沃移动通信有限公司 Video call method and terminal equipment
CN110351515A (en) * 2019-07-23 2019-10-18 广东以诺通讯有限公司 A kind of intelligent video call method and system
CN111083326B (en) * 2019-12-19 2021-07-02 维沃移动通信有限公司 Shooting method and electronic equipment
CN113645429B (en) 2021-08-23 2023-03-21 联想(北京)有限公司 Video acquisition method and electronic equipment
CN113691753A (en) * 2021-09-07 2021-11-23 联想(北京)有限公司 Processing method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728815A (en) * 2000-12-12 2006-02-01 英特尔公司 Automatic multi-camera video composition
CN102361493A (en) * 2011-10-28 2012-02-22 上海华勤通讯技术有限公司 Mobile terminal and method for setting address list head portrait

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8451312B2 (en) * 2010-01-06 2013-05-28 Apple Inc. Automatic video stream selection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728815A (en) * 2000-12-12 2006-02-01 英特尔公司 Automatic multi-camera video composition
CN102361493A (en) * 2011-10-28 2012-02-22 上海华勤通讯技术有限公司 Mobile terminal and method for setting address list head portrait

Also Published As

Publication number Publication date
CN103237178A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN103237178B (en) The method of Switch Video picture, device and equipment
CN110557566B (en) Video shooting method and electronic equipment
CN109379497B (en) Voice information playing method, mobile terminal and computer readable storage medium
CN109597556B (en) Screen capturing method and terminal
KR20090006454A (en) Portable terminal having touch sensing based image photographing function and image photographing method therefor
CN109068167B (en) Screen recording interaction method, mobile terminal, wearable device and storage medium
CN109754801A (en) A kind of voice interactive system and method based on gesture identification
CN109462695B (en) Terminal screen recording method and device, mobile terminal and readable storage medium
CN111182205A (en) Photographing method, electronic device, and medium
US10354678B2 (en) Method and device for collecting sounds corresponding to surveillance images
CN106933620A (en) A kind of filming control method and system
CN110913139A (en) Photographing method and electronic equipment
CN110086993B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN111263071A (en) Shooting method and electronic equipment
CN109120853B (en) Long exposure image shooting method and terminal
CN106210495A (en) Image capturing method and device
WO2021190390A1 (en) Focusing method, electronic device, storage medium and program product
CN106341602A (en) Panoramic image generation method and apparatus
CN104301496A (en) Method and device for controlling ringing mode of intelligent mobile terminal and intelligent mobile terminal
CN105100634A (en) Image photographing method and image photographing device
CN105138956A (en) Face detection method and device
KR20220093246A (en) Filming method and electronic device
CN105282867B (en) Method for connecting network and device
CN103838536A (en) Displaying mode switching method, electronic equipment control method and electronic equipment
CN110881105B (en) Shooting method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

GR01 Patent grant