CN105141854A - Flashlight control method, flashlight control device and terminal equipment - Google Patents

Flashlight control method, flashlight control device and terminal equipment Download PDF

Info

Publication number
CN105141854A
CN105141854A CN201510532594.5A CN201510532594A CN105141854A CN 105141854 A CN105141854 A CN 105141854A CN 201510532594 A CN201510532594 A CN 201510532594A CN 105141854 A CN105141854 A CN 105141854A
Authority
CN
China
Prior art keywords
information
distance
camera
user
shooting
Prior art date
Application number
CN201510532594.5A
Other languages
Chinese (zh)
Inventor
李宗源
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201510532594.5A priority Critical patent/CN105141854A/en
Publication of CN105141854A publication Critical patent/CN105141854A/en

Links

Abstract

The invention is applied to the technical field of terminal equipment, and provides a flashlight control method and a flashlight control device. The flashlight control method comprises the following steps: obtaining face information in a preview window and the photographing distance between a user corresponding to the face information and a camera when the camera enters a photographing preview mode; and turning on or turning off a flashlight according to the face information and the photographing distance. According to the invention, the terminal equipment can automatically turn on or turn off the flashlight according to a photographing object; furthermore, the flashlight is controlled in combination with distance detection; the reasonable use range of the flashlight is ensured; and injury to infant eyes due to short-distance exposure is effectively avoided.

Description

Flash lamp control method, device and terminal equipment

Technical field

The invention belongs to terminal equipment technical field, particularly relate to flash lamp control method, device and terminal equipment.

Background technology

Existing camera, smart mobile phone etc. all have photoflash lamp function, can increase exposure and take with assisted user under the environment of insufficient light.But the eyes of infant's (comprising immunoenzyme technics) are usually more responsive and fragile, and the high light that photoflash lamp sends at short notice can cause great injury to the eyes of infant.

Summary of the invention

Given this, the embodiment of the present invention provides a kind of flash lamp control method, device and terminal equipment, opens or closes, avoid proximity lithography to the infringement of infant's eyes automatically to control photoflash lamp according to reference object.

First aspect, provides a kind of flash lamp control method, and described method comprises:

After camera enters shooting preview pattern, obtain face information in the preview window and the shooting distance between user corresponding to described face information and described camera;

Control photoflash lamp according to described face information and shooting distance to open or close.

Second aspect, provides a kind of device for controlling flashlight, and described device comprises:

Acquisition module, after entering shooting preview pattern when camera, obtains face information in the preview window and the shooting distance between user corresponding to described face information and described camera;

Control module, opens for controlling photoflash lamp according to described face information and shooting distance or closes.

The third aspect, provides a kind of terminal equipment, and described equipment comprises as above sudden strain of a muscle and closes lamp control device.

Compared with prior art, the embodiment of the present invention added the automatic control process enabled photoflash lamp before camera shooting, by obtaining face information in the preview window and the shooting distance between user corresponding to described face information and described camera after entering shooting preview pattern at camera, and control photoflash lamp according to described face information and shooting distance and open or close; Thus achieve according to reference object automatically control photoflash lamp open or close; And Binding distance detection controls, and ensure that the reasonable employment scope of photoflash lamp, efficiently avoid the infringement of proximity lithography to reference object eyes, especially the eyes of infant.

Accompanying drawing explanation

In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.

Fig. 1 is the realization flow figure of the flash lamp control method that the embodiment of the present invention provides;

Fig. 2 is another realization flow figure of the flash lamp control method that the embodiment of the present invention provides;

Fig. 3 is the composition structure chart of the device for controlling flashlight that the embodiment of the present invention provides;

Fig. 4 is the structured flowchart of the terminal equipment that the embodiment of the present invention provides.

Embodiment

In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.

Compared with prior art, the embodiment of the present invention added the automatic control process enabled photoflash lamp before camera shooting, by obtaining face information in the preview window and the shooting distance between user corresponding to described face information and described camera after entering shooting preview pattern at camera, and control photoflash lamp according to described face information and shooting distance and open or close; Thus achieve according to reference object automatically control photoflash lamp open or close; And Binding distance detection controls, and ensure that the reasonable employment scope of photoflash lamp, efficiently avoid the infringement of proximity lithography to reference object eyes, especially the eyes of infant.The embodiment of the present invention additionally provides corresponding device, is described in detail respectively below.

