CN107071329A - The method and device of automatic switchover camera in video call process - Google Patents

The method and device of automatic switchover camera in video call process Download PDF

Info

Publication number
CN107071329A
CN107071329A CN201710107186.4A CN201710107186A CN107071329A CN 107071329 A CN107071329 A CN 107071329A CN 201710107186 A CN201710107186 A CN 201710107186A CN 107071329 A CN107071329 A CN 107071329A
Authority
CN
China
Prior art keywords
camera
image
destination object
mobile terminal
shot
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.)
Pending
Application number
CN201710107186.4A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710107186.4A priority Critical patent/CN107071329A/en
Publication of CN107071329A publication Critical patent/CN107071329A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Landscapes

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

Abstract

The invention discloses a kind of method and device of automatic switchover camera in video call process, described device includes:Detection module, for detecting in first camera and image captured by second camera whether destination object occur;Camera setup module, is set as main camera for will appear from the first camera or second camera corresponding to the image of destination object, and first camera or second camera corresponding to the image that destination object will not occur are set to time camera;Display module, the image shot for the image that shoots the main camera as key frame, described camera as subframe simultaneous display video calling other side mobile terminal, wherein the picture size of the key frame is more than the picture size of the subframe.Compared with prior art, the present invention realizes the first camera and automatic switchover of the image between key frame and subframe captured by second camera, simplifies user's operation, improves Consumer's Experience.

Description

