CN104243829A - Self-shooting method and self-shooting device - Google Patents
Self-shooting method and self-shooting device Download PDFInfo
- Publication number
- CN104243829A CN104243829A CN201410509578.XA CN201410509578A CN104243829A CN 104243829 A CN104243829 A CN 104243829A CN 201410509578 A CN201410509578 A CN 201410509578A CN 104243829 A CN104243829 A CN 104243829A
- Authority
- CN
- China
- Prior art keywords
- self
- terminal equipment
- camera
- timer mode
- image
- 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
Abstract
The invention relates to a self-shooting method and a self-shooting device which are used for facilitating self-shooting for users and saving manufacturing cost of a terminal. The method includes: judging whether terminal equipment is under a self-shooting mode or not; if yes, changing a function of a specified component into a shooting function; when the specified component detects a preset trigger event, acquiring an image captured by a camera to generate a photo. By the method and the device, self-shooting can be completed with the specified component, so that the users can finish self-shooting by triggering the specified component whether using a front camera or a rear camera, and self-shooting is simplified; when the terminal equipment is under the self-shooting mode, the function of the specified component is changed into the shooting function, the existing component of the terminal component is applied to finish self-shooting, and the terminal equipment needs not to be added with a new component, so that manufacturing cost of the terminal equipment is saved.
Description
Technical field
The disclosure relates to technical field of electronic equipment, particularly relates to the method and apparatus of auto heterodyne.
Background technology
Universal along with various intelligent terminal, autodynes and becomes a kind of often by function that user uses.The method realizing in correlation technique autodyning is: user uses front-facing camera to aim at user's face; When user determines to take pictures, click the button of taking pictures in intelligent terminal touch screen, complete once photo taking.But under normal circumstances, the resolution of post-positioned pick-up head is higher than front-facing camera, and user wishes to use post-positioned pick-up head to autodyne sometimes.Because button of taking pictures is positioned on the touch-screen of intelligent terminal, put camera after a procedure when autodyning, user is difficult to the button of taking pictures searched out in touch-screen, and then is difficult to use post-positioned pick-up head to complete auto heterodyne.The another kind of technical scheme realizing in correlation technique autodyning is: install in intelligent terminal and be specifically designed to the physical button of taking pictures, and when user will autodyne, can complete auto heterodyne by clicking this physical button.The defect of this technical scheme is, installs separately a physical button for taking pictures, improve the manufacturing cost of intelligent terminal in intelligent terminal.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides the method and apparatus of auto heterodyne, realizes autodyning, and save the manufacturing cost of terminal in order to facilitate user.
According to the first aspect of disclosure embodiment, providing a kind of method of auto heterodyne, for having the terminal equipment of camera, comprising:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
In one embodiment, describedly judge whether described terminal equipment is in self-timer mode, can comprise:
Judge whether user selects front-facing camera to take pictures, when user selects front-facing camera to take, judge that described terminal equipment is in self-timer mode; Or
Judge whether user selects the self-timer mode preset, when user selects self-timer mode, judge that described terminal equipment is in self-timer mode; Or
Obtain the image that camera catches, recognition of face is carried out to described image, judges whether described terminal equipment is in self-timer mode according to the facial image identified; Or
When described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
In one embodiment, the facial image that described basis identifies judges whether described terminal equipment is in self-timer mode, can comprise:
Calculate proportion in the image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judge that described terminal equipment is in self-timer mode; Or
When utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
In one embodiment, described according to described Distance Judgment terminal equipment whether be in self-timer mode, can comprise:
When described distance is greater than the 3rd predetermined threshold value, judge that described terminal equipment is in self-timer mode.
In one embodiment, described is camera function by the functionality change of assignment component, can comprise:
The response events interface of assignment component is changed to event interface of taking pictures.
In one embodiment, described after described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches, can comprise:
After described assignment component detects default trigger event, event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
In one embodiment, described after described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches, can comprise:
When described assignment component is button, when described button detects pressing operation, obtain the Computer image genration photo that camera catches; Or
When described assignment component is acoustic control assembly, receive sound, when the volume of described sound is more than the 4th predetermined threshold value, obtain the Computer image genration photo that camera catches.
According to second aspect of the present disclosure, providing a kind of device of auto heterodyne, for having the terminal equipment of camera, comprising:
Judge module, for judging whether described terminal equipment is in self-timer mode;
The functionality change of assignment component, for when described terminal equipment is in self-timer mode, is camera function by change module;
Photo module, for after described assignment component detects default trigger event, obtains the Computer image genration photo that camera catches.
In one embodiment, described judge module, can comprise:
First judges submodule, for judging whether user selects front-facing camera to take pictures, when user selects front-facing camera to take, judges that described terminal equipment is in self-timer mode; Or
Second judges submodule, for judging whether user selects the self-timer mode preset, when user selects self-timer mode, judges that described terminal equipment is in self-timer mode; Or
3rd judges submodule, for obtaining the image that camera catches, carrying out recognition of face, judge whether described terminal equipment is in self-timer mode according to the facial image identified to described image; Or
4th judges submodule, and for when described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
In one embodiment, the described 3rd judges submodule, can comprise:
First judging unit, for calculating proportion in image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judges that described terminal equipment is in self-timer mode; Or
Second judging unit, for when utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
In one embodiment, the described 4th judges submodule, can comprise:
3rd judging unit, for when described distance is greater than the 3rd predetermined threshold value, judges that described terminal equipment is in self-timer mode.
In one embodiment, described change module, can comprise:
First change submodule, for changing to the response events interface of assignment component event interface of taking pictures.
In one embodiment, described photo module, can comprise:
First count is according to submodule, and for after described assignment component detects default trigger event, event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
In one embodiment, described photo module, can comprise:
Second count, according to submodule, for when described assignment component is button, when described button detects pressing operation, obtains the Computer image genration photo that camera catches; Or
Third shot, according to submodule, for when described assignment component is acoustic control assembly, receives sound, when the volume of described sound is more than the 4th predetermined threshold value, obtains the Computer image genration photo that camera catches.
According to a third aspect of the invention we, a kind of device of auto heterodyne is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: judge whether terminal equipment is in self-timer mode, when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, after assignment component detects default trigger event, obtain the Computer image genration photo that camera catches; So, because assignment component can be used to complete auto heterodyne, make user no matter use front-facing camera or post-positioned pick-up head, auto heterodyne can be completed by triggering assignment component, auto heterodyne being operated simpler; Because when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, Self-timer can being completed by existing assembly in the equipment of application terminal, without the need to increasing new assembly in terminal equipment, and then having saved the manufacturing cost of terminal equipment.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of the method for auto heterodyne according to an exemplary embodiment.
Fig. 2 is the flow chart of the method for auto heterodyne according to an exemplary embodiment one.
Fig. 3 is the flow chart of the method for auto heterodyne according to an exemplary embodiment two.
Fig. 4 is the block diagram of the device of a kind of auto heterodyne according to an exemplary embodiment.
Fig. 5 A is the block diagram of the device that the another kind according to an exemplary embodiment is autodyned.
Fig. 5 B is the block diagram of the device that the another kind according to an exemplary embodiment is autodyned.
Fig. 6 is the block diagram of the device that the another kind according to an exemplary embodiment is autodyned.
Fig. 7 A is the block diagram of the device that the another kind according to an exemplary embodiment is autodyned.
Fig. 7 B is the block diagram of the device that the another kind according to an exemplary embodiment is autodyned.
Fig. 8 is a kind of block diagram (general structure of terminal equipment) being applicable to the device of autodyning according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of the method for a kind of auto heterodyne according to an exemplary embodiment.As shown in Figure 1, this auto heterodyne method for have camera terminal equipment, as in mobile phone, camera panel computer, comprise the following steps S101-S103:
In step S101, judge whether terminal equipment is in self-timer mode.
In one embodiment, step S101 can be embodied as: judge whether user selects front-facing camera to take pictures, and when user selects front-facing camera to take, judges that described terminal equipment is in self-timer mode.
In the present embodiment, when user uses front-facing camera to autodyne, technical scheme in the disclosure can be used.So, user can use assignment component to complete auto heterodyne, auto heterodyne is operated and is more prone to.
In one embodiment, step S101 can be embodied as: judge whether user selects the self-timer mode preset, and when user selects self-timer mode, judges that terminal equipment is in self-timer mode.
In the present embodiment, for user provides the selection of screening-mode, when user selects self-timer mode, judgement terminal equipment is in self-timer mode, starts to perform in subsequent step S102 and S103 to operate, so, the selection of screening-mode can be provided for user, make user operation more flexible.
In one embodiment, step S101 can be embodied as: obtain the image that camera catches, carry out recognition of face, judge whether terminal equipment is in self-timer mode according to the facial image identified to image.
For example, the facial image that above-mentioned basis identifies judges whether terminal equipment is in self-timer mode and can comprises: calculate proportion in the image that facial image catches at camera, when proportion is more than the first predetermined threshold value, judge that terminal equipment is in self-timer mode.Such as, after camera function is opened, obtain the image that camera catches, call in recognition of face detection module detected image and whether there is face, when having face in image, calculating the size of the facial image identified, then calculating facial image proportion in whole image, when proportion is more than the first predetermined threshold value, judge that terminal equipment is in self-timer mode.
For example, the facial image that above-mentioned basis identifies judges whether terminal equipment is in self-timer mode and can comprises: when utilizing image recognition to determine image for personage's upper part of the body image, calculate the size of facial image, when the size of facial image is more than the second predetermined threshold value, judge that terminal equipment is in self-timer mode.Such as, after camera function is opened, obtain the image that camera catches, call character image in picture recognition module recognition image, when to identify in image only for personage above the waist time, call in recognition of face detection module detected image whether there is face, when having face in image, calculate the size of the facial image identified, when the size of facial image is more than the second predetermined threshold value, judge that terminal equipment is in self-timer mode.
Adopt technical scheme in the present embodiment, there is following beneficial effect: automatically can detect and judge whether terminal equipment enters self-timer mode, further simplify user operation, achieve the intellectuality that self-timer mode judges.
In one embodiment, step S101 can be embodied as: when terminal equipment has multiple camera, utilizes multiple camera to measure shot object and terminal equipment spacing, whether is in self-timer mode according to this Distance Judgment terminal equipment.
For example, when terminal equipment has multiple camera, utilize multiple camera to measure shot object and terminal equipment spacing, when distance is greater than the 3rd predetermined threshold value, judge that terminal equipment is in self-timer mode.Such as, there are in terminal equipment two cameras, two cameras are utilized to use existing measuring technique, as OpenCV (computer vision of increasing income storehouse, Open Source Computer Vision Library) the middle technology applied camera and carry out measuring, measure shot object and terminal equipment spacing, when the distance measured is greater than the 3rd predetermined threshold value, judge that terminal equipment is in self-timer mode.
In the present embodiment, be not limited thereto according to the implementation whether this Distance Judgment terminal equipment is in self-timer mode, such as, this distance and the ratio of screen size can be calculated, when ratio meets pre-conditioned, judge that terminal equipment is in self-timer mode.
Adopt technical scheme in the present embodiment, there is following beneficial effect: automatically can detect and judge whether terminal equipment enters self-timer mode, further simplify user operation, achieve the intellectuality that self-timer mode judges.
In step s 102, when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component.
In one embodiment, above-mentioned is that camera function can be embodied as by the functionality change of assignment component: the response events interface of assignment component is changed to event interface of taking pictures.
Such as, assignment component is key under volume, and before change, under volume, the response events interface of key is key events interface under volume, in step s 102, the response events interface of key under volume is changed to by key events interface under volume event interface of taking pictures.Like this, in step s 103, when under volume, key is clicked, the response events of triggering is for taking pictures.
Again such as, assignment component is acoustic control assembly, in step s 102, the response events interface of acoustic control assembly is changed to event interface of taking pictures.Like this, in step s 103, when receiving sound, and when the volume of sound satisfies condition, the response events of triggering is for taking pictures.
Adopt technical scheme in the present embodiment, there is following beneficial effect: by the response events interface of assignment component is changed to event interface of taking pictures, make to be that the realization of camera function is simpler by the functionality change of assignment component.
In step s 103, after assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
In one embodiment, step S103 can be embodied as: after assignment component detects default trigger event, calls the Computer image genration photo that event interface of taking pictures obtains camera seizure.
In one embodiment, step S103 can be embodied as: when assignment component is button, when button detects pressing operation, obtains the Computer image genration photo that camera catches.
In one embodiment, step S103 can be embodied as: when assignment component is acoustic control assembly, receives sound, when the volume of sound is more than the 4th predetermined threshold value, obtains the Computer image genration photo that camera catches.
The technical scheme that the present embodiment provides can comprise following beneficial effect: judge whether terminal equipment is in self-timer mode, when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, after assignment component detects default trigger event, obtain the Computer image genration photo that camera catches; So, because assignment component can be used to complete auto heterodyne, make user no matter use front-facing camera or post-positioned pick-up head, auto heterodyne can be completed by triggering assignment component, auto heterodyne being operated simpler; Because when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, Self-timer can being completed by existing assembly in the equipment of application terminal, without the need to increasing new assembly in terminal equipment, and then having saved the manufacturing cost of terminal equipment.
Embodiment one
Fig. 2 is the flow chart of the method for a kind of auto heterodyne according to an exemplary embodiment one.As shown in Figure 2, this auto heterodyne method for have camera terminal equipment, as in mobile phone, camera panel computer.Embodiment one is applied in following scene: user uses post-positioned pick-up head to autodyne, and assignment component is key under volume.In embodiment one, method comprises the following steps:
In step s 201, obtain post-positioned pick-up head catch image, recognition of face is carried out to image.
In step S202, calculate proportion in image that facial image catches at camera, when proportion is more than the first predetermined threshold value, judgement terminal equipment is in self-timer mode.
Change to by key events interface under volume event interface of taking pictures in step S203, by the response events interface of key under volume.
In step S204, when key detects clicked under volume, call the Computer image genration photo that event interface of taking pictures obtains camera seizure.
The technical scheme that the present embodiment provides can comprise following beneficial effect: because key completes auto heterodyne under can using volume, when making user use post-positioned pick-up head, can complete auto heterodyne, make auto heterodyne operation simpler by key under clicking volume; Because when terminal equipment is in self-timer mode, be camera function by the functionality change of key under volume, can in the equipment of application terminal under existing volume key complete Self-timer, without the need to increasing new assembly in terminal equipment, and then saved the manufacturing cost of terminal equipment.
Embodiment two
Fig. 3 is the flow chart of the method for a kind of auto heterodyne according to an exemplary embodiment two.As shown in Figure 3, this auto heterodyne method for have camera terminal equipment, as in mobile phone, camera panel computer.Embodiment two is applied in following scene: terminal equipment has multiple camera, and user uses post-positioned pick-up head to autodyne, and assignment component is acoustic control assembly.In embodiment two, method comprises the following steps:
In step S301, utilize multiple camera to measure shot object and terminal equipment spacing, when distance is greater than the 3rd predetermined threshold value, judge that terminal equipment is in self-timer mode.
In step s 302, the response events interface of acoustic control assembly is changed to event interface of taking pictures.
In step S303, acoustic control assembly receive sound, when the volume of sound is more than the 4th predetermined threshold value, call take pictures event interface obtain camera catch Computer image genration photo.
The technical scheme that the present embodiment provides can comprise following beneficial effect: because acoustic control assembly can be used to complete auto heterodyne, when making user use post-positioned pick-up head, can complete auto heterodyne, auto heterodyne is operated simpler by acoustic control; Because when terminal equipment is in self-timer mode, be camera function by the functionality change of acoustic control assembly, Self-timer can being completed by existing acoustic control assembly in the equipment of application terminal, without the need to increasing new assembly in terminal equipment, and then having saved the manufacturing cost of terminal equipment.
Fig. 4 is the device of a kind of auto heterodyne according to an exemplary embodiment, for having the terminal equipment of camera, as in mobile phone, camera panel computer.As shown in Figure 4, device comprises:
Judge module 41 is configured to judge whether terminal equipment is in self-timer mode;
Change module 42 is configured to when terminal equipment is in self-timer mode, is camera function by the functionality change of assignment component;
Photo module 43 is configured to after assignment component detects default trigger event, obtains the Computer image genration photo that camera catches.
In one embodiment, judge module, can comprise:
First judges that submodule is configured to judge whether user selects front-facing camera to take pictures, and when user selects front-facing camera to take, judges that terminal equipment is in self-timer mode; Or
Second judges that submodule is configured to judge whether user selects the self-timer mode preset, and when user selects self-timer mode, judges that terminal equipment is in self-timer mode; Or
3rd judges that submodule is configured to obtain the image of camera seizure, carries out recognition of face, judge whether terminal equipment is in self-timer mode according to the facial image identified to image; Or
4th judges that submodule is configured to when terminal equipment has multiple camera, utilizes multiple camera to measure shot object and terminal equipment spacing, whether is in self-timer mode according to Distance Judgment terminal equipment.
In one embodiment, as fig. 5 a and fig. 5b, the 3rd judges submodule 51, can comprise:
First judging unit 52 is configured to calculate proportion in the image that facial image catches at described camera, when proportion is more than the first predetermined threshold value, judges that terminal equipment is in self-timer mode; Or
Second judging unit 53 is configured to, when utilizing image recognition to determine image for personage's upper part of the body image, calculate the size of facial image, when the size of facial image is more than the second predetermined threshold value, judge that terminal equipment is in self-timer mode.
In one embodiment, as shown in Figure 6, the 4th judges submodule 61, can comprise:
3rd judging unit 62 is configured to, when described distance is greater than the 3rd predetermined threshold value, judge that described terminal equipment is in self-timer mode.
In one embodiment, change module, can comprise:
First change submodule is configured to the response events interface of assignment component to change to event interface of taking pictures.
In one embodiment, photo module, can comprise:
First count is configured to after assignment component detects default trigger event according to submodule, calls the Computer image genration photo that event interface of taking pictures obtains camera seizure.
In one embodiment, as shown in figs. 7 a-b, photo module 43, can comprise:
Second count is configured to when assignment component is button according to submodule 72, when button detects pressing operation, obtains the Computer image genration photo that camera catches; Or
Third shot is configured to when assignment component is acoustic control assembly according to submodule 73, receives sound, when the volume of sound is more than the 4th predetermined threshold value, obtains the Computer image genration photo that camera catches.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: judge whether terminal equipment is in self-timer mode, when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, after assignment component detects default trigger event, obtain the Computer image genration photo that camera catches; So, because assignment component can be used to complete auto heterodyne, make user no matter use front-facing camera or post-positioned pick-up head, auto heterodyne can be completed by triggering assignment component, auto heterodyne being operated simpler; Because when terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component, Self-timer can being completed by existing assembly in the equipment of application terminal, without the need to increasing new assembly in terminal equipment, and then having saved the manufacturing cost of terminal equipment.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 8 is the block diagram of a kind of device 1200 for autodyning according to an exemplary embodiment, and this device is applicable to terminal equipment.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 8, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing unit 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Memory 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loud speaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1214 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A device for auto heterodyne, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, processor is configured to:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
This processor is configured to: judge whether user selects front-facing camera to take pictures, and when user selects front-facing camera to take, judges that described terminal equipment is in self-timer mode; Or
Judge whether user selects the self-timer mode preset, when user selects self-timer mode, judge that described terminal equipment is in self-timer mode; Or
Obtain the image that camera catches, recognition of face is carried out to described image, judges whether described terminal equipment is in self-timer mode according to the facial image identified; Or
When described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
This processor is configured to: calculate proportion in the image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judge that described terminal equipment is in self-timer mode; Or
When utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
This processor is configured to: when described distance is greater than the 3rd predetermined threshold value, judges that described terminal equipment is in self-timer mode.
This processor is configured to: the response events interface of assignment component is changed to event interface of taking pictures.
This processor is configured to: after described assignment component detects default trigger event, and event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
This processor is configured to: when described assignment component is button, when described button detects pressing operation, obtains the Computer image genration photo that camera catches; Or
When described assignment component is acoustic control assembly, receive sound, when the volume of described sound is more than the 4th predetermined threshold value, obtain the Computer image genration photo that camera catches.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method of auto heterodyne, described method comprises:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
Describedly judge whether described terminal equipment is in self-timer mode, can comprise:
Judge whether user selects front-facing camera to take pictures, when user selects front-facing camera to take, judge that described terminal equipment is in self-timer mode; Or
Judge whether user selects the self-timer mode preset, when user selects self-timer mode, judge that described terminal equipment is in self-timer mode; Or
Obtain the image that camera catches, recognition of face is carried out to described image, judges whether described terminal equipment is in self-timer mode according to the facial image identified; Or
When described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
The facial image that described basis identifies judges whether described terminal equipment is in self-timer mode, can comprise:
Calculate proportion in the image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judge that described terminal equipment is in self-timer mode; Or
When utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
Described according to described Distance Judgment terminal equipment whether be in self-timer mode, can comprise:
When described distance is greater than the 3rd predetermined threshold value, judge that described terminal equipment is in self-timer mode.
Described is camera function by the functionality change of assignment component, can comprise:
The response events interface of assignment component is changed to event interface of taking pictures.
Described after assignment component detects default trigger event, obtain the Computer image genration photo that camera catches, can comprise:
After described assignment component detects default trigger event, event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
Described after described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches, can comprise:
When described assignment component is button, when described button detects pressing operation, obtain the Computer image genration photo that camera catches; Or
When described assignment component is acoustic control assembly, receive sound, when the volume of described sound is more than the 4th predetermined threshold value, obtain the Computer image genration photo that camera catches.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
Claims (15)
1. a method of autodyning, is characterized in that, for having the terminal equipment of camera, comprising:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
2. the method for claim 1, is characterized in that, describedly judges whether described terminal equipment is in self-timer mode, comprising:
Judge whether user selects front-facing camera to take pictures, when user selects front-facing camera to take, judge that described terminal equipment is in self-timer mode; Or
Judge whether user selects the self-timer mode preset, when user selects self-timer mode, judge that described terminal equipment is in self-timer mode; Or
Obtain the image that camera catches, recognition of face is carried out to described image, judges whether described terminal equipment is in self-timer mode according to the facial image identified; Or
When described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
3. method as claimed in claim 2, it is characterized in that, the facial image that described basis identifies judges whether described terminal equipment is in self-timer mode, comprising:
Calculate proportion in the image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judge that described terminal equipment is in self-timer mode; Or
When utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
4. method as claimed in claim 2, is characterized in that, described according to described Distance Judgment terminal equipment whether be in self-timer mode, comprising:
When described distance is greater than the 3rd predetermined threshold value, judge that described terminal equipment is in self-timer mode.
5. the method for claim 1, is characterized in that, described is camera function by the functionality change of assignment component, comprising:
The response events interface of assignment component is changed to event interface of taking pictures.
6. method as claimed in claim 5, is characterized in that, described after described assignment component detects default trigger event, obtains the Computer image genration photo that camera catches, comprising:
After described assignment component detects default trigger event, event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
7. the method for claim 1, is characterized in that, described after described assignment component detects default trigger event, obtains the Computer image genration photo that camera catches, comprising:
When described assignment component is button, when described button detects pressing operation, obtain the Computer image genration photo that camera catches; Or
When described assignment component is acoustic control assembly, receive sound, when the volume of described sound is more than the 4th predetermined threshold value, obtain the Computer image genration photo that camera catches.
8. a device of autodyning, is characterized in that, for having the terminal equipment of camera, comprising:
Judge module, for judging whether described terminal equipment is in self-timer mode;
The functionality change of assignment component, for when described terminal equipment is in self-timer mode, is camera function by change module;
Photo module, for after described assignment component detects default trigger event, obtains the Computer image genration photo that camera catches.
9. device as claimed in claim 8, it is characterized in that, described judge module, comprising:
First judges submodule, for judging whether user selects front-facing camera to take pictures, when user selects front-facing camera to take, judges that described terminal equipment is in self-timer mode; Or
Second judges submodule, for judging whether user selects the self-timer mode preset, when user selects self-timer mode, judges that described terminal equipment is in self-timer mode; Or
3rd judges submodule, for obtaining the image that camera catches, carrying out recognition of face, judge whether described terminal equipment is in self-timer mode according to the facial image identified to described image; Or
4th judges submodule, and for when described terminal equipment has multiple camera, utilize described multiple camera to measure shot object and described terminal equipment spacing, according to described Distance Judgment, whether terminal equipment is in self-timer mode.
10. device as claimed in claim 9, it is characterized in that, the described 3rd judges submodule, comprising:
First judging unit, for calculating proportion in image that described facial image catches at described camera, when proportion is more than the first predetermined threshold value, judges that described terminal equipment is in self-timer mode; Or
Second judging unit, for when utilizing image recognition to determine described image for personage's upper part of the body image, calculating the size of facial image, when the size of facial image is more than the second predetermined threshold value, judging that described terminal equipment is in self-timer mode.
11. devices as claimed in claim 9, is characterized in that, the described 4th judges submodule, comprising:
3rd judging unit, for when described distance is greater than the 3rd predetermined threshold value, judges that described terminal equipment is in self-timer mode.
12. devices as claimed in claim 8, it is characterized in that, described change module, comprising:
First change submodule, for changing to the response events interface of assignment component event interface of taking pictures.
13. devices as claimed in claim 12, it is characterized in that, described photo module, comprising:
First count is according to submodule, and for after described assignment component detects default trigger event, event interface of taking pictures described in calling obtains the Computer image genration photo that camera catches.
14. devices as claimed in claim 8, it is characterized in that, described photo module, comprising:
Second count, according to submodule, for when described assignment component is button, when described button detects pressing operation, obtains the Computer image genration photo that camera catches; Or
Third shot, according to submodule, for when described assignment component is acoustic control assembly, receives sound, when the volume of described sound is more than the 4th predetermined threshold value, obtains the Computer image genration photo that camera catches.
15. 1 kinds of devices of autodyning, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Judge whether described terminal equipment is in self-timer mode;
When described terminal equipment is in self-timer mode, be camera function by the functionality change of assignment component;
After described assignment component detects default trigger event, obtain the Computer image genration photo that camera catches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410509578.XA CN104243829A (en) | 2014-09-28 | 2014-09-28 | Self-shooting method and self-shooting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410509578.XA CN104243829A (en) | 2014-09-28 | 2014-09-28 | Self-shooting method and self-shooting device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104243829A true CN104243829A (en) | 2014-12-24 |
Family
ID=52231083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410509578.XA Pending CN104243829A (en) | 2014-09-28 | 2014-09-28 | Self-shooting method and self-shooting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104243829A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994300A (en) * | 2015-07-20 | 2015-10-21 | 魅族科技(中国)有限公司 | Photographing method and terminal |
CN105120180A (en) * | 2015-09-24 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and device for self-shooting based on rear camera, and mobile terminal |
CN105260102A (en) * | 2015-10-08 | 2016-01-20 | 普联技术有限公司 | Shooting method, system and apparatus and terminal device |
CN106101440A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of self-timer method and mobile terminal |
CN106408603A (en) * | 2016-06-21 | 2017-02-15 | 北京小米移动软件有限公司 | Camera method and device |
WO2018049630A1 (en) * | 2016-09-14 | 2018-03-22 | 华为技术有限公司 | Photographing method and terminal |
WO2018201364A1 (en) * | 2017-05-04 | 2018-11-08 | 深圳市卓希科技有限公司 | Camera control method, and terminal |
CN109510937A (en) * | 2017-09-15 | 2019-03-22 | 中兴通讯股份有限公司 | A kind of switching method and terminal of photographing mode |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312949A (en) * | 2012-03-16 | 2013-09-18 | 深圳富泰宏精密工业有限公司 | System and method for prompting autodyne |
CN103379269A (en) * | 2012-04-26 | 2013-10-30 | 富泰华工业(深圳)有限公司 | Shooting system, shooting method and electronic equipment using shooting system |
CN103384301A (en) * | 2013-07-12 | 2013-11-06 | 广东欧珀移动通信有限公司 | Method and device for performing autodyne through rear camera and mobile terminal |
CN103501411A (en) * | 2013-10-09 | 2014-01-08 | 中科创达软件股份有限公司 | Image shooting method and system |
-
2014
- 2014-09-28 CN CN201410509578.XA patent/CN104243829A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312949A (en) * | 2012-03-16 | 2013-09-18 | 深圳富泰宏精密工业有限公司 | System and method for prompting autodyne |
CN103379269A (en) * | 2012-04-26 | 2013-10-30 | 富泰华工业(深圳)有限公司 | Shooting system, shooting method and electronic equipment using shooting system |
CN103384301A (en) * | 2013-07-12 | 2013-11-06 | 广东欧珀移动通信有限公司 | Method and device for performing autodyne through rear camera and mobile terminal |
CN103501411A (en) * | 2013-10-09 | 2014-01-08 | 中科创达软件股份有限公司 | Image shooting method and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994300A (en) * | 2015-07-20 | 2015-10-21 | 魅族科技(中国)有限公司 | Photographing method and terminal |
CN105120180A (en) * | 2015-09-24 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and device for self-shooting based on rear camera, and mobile terminal |
CN105260102A (en) * | 2015-10-08 | 2016-01-20 | 普联技术有限公司 | Shooting method, system and apparatus and terminal device |
CN105260102B (en) * | 2015-10-08 | 2019-10-29 | 普联技术有限公司 | Image pickup method, system, device and terminal device |
CN106408603A (en) * | 2016-06-21 | 2017-02-15 | 北京小米移动软件有限公司 | Camera method and device |
CN106408603B (en) * | 2016-06-21 | 2023-06-02 | 北京小米移动软件有限公司 | Shooting method and device |
CN106101440A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of self-timer method and mobile terminal |
WO2018049630A1 (en) * | 2016-09-14 | 2018-03-22 | 华为技术有限公司 | Photographing method and terminal |
US10834318B2 (en) | 2016-09-14 | 2020-11-10 | Huawei Technologies Co., Ltd. | Automatic photographing method and terminal based on use posture |
WO2018201364A1 (en) * | 2017-05-04 | 2018-11-08 | 深圳市卓希科技有限公司 | Camera control method, and terminal |
CN109510937A (en) * | 2017-09-15 | 2019-03-22 | 中兴通讯股份有限公司 | A kind of switching method and terminal of photographing mode |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106454336B (en) | The method and device and terminal that detection terminal camera is blocked | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN105120144A (en) | Image shooting method and device | |
CN104243819A (en) | Photo acquiring method and device | |
CN105245775A (en) | Method and device for camera imaging, and mobile terminal | |
CN103873684B (en) | The application process of flashlight and device | |
CN105491289A (en) | Method and device for preventing photographing occlusion | |
CN105260732A (en) | Image processing method and device | |
CN105472303A (en) | Privacy protection method and apparatus for video chatting | |
CN104519282A (en) | Image shooting method and device | |
CN105516586A (en) | Picture shooting method, device and system | |
CN104298547A (en) | Terminal setting method and device | |
CN104244045B (en) | The method that control video pictures presents and device | |
CN104460185A (en) | Automatic focusing method and device | |
CN104980662A (en) | Method for adjusting imaging style in shooting process, device thereof and imaging device | |
CN105446616A (en) | Screen display control method, apparatus and device | |
CN105069426A (en) | Similar picture determining method and apparatus | |
CN105516587A (en) | Method for switching cameras and mobile terminal | |
CN105282446A (en) | Camera management method and device | |
CN105120155A (en) | Panoramic photograph generation method and device | |
CN105224171A (en) | icon display method, device and terminal | |
CN105512615A (en) | Picture processing method and apparatus | |
CN105100634A (en) | Image photographing method and image photographing device | |
CN104618575A (en) | Method and device for approaching detected objects | |
CN104216525A (en) | Method and device for mode control of camera application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20141224 |
|
RJ01 | Rejection of invention patent application after publication |