Fig. 1 shows the realization flow of the flash lamp control method that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.

In embodiments of the present invention, described method is applied to the terminal equipment with camera shooting and camera function, and described terminal equipment includes but not limited to smart mobile phone, panel computer or digital camera etc.

Consult Fig. 1, described method comprises:

In step S101, after camera enters shooting preview pattern, obtain face information in the preview window and the shooting distance between user corresponding to described face information and described camera.

In embodiments of the present invention, when terminal equipment startup camera enters shooting preview pattern, load the preview window on a display screen, and start face recognition module and distance detection module.Wherein, described face recognition module is used for carrying out recognition of face, to obtain the face information in the preview window to preview image accessed in the preview window.Here, described face information includes but not limited to the face feature etc. of face.And the physical distance that described shooting distance is face information in the preview window between corresponding user and described camera camera, can be recorded by infrared distance sensor, the equidistant detection module of ultrasonic range finder sensor.

Alternatively, when there being multiple face information in described the preview window, then obtain the physical distance between user corresponding to described multiple face information and described camera respectively, and the minimum value obtained by bubbling method scheduling algorithm in described physical distance, using described minimum value as shooting distance, to improve the accuracy of photoflash lamp unlatching or closing control.

In step s 102, control photoflash lamp according to described face information and shooting distance to open or close.

When after the face information got in shooting preview window and shooting distance; judge whether current reference object is infant according to described face information; when described reference object is infant and shooting distance meets predeterminable range threshold value; then close photoflash lamp; to protect the eyes of infant, thus the high light that when avoiding shooting, photoflash lamp sends is to the infringement of infant's eyes.

The embodiment of the present invention added the automatic control process enabled photoflash lamp before camera shooting, by obtaining face information in the preview window and the shooting distance between user corresponding to described face information and described camera after entering shooting preview pattern at camera, and control photoflash lamp according to described face information and shooting distance and open or close; Thus achieve according to reference object automatically control photoflash lamp open or close; And Binding distance detection controls, and efficiently avoid the infringement of proximity lithography to reference object eyes, especially the eyes of infant while ensure that the reasonable employment scope of photoflash lamp.

Fig. 2 shows another realization flow of the flash lamp control method that the embodiment of the present invention provides.

Consult Fig. 2, described method comprises:

In step s 201, after camera enters shooting preview pattern, obtain face information in the preview window and the shooting distance between user corresponding to described face information and described camera.

In step S202, by described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant.

In embodiments of the present invention, can in advance in the face feature information of described terminal equipment storage inside infant before terminal equipment dispatches from the factory.The face feature information of described infant is the face feature that the infant obtained by statistics is generally had, than the high low degree of the distance between forehead, the bridge of the nose, eyebrow color and dense degree etc.After getting the face characteristic information in the preview window, described face characteristic information is compared with the face feature information of described infant one by one, to determine that whether user corresponding to described face information be for infant.

Optionally, the face feature information of certain infant that the face feature information of described infant also can be specified for user, the face feature information of such as child user.Described terminal equipment obtains by the appointment photo receiving user's input and arranges described infant's face feature information.

In step S203, when the user that described face information is corresponding is infant, described shooting distance and the distance threshold preset are compared.

Here, described default distance threshold is the distance threshold arranged based on exposure of flash lamp amount, is used as to judge the standard of photoflash lamp to the human eye extent of damage.When current reference object is infant, continue described shooting distance and the distance threshold preset to compare.When described shooting distance is less than described default distance threshold, shows that user (i.e. infant) corresponding to face information is in the stronger scope of the photoflash lamp extent of damage, then perform step S204; Otherwise, when described shooting distance is more than or equal to described default distance threshold, shows that user (i.e. infant) corresponding to face information is in the more weak scope of the photoflash lamp extent of damage, then perform step S205.And when the user that described face information is corresponding is not infant, then perform step S205.

In step S204, close the photoflash lamp of described camera.

In step S205, arranging described photoflash lamp is automatic mode, and described photoflash lamp is opened automatically according to the brightness of shooting environmental.