The method and device of automatic switchover camera in video call process
Technical field
The present invention relates to automatic switchover camera in mobile communication technology field, more particularly to a kind of video call process Method and device.
Background technology
With the continuous development of scientific technology, the function of mobile device such as smart mobile phone, PAD is stronger and stronger, more Like carrying out video calling by mobile devices such as smart mobile phones come more users.User carries out video calling for convenience, In the prior art, many smart mobile phones all include front camera and rear camera, and user can select front camera Or one in rear camera carries out video calling, certain user is also an option that front camera and rear camera simultaneously Carry out video calling.When user (such as user A) selects front camera and rear camera carries out video calling simultaneously, meeting exists The image that front camera and rear camera are shot is shown on the mobile terminal of video calling other side (such as user B) simultaneously, and Image captured by front camera and rear camera in the form of small one and large one generally to show, when user A wishes user's B energy , it is necessary to switch over manually during the image being enough clearly seen captured by some camera, by the camera set based on image Head, and then big image is shown on user B mobile terminal, another camera shows small image.However, user is manual Handover operation is cumbersome, and Consumer's Experience is poor.
For this reason, it is necessary to which it is above-mentioned to overcome to provide a kind of method and device of automatic switchover camera in video call process Defect.
The content of the invention
It is a primary object of the present invention to propose a kind of method and device of automatic switchover camera in video call process, Aim to solve the problem that during manual switching camera it is cumbersome, the problem of Consumer's Experience is bad.
To achieve the above object, the present invention provides a kind of device of automatic switchover camera in video call process, application In mobile terminal, the mobile terminal includes the first camera and second camera, and described device includes:
Detection module, for detecting in first camera and image captured by second camera whether target occur Object;
Camera setup module, for will appear from the first camera or second camera corresponding to the image of destination object Set as main camera, first camera or second camera corresponding to the image that destination object will not occur are set to Secondary camera;
Display module, the figure that the image for the main camera to be shot is shot as key frame, described camera As subframe simultaneous display on the mobile terminal of video calling other side, wherein the picture size of the key frame be more than institute State the picture size of subframe.
Alternatively, the camera setup module is additionally operable to:
If there is the destination object simultaneously in the image captured by first camera and the second camera, Obtain the definition of first camera and the image captured by the second camera;
The first camera or second camera corresponding to the high image of definition is set as main camera, by definition The first camera or second camera corresponding to low image are set to time camera.
Alternatively, the display module specifically for:
The image that the main camera is shot is included in the first viewing area of the mobile terminal of video calling other side;
The image that described camera is shot is included in the second viewing area of video calling other side, wherein described the The size of one viewing area is more than the size of second viewing area.
Alternatively, the device of automatic switchover camera also includes in the video call process:
Setup module, for setting the destination object, the destination object is any face figure that user prestores Any object image that picture, the facial image of current video partner or user prestore;
Initialization module, for after video calling is opened, initialization to set first camera for main camera, The second camera is set to time camera.
Alternatively, the detection module specifically for:
Obtain prefixed time interval;
Every in the image that the prefixed time interval detects captured by first camera and second camera whether There is destination object.
Compared to prior art, the device of automatic switchover camera is in video in video call process proposed by the invention In communication process, detect in first camera and image captured by second camera whether destination object occur first, Then the first camera or second camera corresponding to the image of destination object be will appear to set as main camera, will not occurred First camera or second camera corresponding to the image of destination object are set to time camera, finally take the photograph the master The image that the image that picture head is shot is shot as key frame, described camera is as subframe simultaneous display in video calling pair On the mobile terminal of side, it is achieved thereby that the first camera and second are taken the photograph with the presence or absence of destination object according in shooting area Switch between main camera and secondary camera as head, that is, realize the first camera and the image captured by second camera exists Automatic switchover between key frame and subframe, compared to existing manual switching camera with more intellectuality, simplifies user Operation, improves Consumer's Experience.
In addition, to achieve the above object, the present invention also provides a kind of side of automatic switchover camera in video call process Method, applied to mobile terminal, the mobile terminal includes the first camera and second camera, and methods described includes following step Suddenly:
Detect in first camera and image captured by second camera whether destination object occur;
The first camera or second camera corresponding to the image of destination object is will appear to set as main camera, will not There is first camera or second camera corresponding to the image of destination object and be set to time camera;
The image that the image that the main camera is shot is shot as key frame, described camera is same as subframe Step is shown on the mobile terminal of video calling other side, wherein the picture size of the key frame is more than the image of the subframe Size.
Alternatively, whether there is target pair in the image captured by detection first camera and second camera As the step of after also include:
If there is the destination object simultaneously in the image captured by first camera and the second camera, Obtain the definition of first camera and the image captured by the second camera;
The first camera or second camera corresponding to the high image of definition is set as main camera, by definition The first camera or second camera corresponding to low image are set to time camera.
Alternatively, the image that the image that the main camera is shot is shot as key frame, described camera Include as step of the subframe simultaneous display on the mobile terminal of video calling other side:
The image that the main camera is shot is included in the first viewing area of the mobile terminal of video calling other side;
The image that described camera is shot is included in the second viewing area of video calling other side, wherein described the The size of one viewing area is more than the size of second viewing area.
Alternatively, whether there is target pair in the image captured by detection first camera and second camera As the step of before also include:
The destination object is set, and the destination object is that any facial image, the current video that user prestores lead to Any object image that the facial image or user for talking about other side are prestored;
Open after video calling, initialization sets first camera for main camera, by the second camera It is set to time camera.
Alternatively, whether there is target pair in the image captured by detection first camera and second camera As the step of be specially:
Obtain prefixed time interval;
Every in the image that the prefixed time interval detects captured by first camera and second camera whether There is destination object.
Compared to prior art, the method for automatic switchover camera is in video in video call process proposed by the invention In communication process, detect in first camera and image captured by second camera whether destination object occur first, Then the first camera or second camera corresponding to the image of destination object be will appear to set as main camera, will not occurred First camera or second camera corresponding to the image of destination object are set to time camera, finally take the photograph the master The image that the image that picture head is shot is shot as key frame, described camera is as subframe simultaneous display in video calling pair On the mobile terminal of side, it is achieved thereby that the first camera and second are taken the photograph with the presence or absence of destination object according in shooting area Switch between main camera and secondary camera as head, that is, realize the first camera and the image captured by second camera exists Automatic switchover between key frame and subframe, compared to existing manual switching camera with more intellectuality, simplifies user Operation, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the function mould of the device first embodiment of automatic switchover camera in video call process of the present invention Block schematic diagram;
Fig. 4 is the function mould of the device second embodiment of automatic switchover camera in video call process of the present invention Block schematic diagram;
Fig. 5 is the implementation stream of the method first embodiment of automatic switchover camera in video call process of the present invention Journey schematic diagram;
Fig. 6 is the implementation stream of the method second embodiment of automatic switchover camera in video call process of the present invention Journey schematic diagram;
Fig. 7 is the schematic diagram of the embodiment of mobile terminal one;
It is that main camera, second camera are time to take the photograph that Fig. 8, which is user A with the first camera in user's B video call process, The schematic diagram of one embodiment during as head;
It is that main camera, the first camera are time to take the photograph that Fig. 9, which is user A with second camera in user's B video call process, The schematic diagram of one embodiment during as head.
Reference:
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal 1 00 of each embodiment of the invention referring now to accompanying drawing.In follow-up description, make With the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to the explanation of the present invention, its Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet personal computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 illustrates for the hardware configuration of realization each optional mobile terminal of embodiment one of the invention.
Mobile terminal 1 00 can include, but are not limited to sensing unit 10, memory 20, controller 30, wireless communication unit 40th, output unit 50, input block 60, interface unit 70 and power subsystem 80.Fig. 1 shows the mobile end with various assemblies End 100, it should be understood that being not required for implementing all components shown.More or less groups can alternatively be implemented Part.The element of mobile terminal 1 00 will be discussed in more detail below.
Sensing unit 10 is used to detect the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 is opened or closed State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input) of mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 10 can be sensed The sliding-type phone is opening or closing.In addition, sensing unit 10 can detect power subsystem 190 whether provide electric power or Whether interface unit 170 couples with external device (ED).
Wireless communication unit 40 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module, mobile communication module, nothing At least one in line the Internet module, short range communication module and location information module.
Broadcasting reception module receives broadcast singal from external broadcast management server via broadcast channel and/or broadcast is related Information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can generate and send broadcast The broadcast singal and/or broadcast related information that are generated before the server or reception of signal and/or broadcast related information and Send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting signal Etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.The related letter of broadcast Breath can also be provided via mobile communications network, and in this case, broadcast related information can by mobile communication module Lai Receive.Broadcast singal can exist in a variety of manners, for example, it can be referred to the electronic programming of DMB (DMB) Southern (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. form and exist.Broadcast reception mould Block can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module can be by using Such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB- H), forward link media (MediaFLO@) Radio Data System, the number of received terrestrial digital broadcasting integrated service (ISDB-T) etc. Word broadcast system receives digital broadcasting.Broadcasting reception module may be constructed such that the various broadcast systems for being adapted to provide for broadcast singal And above-mentioned digit broadcasting system.The broadcast singal and/or broadcast related information received via broadcasting reception module can be stored In memory 20 (or other types of storage medium).
Mobile communication module send radio signals to base station (for example, access point, node B etc.), exterior terminal with And in server at least one and/or receive from it radio signal.Such radio signal can include voice call Signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be coupled internally or externally To terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (nothings Line width band), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module is the module for supporting junction service.Some examples of short-range communication technology include bluetoothTM、 Radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module is the module for checking or obtaining the positional information of mobile terminal.The allusion quotation of location information module Type example is GPS (global positioning system).According to current technology, GPS module calculates the distance from three or more satellites Information and correct time information and for the Information application triangulation of calculating, so that according to longitude, latitude and height Three-dimensional current location information is calculated exactly.Currently, for calculate the method for position and temporal information using three satellites and The position calculated by using other satellite correction and the error of temporal information.In addition, GPS module can pass through reality When Continuous plus current location information carry out calculating speed information.
Output unit 50 be configured to vision, audio and/or tactile manner provide output signal (for example, audio signal, Vision signal, alarm signal, vibration signal etc.).Output unit 50 can include display unit 51, dio Output Modules 52, Alarm unit 53 etc..
Display unit 51 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity When talking about call mode, display unit 51 can be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 51 can show the image of capture and/or the image of reception, show video or image And the UI or GUI of correlation function etc..
Meanwhile, when display unit 51 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 51 It may be used as input unit and output device.Display unit 51 can include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), at least one in Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. Kind.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent aobvious Show device, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..Thought according to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display devices), for example, mobile Terminal can include outernal display unit (not shown) and inner display unit (not shown).It is defeated that touch-screen can be used for detection to touch Enter pressure and touch input position and touch input area.
Dio Output Modules 52 can be in call signal reception pattern, call mode, logging mode, language in mobile terminal It is that wireless communication unit 40 is received or deposited in memory 20 when under the isotypes such as sound recognition mode, broadcast reception mode The voice data transducing audio signal of storage and it is output as sound.Moreover, dio Output Modules 52 can be provided and mobile terminal The related audio output of 100 specific functions performed (for example, call signal receives sound, message sink sound etc.).Audio Output module 52 can include loudspeaker, buzzer etc..
Alarm unit 53 can provide output to notify event to mobile terminal 1 00.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 53 can provide output in a different manner with the generation of notification event.For example, alarm unit 53 can be carried in the form of vibration Supply out, when receiving calling, message or some other entrance communications (incoming communication), alarm unit 53 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even in user Mobile phone be in user pocket in when, user also can recognize that the generation of various events.Alarm unit 53 can also The output of the generation of notification event is provided via display unit 51 or dio Output Modules 52.
The order that input block 60 can be inputted according to user generates key input data to control the various behaviour of mobile terminal Make.Input block 60 allows user to input various types of information, and can include keyboard, metal dome, touch pad (for example, The sensitive component of the change of resistance, pressure, electric capacity etc. caused by detecting due to being touched), roller, rocking bar etc..Especially Ground, when touch pad is superimposed upon on display unit 50 in the form of layer, can form touch-screen.
Interface unit 70 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, outer Part device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connect the port of device with identification module, audio input/output (I/O) port, Video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses the various of mobile terminal 1 00 Information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included Deng.In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, and therefore, identification Device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for receiving from outer The input (for example, data message, electric power etc.) of part device and the input received is transferred in mobile terminal 1 00 one Individual or multiple element can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 70 may be used as allowing by it by electric power There is provided from base to the path of mobile terminal 1 00 or may be used as allowing the various command signals inputted from base to pass by it The defeated path to mobile terminal.The various command signals or electric power inputted from base may be used as being used for whether recognizing mobile terminal It is accurately fitted within the signal on base.
Memory 20 can store software program of the processing performed by controller 30 and control operation etc., or can be with Temporarily store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.Moreover, Memory 20 can store vibration and the data of audio signal of the various modes on being exported when touching and being applied to touch-screen.
Memory 20 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many matchmakers Body card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access memory (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 10 can be with performing memory 20 by network connection Store function network storage device cooperation.
The overall operation of the generally control mobile terminal of controller 30.Lead to for example, controller 30 is performed with voice call, data Letter, video calling etc. related control and processing.In addition, controller 30 can include being used to reproduce (or playback) multimedia number According to multi-media module, multi-media module can be constructed in controller 30, or be can be structured as and separated with controller 30.Control The handwriting input performed on the touchscreen or picture can be drawn input and are identified as by device 30 processed with execution pattern identifying processing Character or image.
Power subsystem 80 receives external power or internal power and provides operation each element under the control of the controller 30 With the appropriate electric power needed for component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the mobile terminal of the present invention referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link. If any of interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals At least one in 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module in wireless communication unit 40 as shown in Figure 1 be generally configured to satellite 300 coordinate with Obtain desired location information.Substitute GPS tracking techniques or outside GPS tracking techniques, can use can track movement Other technologies of the position of terminal.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb Transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
First, the present invention proposes a kind of device 400 of automatic switchover camera in video call process, the video calling During the device 400 of automatic switchover camera be applied to mobile terminal, the mobile terminal includes two cameras, remembered respectively For the first camera and second camera.It is preferred that, the first camera is front camera, and second camera is rearmounted shooting Head, i.e. second camera are located at the back side of mobile phone, and the first camera is located at the front of mobile phone, and second camera is generally used for clapping Photo around is taken the photograph, the first camera is generally used for being autodyned.It is, of course, also possible to be that the first camera is front camera, the Two cameras are lateral camera, wherein lateral camera is located at the side (left surface or right flank) of mobile phone.It refer to Fig. 7, Fig. 7 is the schematic diagram of the embodiment of mobile terminal one, and wherein mobile terminal includes the first camera 11 and second camera 22, this reality Apply in example, the first camera 11 is front camera, second camera 22 is rear camera, is taken the photograph with first in following examples As first 11 be front camera, second camera 22 be rear camera exemplified by illustrate.
As shown in figure 3, being the implementation of device 400 first of automatic switchover camera in video call process of the present invention The high-level schematic functional block diagram of example.In the present embodiment, the device 400 of automatic switchover camera can be with the video call process It is divided into one or more modules, one or more of modules are stored in the memory 20, and by one or many Individual controller (being the controller 30 in the present embodiment) is performed, to complete the present invention.For example, in figure 3, the video leads to The device 400 of automatic switchover camera can be divided into detection module 401, camera setup module 402, display during words Module 403.Module wherein alleged by the present invention refers to a kind of series of computation machine programmed instruction section that can complete specific function, Than program more suitable for describing when the device 400 of automatic switchover camera in the video call process carries out camera switching Process.Just above-mentioned each functional module 401-403 concrete function is described in detail below.
The detection module 401, for detect in first camera and image captured by second camera whether There is destination object.Wherein, in video call process, if user A opens the first camera (being designated as 11) and second camera (being designated as 22), now the first camera 11 and second camera 22 gather image, the image note of the first camera 11 collection simultaneously For 111, the image that second camera 22 is gathered is designated as 222, then detects captured by first camera and second camera It is whether destination object occur in detection image 111 and image 222 whether to occur destination object in image, and the detection process is led to Existing image recognition technology is crossed to realize.Wherein, destination object both can be any facial image that user prestores or The facial image of current talking other side or pre-set some refer to object image, this can be with reference to object image Arbitrary objects, the i.e. destination object can arbitrarily be set by user, then recognize image 111 and 222 by image recognition technology In whether there is the destination object.It is preferred that, also need to perform following operation before detection module 401 is called:Set described Destination object, the destination object is any facial image, the facial image of current video partner that user prestores Or any object image that user prestores.Wherein, when destination object is the facial image of current video partner, adjust Needed before with detection module 401:The identity ID of current video partner is obtained, is obtained and identity ID phases from database Corresponding facial image, so as to need to prestore mapping of the facial image with identity ID of each good friend of user in database Table, identity ID is used for the identity for representing current video partner, and it can be the information such as social account, remarks title.
The camera setup module 402, for will appear from the first camera corresponding to the image of destination object or Two cameras are set as main camera, first camera or the second shooting corresponding to the image that destination object will not occur Head is set to time camera.Such as:When occurring destination object do not occur in destination object, image 222 in image 111, by image The first camera 11 corresponding to 111 is set as main camera, and the second camera 22 corresponding to image 222 is set to time to take the photograph As head;Similarly, when occurring destination object do not occur in destination object, image 111 in image 222, by corresponding to image 222 Second camera 22 is set as main camera, and the first camera 11 corresponding to image 111 is set into time camera.In addition, Open after video calling, initialization sets first camera for main camera, the second camera is set to time Camera.In the present embodiment, main camera shoots big image, and secondary camera shoots small image, and the big figure that main camera is shot The small image that picture and time camera are shot simultaneous display on the mobile terminal of video calling other side.In video call process, Mobile terminal is positioned in front of sight by user under normal circumstances, and both call sides wish to the head portrait of other side, therefore initially The first camera (being front camera in the present embodiment) is set as main camera during change, so that other side can during video calling See the facial image of user.
The display module 403, the image for the main camera to be shot is clapped as key frame, described camera The image taken the photograph as subframe simultaneous display on the mobile terminal of video calling other side, wherein the picture size of the key frame More than the picture size of the subframe.Preferably, display module 403 specifically for:The image that the main camera is shot It is shown in the first viewing area of the mobile terminal of video calling other side, and the image that described camera is shot includes In the second viewing area of video calling other side, wherein the size of first viewing area is more than second viewing area Size, i.e., the image that main camera is shot is shown in larger regional extent, and the image that secondary camera is shot is shown in relatively In less regional extent, wherein the position of the first viewing area and the second viewing area, size can be pre-set by user, And first the size of viewing area be more than the size of the second viewing area, in the present embodiment, the first viewing area be located at it is mobile eventually The center position at end, the second viewing area is located at the upper right corner of mobile terminal, certainly in other embodiments, the first viewing area The position relationship of domain and the second viewing area can also be other forms.Fig. 8 is refer to, Fig. 8 is that user A and user B is regarded The first camera is A1 tables in the schematic diagram of one embodiment when main camera, second camera are time camera, Fig. 8 during frequency is conversed Show the mobile terminal corresponding to user A, B1 represents the mobile terminal corresponding to user B, and the first of 111 expression mobile terminal A1 take the photograph Image as captured by first 11,222 represent the image captured by mobile terminal B1 second camera 22, due to now image There is destination object (being represented with marking X) in 111, therefore the first camera 11 is set as main camera, second camera 22 Time camera is set to, now the display acquired image of the first camera 11 in mobile terminal B1 the first viewing area P1, The display acquired image of second camera 22 in second viewing area P2, wherein the first viewing area P1 size is more than second Viewing area P2 size.Image captured by mobile terminal B1 the first camera and second camera is on mobile terminal A1 The schematic diagram of display the like, it is not described in detail herein.Fig. 9 is refer to again, and Fig. 9 is user A and user's B video calling mistakes Second camera is to scheme in the schematic diagram of one embodiment when main camera, the first camera are time camera, the present embodiment in journey There is destination object (being represented with marking X) in picture 222, therefore the first camera 11 is set to time camera, second camera 22 are set as main camera, the figure that now display second camera 22 is gathered in mobile terminal B1 the first viewing area P1 The display acquired image of the first camera 11 in picture, the second viewing area P2.Have when mobile terminal A1 is detected in image 111 Have destination object switch in image 222 have destination object when, now mobile terminal B1 display interface switches to figure by Fig. 8 9。
By above-mentioned module 401 to 403, the device of automatic switchover camera leads in video in video call process of the present invention During words, detect in first camera and image captured by second camera destination object whether occur first, so The first camera or second camera corresponding to the image of destination object are will appear from afterwards to set as main camera, mesh will not occur Mark first camera or second camera corresponding to the image of object and be set to time camera, finally by the main shooting The image that the image that head is shot is shot as key frame, described camera is as subframe simultaneous display in video calling other side Mobile terminal on, it is achieved thereby that according in shooting area with the presence or absence of destination object come by the first camera and second image Head switches between main camera and secondary camera, that is, realizes the first camera and image captured by second camera in master Automatic switchover between picture and subframe, compared to existing manual switching camera with more intellectuality, simplifies user behaviour Make, improve Consumer's Experience.
Based on above-mentioned first embodiment, the device of automatic switchover camera in video call process of the present invention is proposed 400 second embodiment.In the present embodiment, the device 400 of automatic switchover camera also includes in the video call process Setup module 404 and initialization module 405.
The setup module 404, for setting destination object and prefixed time interval, the destination object is that user is advance Any object image that any facial image of storage, the facial image of current video partner or user prestore, institute It is any time interval that user is set to state prefixed time interval, such as 10 seconds, 20 seconds or other arbitrary values.
The initialization module 405, for open video calling after, initialization will first camera setting based on Camera, time camera is set to by the second camera.In the present embodiment, main camera shoots big image, secondary camera Shoot small image, and the small image that shoots of the big image that shoots of main camera and time camera is at the mobile end of video calling other side Simultaneous display on end.In video call process, mobile terminal is positioned in front of sight by user under normal circumstances, and call is double Side wishes to the head portrait of other side, therefore sets the first camera (front camera) for main camera during initialization, so that Other side during video calling is it can be seen that the facial image of user.
In the present embodiment, the detection module specifically for:Obtain prefixed time interval;Every the prefixed time interval Detect in first camera and image captured by second camera whether destination object occur.As prefixed time interval is 20 seconds, then every 20 seconds detection the cameras of current time first and second camera captured by image in whether there is target pair As, in the present embodiment, every whether occurring destination object in prefixed time interval detection image, and and non real-time detection per frame figure Picture, but periodically detection image, this method reduce the data processing amount of mobile terminal, improve the operation of mobile terminal Speed.
In the present embodiment, the camera setup module 402 specifically for:(1) if first camera and described There is the destination object simultaneously in image captured by two cameras, then obtain first camera and second shooting The definition of image captured by head, and the first camera or second camera corresponding to the high image of definition are set to Main camera, time camera is set to by the first camera or second camera corresponding to the low image of definition;Such as:When When the definition of image captured by one camera is higher than the definition of the image captured by second camera, by the first camera Set as main camera, second camera is set to time camera;Similarly, it is clear when the image captured by second camera Degree higher than the image captured by the first camera definition when, second camera is set as main camera, by the first shooting Head is set to time camera.(2) if only one goes out in first camera and image captured by the second camera The existing destination object, then will appear from the first camera or second camera corresponding to the image of the destination object and be set to Main camera, the first camera or second camera corresponding to the image that the destination object will not occur are set to time shooting Head.(3) it is not right if not occurring destination object in first camera and image captured by the second camera First camera and second camera are handled.
By above-mentioned module 401 to 405, the device of automatic switchover camera in video call process proposed by the invention Destination object and prefixed time interval are set first, and after video calling is opened, first camera is set to by initialization Main camera, time camera is set to by the second camera, detects described first every the prefixed time interval afterwards Whether there is destination object in image captured by camera and second camera, when first camera and described second is taken the photograph When there is the destination object simultaneously in the image as captured by head, then first camera and the second camera are obtained The definition of captured image, and based on the first camera corresponding to the high image of definition or second camera set Camera, is set to time camera, and work as institute by the first camera or second camera corresponding to the low image of definition State only one in the first camera and image captured by the second camera and the destination object occur, then will appear from institute State the first camera or second camera corresponding to the image of destination object to set as main camera, the target will not occur The first camera or second camera corresponding to the image of object are set to time camera, finally shoot the main camera Image be shown in the first viewing area of the mobile terminal of video calling other side, and the image that described camera is shot It is shown in the second viewing area of video calling other side, wherein the size of first viewing area is more than the described second display The size in region, it is achieved thereby that according in shooting area with the presence or absence of destination object come by the first camera and second camera Switch between main camera and secondary camera, that is, realize the first camera and the image captured by second camera is drawn main Switch between face and subframe, compared to existing manual switching camera with more intellectuality, simplify user's operation, improve Consumer's Experience;Meanwhile, will when there is the destination object simultaneously in the image captured by the first camera and second camera The first camera or second camera corresponding to the high image of definition are set as main camera, also more meet the use of user Custom, better user experience.
Further, the method that the present invention proposes automatic switchover camera in a kind of video call process, this method application In mobile terminal, the mobile terminal has two cameras, and the first camera and second camera are designated as respectively.It is preferred that , the first camera is front camera, and second camera is rear camera, i.e., second camera is located at the back side of mobile phone, First camera is located at the front of mobile phone, and second camera is generally used for shooting surrounding photo, and the first camera is generally used for Autodyned.It is, of course, also possible to be that the first camera is front camera, second camera is lateral camera, wherein laterally Camera is located at the side (left surface or right flank) of mobile phone.Fig. 7 is refer to, Fig. 7 is the schematic diagram of the embodiment of mobile terminal one, Wherein mobile terminal is included in the first camera 11 and second camera 22, the present embodiment, and the first camera 11 is preposition shooting Head, second camera 22 is rear camera, with the first camera 11 is front camera, second camera in following examples 22 be rear camera exemplified by illustrate.
As shown in figure 5, being the method first embodiment of automatic switchover camera in video call process of the present invention Implementing procedure figure.In the present embodiment, according to different demands, the execution sequence of the step in flow chart shown in Fig. 5 can To change, some steps can be omitted.
Whether there is target pair in step S501, the image captured by detection first camera and second camera As.Wherein, in video call process, if user A opens the first camera (being designated as 11) and second camera (being designated as 22), this When the first camera 11 and second camera 22 simultaneously gather image, the first camera 11 collection image be designated as 111, second takes the photograph As the images of first 22 collections are designated as 222, then detect whether go out in first camera and image captured by second camera Existing destination object is whether destination object occur in detection image 111 and image 222, and the detection process passes through existing image Identification technology is realized.Wherein, destination object both can be any facial image or current talking other side that user prestores Facial image or pre-set some refer to object image, this with reference to object image can be arbitrary objects, i.e., should Destination object can arbitrarily be set by user, then recognize in image 111 and 222 mesh whether occur by image recognition technology Mark object.It is preferred that, the step of the method for automatic switchover camera in performing video call process of the present invention before Also need to perform following steps:The destination object is set, the destination object be user prestore any facial image, Any object image that the facial image of current video partner or user prestore.Wherein, when destination object is current During the facial image of video calling other side, needed before performing step S501:The identity ID of current video partner is obtained, from The facial image corresponding with identity ID is obtained in database, so as to need to prestore each good friend's of user in database The mapping table of facial image and identity ID, identity ID is used for the identity for representing current video partner, and it can be social activity The information such as account, remarks title.
Step S502, will appear from the first camera corresponding to the image of destination object or second camera set based on take the photograph As head, first camera or second camera corresponding to the image that destination object will not occur are set to time camera. Such as:When occurring destination object do not occur in destination object, image 222 in image 111, first corresponding to image 111 is taken the photograph As first 11 are set as main camera, the second camera 22 corresponding to image 222 is set to time camera;Similarly, image is worked as When occurring destination object do not occur in destination object, image 111 in 222, the second camera 22 corresponding to image 222 is set For main camera, the first camera 11 corresponding to image 111 is set to time camera.In addition, opening after video calling, just Beginningization sets first camera for main camera, and the second camera is set into time camera.In the present embodiment, What the big image and time camera that main camera shoots big image, the small image of secondary camera shooting, and the shooting of main camera were shot Small image simultaneous display on the mobile terminal of video calling other side.In video call process, user will move under normal circumstances Dynamic terminal is positioned in front of sight, and both call sides wish to the head portrait of other side, therefore by the first camera (this during initialization It is front camera in embodiment) set as main camera, so that other side is it can be seen that the facial image of user during video calling.
Step S503, the image that the image that the main camera is shot is shot as key frame, described camera is made It is subframe simultaneous display on the mobile terminal of video calling other side, wherein the picture size of the key frame is more than described time The picture size of picture.Preferably, step S503 is specially:The image that the main camera is shot is included in video calling pair In first viewing area of the mobile terminal of side, and the image that described camera is shot is included the of video calling other side In two viewing areas, wherein the size of first viewing area is more than the size of second viewing area, i.e., main camera The image of shooting is shown in larger regional extent, and the image that secondary camera is shot is shown in relatively small regional extent It is interior, wherein the position of the first viewing area and the second viewing area, size can be pre-set by user, and the first viewing area Size be more than the size of the second viewing area, in the present embodiment, the first viewing area is located at the center position of mobile terminal, Second viewing area is located at the upper right corner of mobile terminal, certainly in other embodiments, the first viewing area and the second viewing area The position relationship in domain can also be other forms.Fig. 8 is refer to, Fig. 8 takes the photograph in user A and user B progress video callings first As the schematic diagram that head is one embodiment when main camera, second camera are time camera, A1 is represented corresponding to user A in Fig. 8 Mobile terminal, B1 represents the mobile terminal corresponding to user B, and 111 represent captured by mobile terminal A1 the first camera 11 Image, 222 represent the image captured by mobile terminal B1 second camera 22, due to having target in now image 111 Object (represented) with marking X, therefore the first camera 11 is set as main camera, and second camera 22 is set to time shooting Head, now shows the acquired image of the first camera 11, the second viewing area in mobile terminal B1 the first viewing area P1 The display acquired image of second camera 22 in P2, wherein the first viewing area P1 size is more than the second viewing area P2's Size.The schematic diagram that image captured by mobile terminal B1 the first camera and second camera is shown on mobile terminal A1 The rest may be inferred, is not described in detail herein.Fig. 9 is refer to again, and Fig. 9 is user A and the second shooting in user's B video call process Head is to have mesh in image 222 in the schematic diagram of one embodiment when main camera, the first camera are time camera, the present embodiment Mark object (being represented to mark X), therefore the first camera 11 be set to time camera, second camera 22 set based on image Head, now shows the acquired image of second camera 22, the second viewing area in mobile terminal B1 the first viewing area P1 The display acquired image of the first camera 11 in P2.When mobile terminal A1 is detected in image 111 there is destination object to switch When having destination object into image 222, now mobile terminal B1 display interface switches to Fig. 9 by Fig. 8.
By above-mentioned steps S501 to S503, the method for automatic switchover camera is in video in video call process of the present invention In communication process, detect in first camera and image captured by second camera whether destination object occur first, Then the first camera or second camera corresponding to the image of destination object be will appear to set as main camera, will not occurred First camera or second camera corresponding to the image of destination object are set to time camera, finally take the photograph the master The image that the image that picture head is shot is shot as key frame, described camera is as subframe simultaneous display in video calling pair On the mobile terminal of side, it is achieved thereby that the first camera and second are taken the photograph with the presence or absence of destination object according in shooting area Switch between main camera and secondary camera as head, that is, realize the first camera and the image captured by second camera exists Automatic switchover between key frame and subframe, compared to existing manual switching camera with more intellectuality, simplifies user Operation, improves Consumer's Experience.
Based on above-mentioned first embodiment, the method for proposing automatic switchover camera in video call process of the present invention Second embodiment.
As shown in fig. 6, being the method second embodiment of automatic switchover camera in video call process of the present invention Implementing procedure figure.In the present embodiment, according to different demands, the execution sequence of the step in flow chart shown in Fig. 6 can To change, some steps can be omitted.
Step S601, sets destination object and prefixed time interval;Wherein described destination object is what user prestored Any object image that any facial image, the facial image of current video partner or user prestore, it is described default Time interval is any time interval that user is set, such as 10 seconds, 20 seconds or other arbitrary values.
Step S602, is opened after video calling, and initialization sets first camera for main camera, by described the Two cameras are set to time camera.In the present embodiment, main camera shoots big image, and secondary camera shoots small image, and main The small image that the big image and time camera that camera is shot are shot simultaneous display on the mobile terminal of video calling other side. In video call process, mobile terminal is positioned in front of sight by user under normal circumstances, and both call sides wish to other side Head portrait, therefore the first camera (front camera) is set as main camera during initialization, so that other side during video calling It can be seen that the facial image of user.
Step S603, the figure captured by first camera and second camera is detected every the prefixed time interval Whether there is destination object as in, if there is institute simultaneously in first camera and image captured by the second camera Destination object is stated, then performs step S604, if in first camera and image captured by the second camera only There is the destination object in one, then step S605 is performed, if captured by first camera and the second camera Do not occur destination object in image, then flow terminates.Such as prefixed time interval is 20 seconds, then when detecting current within 20 seconds Carve and whether occur in destination object, the present embodiment in the first camera and image captured by second camera, when default Between whether there is destination object in the detection image of interval, and and non real-time detection per two field picture, but periodically detection image, The data processing amount of mobile terminal is this method reduce, the speed of service of mobile terminal is improved.
Step S604, the definition of the image captured by acquisition first camera and the second camera, and will The first camera or second camera corresponding to the high image of definition are set as main camera, by the low image institute of definition Corresponding first camera or second camera are set to time camera, then perform step S606.Such as:When the first camera institute The definition of the image of shooting higher than the image captured by second camera definition when, by the first camera set based on take the photograph As head, second camera is set to time camera;Similarly, when the definition of the image captured by second camera is higher than first During the definition of the image captured by camera, second camera is set as main camera, the first camera is set to time Camera.
Step S605, will appear from the first camera or second camera corresponding to the image of the destination object and is set to Main camera, the first camera or second camera corresponding to the image that the destination object will not occur are set to time shooting Head, then performs step S606.
Step S606, first of the image of the main camera shooting including the mobile terminal in video calling other side is shown Show in region, and the image of described camera shooting is included in the second viewing area of video calling other side, wherein institute The size for stating the first viewing area is more than the size of second viewing area.Wherein the first viewing area and the second viewing area Position, size can be pre-set by user, and the first viewing area size be more than the second viewing area size, this reality Apply in example, the first viewing area is located at the center position of mobile terminal, the second viewing area is located at the upper right corner of mobile terminal, Certainly in other embodiments, the position relationship of the first viewing area and the second viewing area can also be other forms.
By above-mentioned steps S601 to S606, the side of automatic switchover camera in video call process proposed by the invention Method sets destination object and prefixed time interval first, and after video calling is opened, initialization sets first camera For main camera, the second camera is set to time camera, afterwards every prefixed time interval detection described the Whether there is destination object in image captured by one camera and second camera, when first camera and described second When there is the destination object simultaneously in the image captured by camera, then first camera and second shooting are obtained The definition of image captured by head, and the first camera or second camera corresponding to the high image of definition are set to Main camera, is set to time camera, and work as by the first camera or second camera corresponding to the low image of definition There is the destination object in only one in image captured by first camera and the second camera, then will appear from The first camera or second camera corresponding to the image of the destination object are set as main camera, the mesh will not occur Mark the first camera or second camera corresponding to the image of object and be set to time camera, finally clap the main camera The image taken the photograph is shown in the first viewing area of the mobile terminal of video calling other side, and the figure that described camera is shot As being shown in the second viewing area of video calling other side, show wherein the size of first viewing area is more than described second Show the size in region, it is achieved thereby that the first camera and second is imaged with the presence or absence of destination object according in shooting area Head switches between main camera and secondary camera, that is, realizes the first camera and image captured by second camera in master Switch between picture and subframe, compared to existing manual switching camera with more intellectuality, simplify user's operation, improve Consumer's Experience;Meanwhile, when there is the destination object simultaneously in the image captured by the first camera and second camera, The first camera or second camera corresponding to the high image of definition is set as main camera, also more meets making for user With custom, better user experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. the device of automatic switchover camera in a kind of video call process, applied to mobile terminal, the mobile terminal includes First camera and second camera, it is characterised in that described device includes:
Detection module, for detecting in first camera and image captured by second camera whether target pair occur As;
Camera setup module, is set for will appear from the first camera or second camera corresponding to the image of destination object For main camera, first camera or second camera corresponding to the image that destination object will not occur are set to secondary take the photograph As head;
Display module, the image that the image for the main camera to be shot is shot as key frame, described camera is made It is subframe simultaneous display on the mobile terminal of video calling other side, wherein the picture size of the key frame is more than described time The picture size of picture.
2. the device of automatic switchover camera in video call process as claimed in claim 1, it is characterised in that the shooting Head setup module is additionally operable to:
If there is the destination object simultaneously in the image captured by first camera and the second camera, obtain The definition of image captured by first camera and the second camera;
The first camera or second camera corresponding to the high image of definition is set as main camera, definition is low The first camera or second camera corresponding to image are set to time camera.
3. the device of automatic switchover camera in video call process as claimed in claim 1 or 2, it is characterised in that described Display module specifically for:
The image that the main camera is shot is included in the first viewing area of the mobile terminal of video calling other side;
The image that described camera is shot is included in the second viewing area of video calling other side, wherein described first is aobvious Show that the size in region is more than the size of second viewing area.
4. the device of automatic switchover camera in video call process as claimed in claim 1, it is characterised in that also include:
Setup module, for setting the destination object, the destination object be user prestore any facial image, when Any object image that the facial image of preceding video partner or user prestore;
Initialization module, for after video calling is opened, initialization to set first camera for main camera, by institute State second camera and be set to time camera.
5. the device of automatic switchover camera in video call process as claimed in claim 1, it is characterised in that the detection Module specifically for:
Obtain prefixed time interval;
Whether occur every in the image that the prefixed time interval detects captured by first camera and second camera Destination object.
6. a kind of method of automatic switchover camera in video call process, applied to mobile terminal, the mobile terminal includes First camera and second camera, it is characterised in that the described method comprises the following steps:
Detect in first camera and image captured by second camera whether destination object occur;
It will appear from the first camera or second camera corresponding to the image of destination object to set as main camera, will not occur First camera or second camera corresponding to the image of destination object are set to time camera;
The image that the image that the main camera is shot is shot as key frame, described camera is synchronously aobvious as subframe Show on the mobile terminal of video calling other side, wherein the picture size of the key frame is more than the image chi of the subframe It is very little.
7. the method for automatic switchover camera in video call process as claimed in claim 6, it is characterised in that the detection Also include after the step of whether destination object occur in image captured by first camera and second camera:
If there is the destination object simultaneously in the image captured by first camera and the second camera, obtain The definition of image captured by first camera and the second camera;
The first camera or second camera corresponding to the high image of definition is set as main camera, definition is low The first camera or second camera corresponding to image are set to time camera.
8. the method for automatic switchover camera in video call process as claimed in claims 6 or 7, it is characterised in that described The image that the image that the main camera is shot is shot as key frame, described camera exists as subframe simultaneous display Step on the mobile terminal of video calling other side includes:
The image that the main camera is shot is included in the first viewing area of the mobile terminal of video calling other side;
The image that described camera is shot is included in the second viewing area of video calling other side, wherein described first is aobvious Show that the size in region is more than the size of second viewing area.
9. the method for automatic switchover camera in video call process as claimed in claim 6, it is characterised in that the detection Also include before the step of whether destination object occur in image captured by first camera and second camera:
The destination object is set, the destination object be user prestore any facial image, current video call pair Any object image that the facial image or user of side are prestored;
Open after video calling, initialization sets first camera for main camera, and the second camera is set For secondary camera.
10. the method for automatic switchover camera in video call process as claimed in claim 6, it is characterised in that the inspection Survey that the step of whether destination object occur in first camera and image captured by second camera is specially:
Obtain prefixed time interval;
Whether occur every in the image that the prefixed time interval detects captured by first camera and second camera Destination object.
CN201710107186.4A 2017-02-27 2017-02-27 The method and device of automatic switchover camera in video call process Pending CN107071329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710107186.4A CN107071329A (en) 2017-02-27 2017-02-27 The method and device of automatic switchover camera in video call process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710107186.4A CN107071329A (en) 2017-02-27 2017-02-27 The method and device of automatic switchover camera in video call process

Publications (1)

Publication Number Publication Date
CN107071329A true CN107071329A (en) 2017-08-18

Family

ID=59621470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710107186.4A Pending CN107071329A (en) 2017-02-27 2017-02-27 The method and device of automatic switchover camera in video call process

Country Status (1)

Country Link
CN (1) CN107071329A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419016A (en) * 2018-04-17 2018-08-17 北京小米移动软件有限公司 Image pickup method, device and terminal
CN109040649A (en) * 2018-09-13 2018-12-18 百度在线网络技术(北京)有限公司 A kind of calling-control method, device, equipment and computer-readable medium
CN109327568A (en) * 2018-10-18 2019-02-12 维沃移动通信(杭州)有限公司 A kind of method and mobile terminal switching camera
CN109862273A (en) * 2019-02-28 2019-06-07 四川爱联科技有限公司 Shooting object space automatic induction system and method based on camera array
CN110138401A (en) * 2018-09-29 2019-08-16 广东小天才科技有限公司 A kind of double screen wearable device based on coaxial overturning
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
WO2023142959A1 (en) * 2022-01-30 2023-08-03 华为技术有限公司 Photography method of multi-camera photography system, and device, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036049A (en) * 2009-09-29 2011-04-27 英华达(西安)通信科技有限公司 Mobile video device and video display control method
US20110164105A1 (en) * 2010-01-06 2011-07-07 Apple Inc. Automatic video stream selection
CN103237178A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Video frame switching method, video frame switching device and video frame switching equipment
CN104581064A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Method and device for integrating camera alarm information
CN106165430A (en) * 2016-06-29 2016-11-23 北京小米移动软件有限公司 Net cast method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036049A (en) * 2009-09-29 2011-04-27 英华达(西安)通信科技有限公司 Mobile video device and video display control method
US20110164105A1 (en) * 2010-01-06 2011-07-07 Apple Inc. Automatic video stream selection
CN103237178A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Video frame switching method, video frame switching device and video frame switching equipment
CN104581064A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Method and device for integrating camera alarm information
CN106165430A (en) * 2016-06-29 2016-11-23 北京小米移动软件有限公司 Net cast method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419016A (en) * 2018-04-17 2018-08-17 北京小米移动软件有限公司 Image pickup method, device and terminal
CN109040649A (en) * 2018-09-13 2018-12-18 百度在线网络技术(北京)有限公司 A kind of calling-control method, device, equipment and computer-readable medium
CN110138401A (en) * 2018-09-29 2019-08-16 广东小天才科技有限公司 A kind of double screen wearable device based on coaxial overturning
CN110138401B (en) * 2018-09-29 2021-06-01 广东小天才科技有限公司 Double-screen wearable device based on coaxial turnover
CN109327568A (en) * 2018-10-18 2019-02-12 维沃移动通信(杭州)有限公司 A kind of method and mobile terminal switching camera
CN109862273A (en) * 2019-02-28 2019-06-07 四川爱联科技有限公司 Shooting object space automatic induction system and method based on camera array
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
CN111031253B (en) * 2020-01-13 2021-07-06 维沃移动通信有限公司 Shooting method and electronic equipment
WO2023142959A1 (en) * 2022-01-30 2023-08-03 华为技术有限公司 Photography method of multi-camera photography system, and device, storage medium and program product

Similar Documents

Publication Publication Date Title
CN104735255B (en) Multi-screen display method and system
CN107071329A (en) The method and device of automatic switchover camera in video call process
CN104866265B (en) Multi-media file display method and device
CN104731512B (en) The method, apparatus and terminal that picture is shared
CN106453538A (en) Screen sharing apparatus and method
CN104731456B (en) Desktop widget display methods and device
CN104679890B (en) Picture method for pushing and device
CN106155694A (en) A kind of application and the display packing and device applied of attending to anything else
CN106973408A (en) Antenna allocation method and device
CN106911850A (en) Mobile terminal and its screenshotss method
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN107016639A (en) A kind of image processing method and device
CN107135531A (en) Resource share method and device
CN106791238A (en) The call control method and device of MPTY conference system
CN105739873A (en) Screen capturing method and terminal
CN106851113A (en) A kind of photographic method and mobile terminal based on dual camera
CN106909681A (en) A kind of information processing method and its device
CN104917965A (en) Shooting method and device
CN106791155A (en) A kind of volume adjustment device, volume adjusting method and mobile terminal
CN108076231A (en) A kind of movement exchange householder method and device
CN105183830B (en) picture browsing method and device
CN106790994A (en) The triggering method and mobile terminal of control
CN106657950A (en) Projection device management device, method and projection data sharing device
CN106453542A (en) Screen sharing apparatus and method
CN106484534A (en) Control method for the mobile terminal of displaying and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170818

RJ01 Rejection of invention patent application after publication