CN103685752A - Loudspeaker and earphone automatic switching method based on camera - Google Patents
Loudspeaker and earphone automatic switching method based on camera Download PDFInfo
- Publication number
- CN103685752A CN103685752A CN201310685599.2A CN201310685599A CN103685752A CN 103685752 A CN103685752 A CN 103685752A CN 201310685599 A CN201310685599 A CN 201310685599A CN 103685752 A CN103685752 A CN 103685752A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- processor
- camera
- user
- jump
- 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
Links
Images
Abstract
The invention discloses a loudspeaker and earphone automatic switching method based on a camera. The loudspeaker and earphone automatic switching method based on the camera comprises the steps that the function of a loudspeaker and the function of an earphone are switched automatically when a conversation is started; a front-arranged camera is turned on when the conversion is carried out; current image data are captured, and the image data are sent to a processor; the image data are processed and compared, and a mobile phone is set in an earphone pattern when the mobile phone faces the ear of a user and is set in a loudspeaker pattern when the mobile phone faces the face of the user; the front-arranged camera is turned off when the mobile phone conversion is ended. According to the loudspeaker and earphone automatic switching method based on the camera, the part, facing the mobile phone, of the user is judged by processing the images collected by the front-arranged camera of the mobile phone so that the mobile phone can be controlled to be switched between the loud speaker and the earphone, the user does not to carry out any clicking or other operation, time needed between the switching is extremely short, and user experience is enhanced.
Description
Technical field
The present invention relates to a kind of method that loud speaker based on camera and receiver automatically switch.
Background technology
Along with scientific and technological development, smart mobile phone has become main flow, and present can only all be equipped with front-facing camera by mobile phone, when user converses, acquiescence is all handset mode, if want, be switched to loud speaker, need manually to come manually to click some operation, some trouble of this process, and the action need time, and in operation handoff procedure, can leak some words of listening the other side telephone user, for user, it is good not to experience.
Summary of the invention
The invention provides a kind of loud speaker and receiver automatic switching method based on camera, by the front-facing camera on mobile phone, realize mobile phone and automatically between loud speaker and receiver, switch, without user, carry out the operations such as any click, the time compole needing between switching is short, strengthens user and experiences.
For achieving the above object, the invention provides a kind of method that loud speaker based on camera and receiver automatically switch, be characterized in, the method includes the steps of:
Automatically switch while the opening call function of loud speaker and receiver of step 1, mobile phone;
Step 4, front-facing camera are caught current view data;
Step 6, processor are processed and are compared view data;
It is handset mode that step 8, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by earpiece;
Step 9, processor judge that the whether positive face of user, to mobile phone, if so, jumps to step 10, if not, jump to step 11;
It is speaker mode that step 10, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by mobile phone speaker;
In above-mentioned steps 7, a part that comprises people's side face in the view data that processor receives, judges that current phone faces toward user's ear.
Processor is in the judgement of view data, ear and hair that a part for described people's side face comprises people.
In above-mentioned steps 9, the eyes, nose and the mouth that in the view data that processor receives, comprise people, judge that current phone faces toward the positive face of user.
A kind of loud speaker based on camera of the present invention and receiver automatic switching method are compared with cell-phone function switching mode in prior art, its advantage is, the present invention adopts the image that the front-facing camera of mobile phone gathers to process, judge that user's face to face part is over against mobile phone, to control mobile phone, between loud speaker and receiver, switch, without user, carry out the operations such as any click, the time compole needing between switching is short, strengthens user and experiences.
Accompanying drawing explanation
Fig. 1 is a kind of loud speaker based on camera of the present invention and the method flow diagram of receiver automatic switching method.
Embodiment
Below in conjunction with accompanying drawing, further illustrate specific embodiments of the invention.
As shown in Figure 1, the present invention discloses a kind of loud speaker and receiver automatic switching method based on camera, and the method includes the steps of:
User when using mobile phone, automatically switch while the opening call function of loud speaker and receiver of mobile phone.
When step 3, mobile phone are conversed, processor and its front-facing camera of control mobile phone open.
Step 4, front-facing camera are caught current its right view data.
Step 6, processor are processed and are compared view data.In the present embodiment, adopt default database as comparison standard, have at present the image data base for comparing, as long as this scheme is by integrated this type of database, and the relevant interface that calls storehouse can be realized the right function of image ratio.
A part that comprises people's side face in the view data that processor receives, for example people's ear and hair, judge that current phone faces toward user's ear.The present embodiment can rely on Android platform, acquiescence integrated above-mentioned image data base all in Android platform, can Direct Recognition to the eyes of people's face, nose, ear, face etc.
It is handset mode that step 8, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by earpiece.
Step 9, processor judge that the whether positive face of user, to mobile phone, if so, jumps to step 10, if not, jump to step 11.
The eyes, nose and the mouth that in the view data that processor receives, comprise people, judge that current phone faces toward the positive face of user.Rely on equally Android platform, eyes that can Direct Recognition people face, nose, ear, face etc.
It is speaker mode that step 10, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by mobile phone speaker.
It is default mode that step 11, processor arrange mobile phone, does not carry out the switching of sound channel, and jumps to step 12.Default mode refers to: processor, as judged the current switching that whether needs to carry out sound channel, keeps the current state of mobile phone: front taking the photograph opened, and earpiece and loud speaker keep current state constant.
Although content of the present invention has been done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.Those skilled in the art, read after foregoing, for multiple modification of the present invention with to substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.
Claims (4)
1. the loud speaker based on camera and a receiver automatic switching method, is characterized in that, the method includes the steps of:
Automatically switch while the opening call function of loud speaker and receiver of step 1, mobile phone;
Step 2, mobile phone are conversed;
Step 3, its front-facing camera of mobile phone open;
Step 4, front-facing camera are caught current view data;
Step 5, front-facing camera are sent to processor by view data;
Step 6, processor are processed and are compared view data;
Step 7, processor judge that mobile phone, whether facing to user's ear, if so, jumps to step 8, if not, jump to step 9;
It is handset mode that step 8, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by earpiece;
Step 9, processor judge that the whether positive face of user, to mobile phone, if so, jumps to step 10, if not, jump to step 11;
It is speaker mode that step 10, processor arrange mobile phone current, exports the call voice receiving, and jump to step 12 by mobile phone speaker;
Step 11, processor arrange mobile phone and keep current state, do not carry out the switching of sound channel, and jump to step 12;
Step 12, processor judge whether end of conversation, if so, jump to step 13, jump to if not step 4;
Step 13, mobile phone are closed front-facing camera.
2. loud speaker and the receiver automatic switching method based on camera as claimed in claim 1, is characterized in that, in described step 7, a part that comprises people's side face in the view data that processor receives, judges that current phone faces toward user's ear.
3. loud speaker and the receiver automatic switching method based on camera as claimed in claim 2, is characterized in that, processor is in the judgement of view data, ear and hair that a part for described people's side face comprises people.
4. the loud speaker based on camera as described in any one claim in claims 1 to 3 and receiver automatic switching method, it is characterized in that, in described step 9, the eyes, nose and the mouth that in the view data that processor receives, comprise people, judge that current phone faces toward the positive face of user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310685599.2A CN103685752A (en) | 2013-12-16 | 2013-12-16 | Loudspeaker and earphone automatic switching method based on camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310685599.2A CN103685752A (en) | 2013-12-16 | 2013-12-16 | Loudspeaker and earphone automatic switching method based on camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103685752A true CN103685752A (en) | 2014-03-26 |
Family
ID=50321993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310685599.2A Pending CN103685752A (en) | 2013-12-16 | 2013-12-16 | Loudspeaker and earphone automatic switching method based on camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103685752A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104065827A (en) * | 2014-06-30 | 2014-09-24 | 宇龙计算机通信科技(深圳)有限公司 | Terminal voice mode switching method and apparatus and terminal |
CN106375573A (en) * | 2016-10-10 | 2017-02-01 | 广东小天才科技有限公司 | Method and device for switching call mode |
CN106559559A (en) * | 2015-09-30 | 2017-04-05 | 宇龙计算机通信科技(深圳)有限公司 | A kind of call mode intelligent switch method, device and electronic equipment |
CN108924353A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | anti-interference method, mobile terminal and computer readable storage medium |
WO2019056300A1 (en) * | 2017-09-22 | 2019-03-28 | 深圳传音通讯有限公司 | Adjustment system and method for automatically switching audio mode during call |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090060170A1 (en) * | 2007-09-05 | 2009-03-05 | Avaya Technology Llc | Method and apparatus for call control using motion and position information |
US20100075712A1 (en) * | 2008-09-19 | 2010-03-25 | Anand Sethuraman | Enabling speaker phone mode of a portable voice communications device having a built-in camera |
CN102883054A (en) * | 2012-09-18 | 2013-01-16 | 广东欧珀移动通信有限公司 | Method and system for exchanging ring prompting types based on faces by mobile terminal |
CN102938815A (en) * | 2012-11-07 | 2013-02-20 | 广东欧珀移动通信有限公司 | Contextual model switching method and system for mobile phone |
US20130095886A1 (en) * | 2011-10-14 | 2013-04-18 | Samsung Electronic Co., Ltd. | Mobile terminal for distinguishing an ear during a call and method thereof |
CN103297594A (en) * | 2012-02-28 | 2013-09-11 | 索尼爱立信移动通讯有限公司 | Method and device for automatic switchover of call modes |
-
2013
- 2013-12-16 CN CN201310685599.2A patent/CN103685752A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090060170A1 (en) * | 2007-09-05 | 2009-03-05 | Avaya Technology Llc | Method and apparatus for call control using motion and position information |
US20100075712A1 (en) * | 2008-09-19 | 2010-03-25 | Anand Sethuraman | Enabling speaker phone mode of a portable voice communications device having a built-in camera |
US20130095886A1 (en) * | 2011-10-14 | 2013-04-18 | Samsung Electronic Co., Ltd. | Mobile terminal for distinguishing an ear during a call and method thereof |
CN103297594A (en) * | 2012-02-28 | 2013-09-11 | 索尼爱立信移动通讯有限公司 | Method and device for automatic switchover of call modes |
CN102883054A (en) * | 2012-09-18 | 2013-01-16 | 广东欧珀移动通信有限公司 | Method and system for exchanging ring prompting types based on faces by mobile terminal |
CN102938815A (en) * | 2012-11-07 | 2013-02-20 | 广东欧珀移动通信有限公司 | Contextual model switching method and system for mobile phone |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104065827A (en) * | 2014-06-30 | 2014-09-24 | 宇龙计算机通信科技(深圳)有限公司 | Terminal voice mode switching method and apparatus and terminal |
CN106559559A (en) * | 2015-09-30 | 2017-04-05 | 宇龙计算机通信科技(深圳)有限公司 | A kind of call mode intelligent switch method, device and electronic equipment |
CN106375573A (en) * | 2016-10-10 | 2017-02-01 | 广东小天才科技有限公司 | Method and device for switching call mode |
CN106375573B (en) * | 2016-10-10 | 2020-07-10 | 广东小天才科技有限公司 | Method and device for switching call mode |
WO2019056300A1 (en) * | 2017-09-22 | 2019-03-28 | 深圳传音通讯有限公司 | Adjustment system and method for automatically switching audio mode during call |
CN108924353A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | anti-interference method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493678B (en) | Earphone control method and device, earphone and storage medium | |
EP2775693B1 (en) | Automatic routing of call audio at incoming call | |
US20150124058A1 (en) | Cloud-integrated headphones with smart mobile telephone base system and surveillance camera | |
CN102843464A (en) | System and method utilizing distance sensor to adjust call audio output mode | |
CN107621933B (en) | Audio playing method and device and related medium product | |
CN103685752A (en) | Loudspeaker and earphone automatic switching method based on camera | |
CN106375573B (en) | Method and device for switching call mode | |
CN105794186A (en) | Method, device and electronic device for controlling application program | |
CN102984374A (en) | Communication terminal and communication manner switching method thereof | |
CN104683557A (en) | Method and device for automatically switching call mode of mobile terminal | |
WO2015117347A1 (en) | Adjustment method and device for terminal scene mode | |
CN102170493A (en) | Mobile phone as well as method and device for controlling video calls of mobile phone | |
CN104853093A (en) | Rotatable camera control method and mobile terminal | |
CN106888327B (en) | Voice playing method and device | |
CN108900951A (en) | Volume adjusting method, earphone and computer readable storage medium | |
CN105282867B (en) | Method for connecting network and device | |
CN104333641B (en) | Call method and device | |
CN108432220B (en) | Method and terminal for switching call mode | |
CN103095899A (en) | Approaching judgment method and equipment and state switching method and equipment | |
WO2022022423A1 (en) | Method and apparatus for realizing low power consumption of wireless headset, and wireless headset and readable storage medium | |
CN108093132B (en) | Terminal device and ringtone volume control method | |
CN112806023A (en) | Control method of wireless earphone and related product | |
CN110248347B (en) | Call abnormity detection method, device, equipment and storage medium | |
CN106603882A (en) | Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal | |
CN109511040B (en) | Whisper amplifying method and device and earphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |
|
RJ01 | Rejection of invention patent application after publication |