Here, after photoflash lamp enters automatic mode, can automatically open according to the brightness of shooting environmental or close, also can according to the automatic brightness adjustment time for exposure of shooting environmental and light after opening.

Alternatively, while closing or open the photoflash lamp of described camera, can also comprise and eject information by display screen, to notify that described in user, photoflash lamp is in closed condition; Or notify that photoflash lamp described in user is in automatic mode or opening, and export information warning, such as point out user photoflash lamp may to eye damage please environmentally blinks lamp voluntarily.

The embodiment of the present invention added the automatic control process enabled photoflash lamp before camera shooting, by obtaining face information in the preview window and the shooting distance between user corresponding to described face information and described camera after entering shooting preview pattern at camera, and control photoflash lamp according to described face information and shooting distance and open or close; Thus achieve according to reference object automatically control photoflash lamp open or close; And Binding distance detection controls, and efficiently avoid the infringement of proximity lithography to reference object eyes, especially the eyes of infant while ensure that the reasonable employment scope of photoflash lamp.

Fig. 3 shows the composition structure of the device for controlling flashlight that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.

In embodiments of the present invention, described method, for realizing the flash lamp control method described in above-mentioned Fig. 1 or Fig. 2 embodiment, can be the unit being built in the software unit of terminal equipment, hardware cell or software and hardware combining.Wherein said terminal equipment includes but not limited to smart mobile phone, panel computer or digital camera etc., and its inside is provided with camera and photoflash lamp.

Consult Fig. 3, described device comprises:

Acquisition module 31, after entering shooting preview pattern when camera, obtains face information in the preview window and the shooting distance between user corresponding to described face information and described camera;

Control module 32, opens for controlling photoflash lamp according to described face information and shooting distance or closes.

Further, described acquisition module 31 comprises:

First acquiring unit 311, for obtaining the face information in the preview window;

Second acquisition unit 312, for when there being multiple face information in described the preview window, obtains the distance of user respectively and between described camera that described multiple face information is corresponding, and using the minimum value in described distance as shooting distance.

Further, described control module 32 comprises:

First comparing unit 321, for by described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant;

Second comparing unit 322, when being infant for the user corresponding when described face information, compares described shooting distance and the distance threshold preset;

Closing unit 323, for when described shooting distance is less than described distance threshold, then closes the photoflash lamp of described camera.

In embodiments of the present invention, can in advance in the face feature information of described terminal equipment storage inside infant before terminal equipment dispatches from the factory.The face feature information of described infant is the face feature that the infant obtained by statistics is generally had, than the high low degree of the distance between forehead, the bridge of the nose, eyebrow color and dense degree etc.After getting the face characteristic information in the preview window, described face characteristic information is compared with the face feature information of described infant one by one, to determine that whether user corresponding to described face information be for infant.

Optionally, the face feature information of the infant that the face feature information of described infant also can be specified for user, the face feature information of such as child user.Described terminal equipment obtains by the appointment photo receiving user's input and arranges described infant's face feature information.

Described default distance threshold is the distance threshold arranged based on exposure of flash lamp amount, is used as to judge the standard of photoflash lamp to the human eye extent of damage.When current reference object is infant, continue described shooting distance and the distance threshold preset to compare.When described shooting distance is less than described default distance threshold, shows that user (i.e. infant) corresponding to face information is in the stronger scope of the photoflash lamp extent of damage, then close photoflash lamp.

Alternatively, described control module 32 also comprises:

Start unit 324, for when described shooting distance is more than or equal to described distance threshold, arranging described photoflash lamp is automatic mode, and described photoflash lamp is opened automatically according to the brightness of shooting environmental.

When described shooting distance is more than or equal to described default distance threshold, show that user (i.e. infant) corresponding to face information is in the more weak scope of the photoflash lamp extent of damage, then arranging described photoflash lamp is automatic mode.

It should be noted that, device in the embodiment of the present invention may be used for the whole technical schemes realized in said method embodiment, the function of its each functional module can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in above-mentioned example, repeats no more herein.

Fig. 4 shows a kind of structured flowchart of terminal equipment, and this terminal equipment may be used for the flash lamp control method implementing to provide in above-described embodiment.

As shown in Figure 4, the parts such as terminal equipment 1200 can comprise RF (RadioFrequency, radio frequency) circuit 110, includes the memory 120 of one or more (only illustrating one in figure) computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, transport module 170, the processor 180 including more than one or one (only illustrating one in figure) process core and power supply 190.It will be understood by those skilled in the art that terminal equipment 1200 structure shown in Fig. 4 does not form the restriction to terminal equipment 1200, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:

RF circuit 110, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and the signal of telecommunication, thus carries out communication with communication network or other equipment.RF circuit 110 can comprise the various existing circuit element for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc.RF circuit 110 can with various network as the Internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or metropolitan area network.Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Codedivisionaccess, CDMA), tdma (timedivisionmultipleaccess, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceoverinternetprotocal, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.Although Fig. 4 shows RF circuit 110, be understandable that, it does not belong to must forming of terminal equipment 1200, can omit in the scope of essence not changing invention as required completely.

Memory 120 can be used for storing software program and module, program command/module as corresponding in flash lamp control method/device in above-described embodiment, processor 180 is by running the software program and module that are stored in memory 120, thus perform the application of various function and data processing, namely realize the controlling functions to photoflash lamp.Memory 120 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 120 can comprise the memory relative to the long-range setting of processor 180 further, and these remote memories can be connected to terminal equipment 1200 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.

Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.

Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal equipment 1200 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in the diagram, Touch sensitive surface 131 and display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display floater 141 integrated and realize input and output function.

Terminal equipment 1200 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal equipment 1200 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal equipment 1200 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, ultrasonic range finder sensor, do not repeat them here.

Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal equipment 1200.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal equipment 1200.

By transport module 170 (such as WiFi module), terminal equipment 1200 can help that user sends and receive e-mail, browsing page and access streaming video etc., the access of its broadband internet wireless for user provides.Although Fig. 4 shows transport module 170, be understandable that, it does not belong to must forming of terminal equipment 1200, can omit in the scope of essence not changing invention as required completely.

Processor 180 is control centres of terminal equipment 1200, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal equipment 1200, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.

Terminal equipment 1200 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.

Although not shown, terminal equipment 1200 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal equipment is touch-screen display, terminal equipment also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor state more than one or one program package containing the instruction for carrying out following operation:

After camera enters shooting preview pattern, obtain face information in the preview window and the shooting distance between user corresponding to described face information and described camera;

Control photoflash lamp according to described face information and shooting distance to open or close.

Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:

Obtain the face information in the preview window;

When there being multiple face information in described the preview window, obtain the distance of user respectively and between described camera that described multiple face information is corresponding, and using the minimum value in described distance as shooting distance.

In the third the possible execution mode provided based on the execution mode that the first is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:

Describedly control photoflash lamp according to described face information and shooting distance and open or close and comprise:

By described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant;

When the user that described face information is corresponding is infant, described shooting distance and the distance threshold preset are compared;

When described shooting distance is less than described distance threshold, then close the photoflash lamp of described camera.

In the 4th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of described terminal equipment, also comprise the instruction for performing following operation:

Describedly control photoflash lamp according to described face information and shooting distance and open or close and comprise:

By described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant;

When the user that described face information is corresponding is infant, described shooting distance and the distance threshold preset are compared;

When described shooting distance is less than described distance threshold, then close the photoflash lamp of described camera;

When described shooting distance is more than or equal to described distance threshold, arranging described photoflash lamp is automatic mode, and described photoflash lamp is opened automatically according to the brightness of shooting environmental.

In sum, the embodiment of the present invention added the automatic control process enabled photoflash lamp before camera shooting, by obtaining face information in the preview window and the shooting distance between user corresponding to described face information and described camera after entering shooting preview pattern at camera, and control photoflash lamp according to described face information and shooting distance and open or close; Thus achieve according to reference object automatically control photoflash lamp open or close; And Binding distance detection controls, and efficiently avoid the infringement of proximity lithography to reference object eyes, especially the eyes of infant while ensure that the reasonable employment scope of photoflash lamp.

Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.

Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.

In several embodiments that the application provides, should be understood that disclosed terminal equipment, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module, unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.

The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.

In addition, each functional unit in each embodiment of the present invention, module can be integrated in a processing unit, also can be that the independent physics of unit, module exists, also can two or more unit, module integration in a unit.

If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.

The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a flash lamp control method, is characterized in that, described flash lamp control method comprises:
After camera enters shooting preview pattern, obtain face information in the preview window and the shooting distance between user corresponding to described face information and described camera;
Control photoflash lamp according to described face information and shooting distance to open or close.
2. flash lamp control method as claimed in claim 1, is characterized in that, the face information in described acquisition the preview window and between user corresponding to described face information and described camera shooting distance comprise:
Obtain the face information in the preview window;
When there being multiple face information in described the preview window, obtain the distance of user respectively and between described camera that described multiple face information is corresponding, and using the minimum value in described distance as shooting distance.
3. flash lamp control method as claimed in claim 1 or 2, is characterized in that, describedly controls photoflash lamp according to described face information and shooting distance and opens or close and comprise:
By described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant;
When the user that described face information is corresponding is infant, described shooting distance and the distance threshold preset are compared;
When described shooting distance is less than described distance threshold, then close the photoflash lamp of described camera.
4. flash lamp control method as claimed in claim 3, it is characterized in that, described method also comprises:
When described shooting distance is more than or equal to described distance threshold, arranging described photoflash lamp is automatic mode, and described photoflash lamp is opened automatically according to the brightness of shooting environmental.
5. a device for controlling flashlight, is characterized in that, described device for controlling flashlight comprises:
Acquisition module, after entering shooting preview pattern when camera, obtains face information in the preview window and the shooting distance between user corresponding to described face information and described camera;
Control module, opens for controlling photoflash lamp according to described face information and shooting distance or closes.
6. device for controlling flashlight as claimed in claim 5, it is characterized in that, described acquisition module comprises:
First acquiring unit, for obtaining the face information in the preview window;
Second acquisition unit, for when there being multiple face information in described the preview window, obtains the distance of user respectively and between described camera that described multiple face information is corresponding, and using the minimum value in described distance as shooting distance.
7. the device for controlling flashlight as described in claim 5 or 6, is characterized in that, described control module comprises:
First comparing unit, for by described face information and the infant's face feature information comparison preset, to determine that whether user corresponding to described face information be for infant;
Second comparing unit, when being infant for the user corresponding when described face information, compares described shooting distance and the distance threshold preset;
Closing unit, for when described shooting distance is less than described distance threshold, then closes the photoflash lamp of described camera.
8. device for controlling flashlight as claimed in claim 7, it is characterized in that, described control module also comprises:
Start unit, for when described shooting distance is more than or equal to described distance threshold, arranging described photoflash lamp is automatic mode, and described photoflash lamp is opened automatically according to the brightness of shooting environmental.
9. a terminal equipment, is characterized in that, lamp control device is closed in the sudden strain of a muscle that described equipment comprises as described in any one of claim 5 to 8.
10. terminal equipment as claimed in claim 9, it is characterized in that, described terminal equipment is smart mobile phone, panel computer or digital camera.
CN201510532594.5A 2015-08-26 2015-08-26 Flashlight control method, flashlight control device and terminal equipment CN105141854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510532594.5A CN105141854A (en) 2015-08-26 2015-08-26 Flashlight control method, flashlight control device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510532594.5A CN105141854A (en) 2015-08-26 2015-08-26 Flashlight control method, flashlight control device and terminal equipment

Publications (1)

Publication Number Publication Date
CN105141854A true CN105141854A (en) 2015-12-09

Family

ID=54727052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510532594.5A CN105141854A (en) 2015-08-26 2015-08-26 Flashlight control method, flashlight control device and terminal equipment

Country Status (1)

Country Link
CN (1) CN105141854A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787409A (en) * 2016-02-20 2016-07-20 深圳市欣视景科技股份有限公司 Express delivery package identification code scanner
CN105791583A (en) * 2016-04-12 2016-07-20 捷开通讯(深圳)有限公司 Mobile terminal flash lamp control method and mobile terminal
CN105791681A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106131424A (en) * 2016-07-26 2016-11-16 维沃移动通信有限公司 A kind of method and apparatus of shooting
CN106357986A (en) * 2016-09-26 2017-01-25 维沃移动通信有限公司 Soft-light lamp brightness control method and electronic equipment
WO2018133202A1 (en) * 2017-01-22 2018-07-26 华为技术有限公司 Flash light prompt method and terminal device
CN109040541A (en) * 2018-07-20 2018-12-18 努比亚技术有限公司 Terminal flash lamp uses control method, terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100317298A1 (en) * 2008-01-31 2010-12-16 Telefonaktiebolaget L M Ericsson (Publ) Method and Arrangement for Assisting in Direction Adjustment of a Directional Antenna
CN103916579A (en) * 2012-12-30 2014-07-09 联想(北京)有限公司 Image capturing method, apparatus, and electronic equipment
CN104506778A (en) * 2014-12-22 2015-04-08 厦门美图之家科技有限公司 Flashlight control method and device based on age estimation
CN104754219A (en) * 2015-03-10 2015-07-01 深圳市金立通信设备有限公司 Terminal
CN104754203A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Photographing method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100317298A1 (en) * 2008-01-31 2010-12-16 Telefonaktiebolaget L M Ericsson (Publ) Method and Arrangement for Assisting in Direction Adjustment of a Directional Antenna
CN103916579A (en) * 2012-12-30 2014-07-09 联想(北京)有限公司 Image capturing method, apparatus, and electronic equipment
CN104754203A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Photographing method, device and terminal
CN104506778A (en) * 2014-12-22 2015-04-08 厦门美图之家科技有限公司 Flashlight control method and device based on age estimation
CN104754219A (en) * 2015-03-10 2015-07-01 深圳市金立通信设备有限公司 Terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787409A (en) * 2016-02-20 2016-07-20 深圳市欣视景科技股份有限公司 Express delivery package identification code scanner
CN105791681B (en) * 2016-02-29 2019-05-03 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN105791681A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN105791583A (en) * 2016-04-12 2016-07-20 捷开通讯(深圳)有限公司 Mobile terminal flash lamp control method and mobile terminal
CN106131424A (en) * 2016-07-26 2016-11-16 维沃移动通信有限公司 A kind of method and apparatus of shooting
CN106357986A (en) * 2016-09-26 2017-01-25 维沃移动通信有限公司 Soft-light lamp brightness control method and electronic equipment
CN106357986B (en) * 2016-09-26 2019-07-26 维沃移动通信有限公司 A kind of soft light brightness control method and electronic equipment
WO2018133202A1 (en) * 2017-01-22 2018-07-26 华为技术有限公司 Flash light prompt method and terminal device
CN109040541A (en) * 2018-07-20 2018-12-18 努比亚技术有限公司 Terminal flash lamp uses control method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
AU2018200188B2 (en) Side menu displaying method and apparatus and terminal
CN103500002B (en) The method of application program management, device and terminal unit
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN105306682B (en) The method and device of network connection switch is automatically closed
CN104383681B (en) Method for controlling game program, device and mobile terminal
US20190205623A1 (en) Facial tracking method and apparatus, and storage medium
US20170078561A1 (en) Method for controlling cameras, storage medium and terminal
CN103632165B (en) A kind of method of image procossing, device and terminal device
JP6076501B2 (en) Method, apparatus, facility, system, program, and recording medium for controlling on / off of wireless network
CN103501333A (en) Method, device and terminal equipment for downloading files
CN103413270A (en) Method and device for image processing and terminal device
CN105323378A (en) Mobile terminal and controlling method thereof
CN106055408B (en) A kind of application control method and mobile terminal
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN103472906A (en) Method and device for switching double screens of terminal, and terminal equipment
CN103399633B (en) A kind of wireless remote control method and mobile terminal
CN103458124B (en) A kind of shutdown processing method of terminal, device and terminal equipment
CN106096360B (en) A kind of solution lock control method and terminal device
CN103400108A (en) Face identification method and device as well as mobile terminal
CN204886955U (en) Antenna device and mobile terminal
CN103607713A (en) Method, apparatus, device and system for network access
CN106055364A (en) Application starting method and terminal equipment
CN103414814A (en) Picture processing method and device and terminal device
CN106357897A (en) Fall information acquiring method and device
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal

Legal Events

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

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication